Friday, 2020-06-12

*** Goneri has quit IRC00:09
*** rlandy has quit IRC00:42
*** Goneri has joined #zuul01:01
*** vblando has quit IRC01:11
*** ChrisShort has quit IRC01:13
*** samccann has quit IRC01:13
*** swest has quit IRC01:14
*** vblando has joined #zuul01:19
*** mnasiadka has quit IRC01:19
*** ChrisShort has joined #zuul01:22
*** samccann has joined #zuul01:22
*** mnasiadka has joined #zuul01:22
*** swest has joined #zuul01:28
*** Goneri has quit IRC02:55
*** bhavikdbavishi has joined #zuul03:35
*** evrardjp has quit IRC04:33
*** evrardjp has joined #zuul04:33
*** wuchunyang has joined #zuul04:36
*** decimuscorvinus has quit IRC04:38
*** bhavikdbavishi has quit IRC04:47
*** bhavikdbavishi has joined #zuul04:48
*** decimuscorvinus has joined #zuul04:48
*** wuchunyang has quit IRC05:15
*** sgw has quit IRC05:44
*** bhavikdbavishi1 has joined #zuul06:01
*** dustinc has quit IRC06:02
*** bhavikdbavishi has quit IRC06:03
*** bhavikdbavishi1 is now known as bhavikdbavishi06:03
*** bhavikdbavishi has quit IRC06:46
*** yolanda has quit IRC07:31
*** bhavikdbavishi has joined #zuul07:36
*** threestrands has quit IRC07:41
*** hashar has joined #zuul07:56
*** iurygregory has joined #zuul07:59
*** iurygregory has quit IRC08:02
*** tosky has joined #zuul08:04
*** bhavikdbavishi has quit IRC08:24
*** bhavikdbavishi has joined #zuul08:33
*** ianychoi__ has quit IRC08:38
*** bhavikdbavishi has quit IRC08:48
*** harrymichal has joined #zuul08:57
*** leoluk has joined #zuul09:04
*** bhavikdbavishi has joined #zuul09:34
*** donnyd has joined #zuul09:37
openstackgerritAlbin Vass proposed zuul/nodepool master: WIP: aws: add support for uploading diskimages  https://review.opendev.org/73521710:14
openstackgerritAlbin Vass proposed zuul/nodepool master: aws: add support for attaching instance profiles  https://review.opendev.org/73477410:23
*** wuchunyang has joined #zuul10:54
*** wuchunyang has quit IRC10:58
*** bhavikdbavishi has quit IRC11:12
*** wuchunyang has joined #zuul11:26
*** hashar has quit IRC11:45
*** bhavikdbavishi has joined #zuul11:47
*** rfolco|rover has joined #zuul11:51
*** bhavikdbavishi has quit IRC11:53
*** wuchunyang has quit IRC12:01
*** wuchunyang has joined #zuul12:33
openstackgerritAlbin Vass proposed zuul/nodepool master: WIP: aws: add support for uploading diskimages  https://review.opendev.org/73521712:59
*** wuchunyang has quit IRC13:02
*** bhavikdbavishi has joined #zuul13:08
*** rfolco|rover has quit IRC13:11
*** bhavikdbavishi has quit IRC13:36
avasscorvus: thanks for catching the arn/name exlusivity for instance profiles yesterday, the change should be ready now: https://review.opendev.org/#/c/734774/ :)13:57
avasscorvus: tested it by launching an instance with boto3 against a vpc I set up :)13:57
openstackgerritGuillaume Chauvel proposed zuul/zuul-jobs master: ensure-tox: Avoid Reinstalling tox venv if present  https://review.opendev.org/73533913:58
openstackgerritGuillaume Chauvel proposed zuul/zuul-jobs master: ensure-twine: Avoid Reinstalling twine if present  https://review.opendev.org/73534013:58
avasscorvus: uh, I guess I could build nodepool from that and test it as well to be extra sure that everything works :)14:00
corvusavass: if you decide to do that, what i like to do is just set up a single launcher with a min-ready of 1 for a label, then watch it create a server.  if i need to iterate, i just 'nodepool delete' that server and let it launch again.  then min-ready:0 and delete a final time to clean up.14:05
corvusavass: also, yay, code review works :)  it's a bummer about moto not having that yet.14:05
avasscorvus: I also created an issue to hopefully get someone working on it: https://github.com/spulec/moto/pull/3064#issuecomment-642423395 but I'll have to update that test case :)14:07
avasscorvus: yeah, that sounds like a good idea, I'm planning on testing nodepool-builder with aws later anyway, so I'll get back to you when I've tested it :)14:08
avassgoing to the gym for now, I'll check in later14:09
*** sgw has joined #zuul14:38
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Add test-build-container-image-release job  https://review.opendev.org/73524914:44
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Add test-build-container-image-release job  https://review.opendev.org/73524915:41
*** harrymichal has quit IRC16:01
*** harrymichal has joined #zuul16:18
*** bhavikdbavishi has joined #zuul16:51
*** irclogbot_2 has quit IRC18:29
*** irclogbot_0 has joined #zuul18:34
*** rfolco|rover has joined #zuul18:39
*** ysandeep|away is now known as ysandeep18:39
openstackgerritSagi Shnaidman proposed zuul/zuul-jobs master: Add jobs for testing ensure-ansible  https://review.opendev.org/73458418:39
*** rfolco|rover has quit IRC18:49
*** ysandeep is now known as ysandeep|away19:06
avasscorvus: 734774 works :)19:16
openstackgerritMatthieu Huin proposed zuul/zuul master: web UI: user login with OpenID Connect  https://review.opendev.org/73408219:19
avassmordred: 734774 is working, I set up nodepool-launcher from that change as launched a node to make sure it starts with the instance profile19:20
corvusmordred, avass, clarkb, fungi: could we land https://review.opendev.org/735249 soonish so i can re-run the tag jobs to try to get tagged docker images?19:55
fungisure, looking now19:55
clarkbcorvus: does change_url exist if change doesn't? looking at https://review.opendev.org/#/c/735249/4/roles/build-docker-image/tasks/build.yaml19:56
corvusclarkb: yes it does.  it's poorly named.19:56
fungithere are some alternative values stored in it depending on what the trigger provides19:56
corvuspoints to the tag in gitea in our case19:56
*** bhavikdbavishi has quit IRC20:02
avasscorvus: looking20:03
fungiavass: i had approved it, but i've undone my workflow +1 just now, feel free to approve it yourself if you're comfortable with it20:05
avasscorvus: just a small thing, it looks like it supports both docker and the container roles (podman) but there's only a test job for for docker20:14
avasscorvus: I'm guessing it's to make it easier to re-user it later20:14
corvusavass: yes -- most of that is copied from existing test jobs.  we only need the docker support to get our zuul images published.  i want to prioritize that, but it would be more effort to remove the podman stuff from the tests, so i left it in for future expansion.20:16
avassalright, I think it looks alright then, just trying to understand why it looks like that :)20:17
avassbut that's something that could be a bit confusing later, since it looks like there should be something that is testing it with the 'container' roles but there isn't20:19
openstackgerritMerged zuul/zuul-jobs master: Add test-build-container-image-release job  https://review.opendev.org/73524920:28
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is going offline momentarily at 21:00 UTC for project rename maintenance, but should return within a few minutes: http://lists.opendev.org/pipermail/service-announce/2020-June/000004.html20:58
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Fix upload-docker-image when in release pipeline  https://review.opendev.org/73539320:58
*** paladox has quit IRC21:28
*** paladox has joined #zuul21:33
corvusmordred: can you +3 https://review.opendev.org/735393 when you have a sec?21:43
mordredcorvus: I can!21:44
mordredcorvus: done. also - exciting21:44
*** y2kenny has joined #zuul21:44
corvusmordred: yeah, we got really close to uploading :)21:44
mordredcorvus: I think close is good enough21:45
mordredcorvus: it's the thought that counts, right?21:45
mordredcorvus: I almost landed a patch earlier today in cliff - but didnt' because a library it subclasses has a new version that has a docstring on a method in a class that sphinx in cliff finds and complains about21:46
mordredcorvus: I *definitely* think it's awesome that sphinx on cliff complains about the content in a parent class that isn't in the source tree, don't you?21:46
clarkbnova's gate is broken beacuse xetex can't emit a pdf doc file due to an input file being too large?21:46
mordredclarkb: that doesn't seem awesome.21:46
corvusclarkb: right channel?21:47
avasscorvus, mordred: that doesn't look too hard to set up tests for if we just add a flag to use a self hosted repository to login to21:47
mordredclarkb: where is that being discussed?21:47
corvusavass: yeah, we could probably do that;  we do similar for the registry roles21:47
clarkbcorvus: I just wanted to commiserate the sphinx problems21:47
corvusclarkb: oh, well, i'm confused because that problem has been solved for nova before21:48
y2kennyFor nodepool, if I see CleanupWorker stuck looping between "Cleaning up held nodes" and "Cleaning up empty nodes", what might that indicate?  (I am pretty sure it's my custom driver causing problem but I am not sure where to start to debug this.)21:48
corvusy2kenny: that might be normal21:49
corvusy2kenny: it's a daemon thread that wakes up every minute or so and does that loop21:49
y2kennycorvus: um... interesting... ok then my test must be timing out for other reasons.  This is good to know.  Thanks :)21:50
y2kennycorvus: actually... what if those message comes up like 4 times a seconds... that's too much right?21:53
corvusy2kenny: in a unit test?  maybe not,  we reduce the delay in that case to make the tests run faster21:55
y2kennycorvus: oh ok... yes it is a unit test21:55
openstackgerritMerged zuul/zuul-jobs master: Fix upload-docker-image when in release pipeline  https://review.opendev.org/73539321:56
-openstackstatus- NOTICE: gerrit is being taken offline for emergency cleanup, will return to service again shortly22:00
y2kennycorvus: one more question... is the idea of node for nodepool supposed to exist before the associated resources is created?  Is that the reason why the static driver is tricky?  there is a coupling between the node and the server?22:05
corvusy2kenny: exactly22:06
y2kennyI have been comparing the k8s driver and the static driver.  The creation of node to be stored in zk seems to be the main difference.  For k8s driver, the node is always created at launch22:06
corvusy2kenny: we create a node when we decide to create a remote resource, then we fill in the remote info when it exists22:06
y2kennybut for static, the node is created when the static server is registered22:06
y2kennyok... so what nodepool does in terms of scheduling is really just about the label...22:07
y2kennyand for this label I can pick from this pool22:08
y2kennybut then it's not clear to me what listNode really does...22:08
y2kennyso in general there's really no constraint to nodepool scheduling?22:09
y2kennyI feel like I am missing something22:09
y2kennycorvus: is min-ready/max-ready the only constraint that nodepool care about?22:11
clarkby2kenny: some of the drivers look at quotas too22:12
clarkby2kenny: openstack does for sure and it will stop booting things if the cloud reports it will be oever quota22:13
y2kennyclarkb: how does quota information get communicated to nodepool?22:13
y2kennyclarkb: what I am really confuse about is how listNode doesn't take in pool as argument22:14
SpamapSAWS has some things to prevent going over limits.22:14
clarkbit periodically asks the cloud for that information, and uses its local records to estimate values from there22:14
clarkbit also does a forced recalculation if the cloud reports ndoepool is over the limit but nodepool thinks it isn't22:14
y2kennyclarkb: is the report done via listNodes or another interface?22:15
clarkbits via the give me my usage api ( I forget the exact name )22:15
y2kennyhasRemainingQuota?22:16
y2kennyhasProviderQuota?22:16
SpamapS(just max-servers though)22:17
clarkbya hasRemainingQuota is meant to provide a true false based on what nodepool knows22:17
y2kennyand node_types == labels?22:17
clarkband there is a quota cache invalidation that happens if we get an exception due to hitting quota from the cloud22:18
y2kennynode_types/ntype22:18
clarkbyes I think so22:20
y2kennyclarkb: can you describe the usage for listNodes()?  I read the devguide description but I don't quite understand its use.  Does it just list all resources available by a provider across all pool?22:21
y2kennyoh wait... I think I may get it now... it's the static driver that's throwing me off22:21
y2kenny"existing resource" == anything that launched by nodepool... I probably confused by the languge because for static, existing resources are configured resources22:22
*** harrymichal has quit IRC22:31
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add tests for upload-docker-image  https://review.opendev.org/73540222:42
avassmordred, corvus: I'm thinking something like that ^ :)22:42
avassfeel free to continue on that. it's getting late so I'm quitting for tonight :)22:42
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is available again22:50
*** tosky has quit IRC23:25
*** armstrongs has joined #zuul23:38
*** armstrongs has quit IRC23:47

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!