Thursday, 2017-10-12

*** gouthamr has joined #openstack-shade00:24
*** larainema has joined #openstack-shade01:42
*** gouthamr has quit IRC02:31
*** gouthamr has joined #openstack-shade03:12
*** gkadam has joined #openstack-shade04:09
*** gouthamr has quit IRC04:56
*** gkadam_ has joined #openstack-shade05:38
*** gkadam has quit IRC05:40
*** gkadam__ has joined #openstack-shade05:40
*** gkadam__ has quit IRC05:42
*** gkadam_ has quit IRC05:43
*** gkadam has joined #openstack-shade05:43
*** gkadam has quit IRC06:40
*** gkadam has joined #openstack-shade06:42
*** slaweq has joined #openstack-shade07:01
*** ioggstream has joined #openstack-shade07:15
*** gkadam is now known as gkadam-afk07:24
*** gkadam-afk has quit IRC08:28
*** gkadam has joined #openstack-shade08:31
*** gkadam_ has joined #openstack-shade09:36
*** gkadam has quit IRC09:38
*** thingee has quit IRC10:28
*** gkadam_ has quit IRC12:46
*** gouthamr has joined #openstack-shade13:49
-openstackstatus- NOTICE: Job log uploads are failing due to lack of inodes. Jobs also fail due to mismatches in gnutls packages. Workarounds for both in progress with proper fixes to follow.14:55
*** ChanServ changes topic to "Job log uploads are failing due to lack of inodes. Jobs also fail due to mismatches in gnutls packages. Workarounds for both in progress with proper fixes to follow."14:55
Shrewsmordred: so, umm... haven't been in actual shade code for a while due to zuulv3 things, but, what's the deal with this test? http://git.openstack.org/cgit/openstack-infra/shade/tree/shade/tests/functional/test_image.py#n3216:10
Shrewsi guess the test is that it doesn't throw any exceptions.  :/16:11
Shrewsalso, http://git.openstack.org/cgit/openstack-infra/shade/tree/shade/openstackcloud.py#n4719 seems to be broken when using tasks for image upload because status is a list in that case. our unit test only assumes a dict16:12
Shrewsmordred: i have NO idea how any images are being uploaded to rax, atm, because image uploads are continually failing16:12
Shrewsmordred: also, what I find REALLY confusing, after looking at nodepool builder logs, is that we attempt to upload for hours until it finally succeeds. The fact that it ever succeeds (meaning that error is not encountered somehow?) is amazing and perplexing16:25
Shrewspabelanger: ^^^ likely the reason why we see slooooooow uploads16:26
Shrewsmordred: so do we need to check if 'status' in the 'status.status' check is a list? I'm a bit confused on what's being returned from the REST call16:27
Shrewsis the /tasks/{id} return sometimes a list, sometimes a dict?16:28
mordredShrews: hrm. that's an interesting question ... and I agree, I'm not sure how that is working - or honestly how it's passing unit tests16:38
mordredShrews: oh - I think I see how it's passing unit tests ... line 339 in shade/tests/unit/test_image.py16:39
mordredsorry 34216:39
Shrewsmordred: http://paste.openstack.org/show/623475/16:39
mordredyah16:39
Shrewsmordred: yeah, our 'args' is a dict16:39
Shrewswe don't have a test for the [args] case16:40
mordredwell, that should never be a thing16:40
mordredstatus = self._get_and_munchify('images', data=data)16:40
mordredis what's wrong16:40
Shrewsbut that can return a list16:40
Shrewsof munches16:40
Shrewsif data is a list, it returns a list16:40
mordredright - but only bcause 'images' isn't a key16:40
mordredso result = data.get(key, []) if key else data16:40
mordredin get_and_munchify16:41
mordredis causing [] to be returned16:41
mordredhttps://developer.openstack.org/api-ref/image/v2/index.html#show-task-details16:41
Shrewsah16:41
mordredGET /tasks/{id} returns a bare dict16:41
Shrewsoh look, they finally have task docs16:41
SamYaplehaha16:42
SamYapleyea i was suprised that no one knew about tasks for a long time16:42
SamYaplei told #infra about tasks and no one had heard of them. threw me for a loop16:42
mordredShrews: so I think the issue is that get_and_munchify call - it should be key=None - or honestly just meta.obj_to_munch(data)16:43
mordredShrews: OR - we never return that status to anyone there - so we can skip the munch call altogether16:43
Shrewsmordred: i wonder why it sometimes works? that bothers me16:45
mordredShrews: yah - me too16:45
mordredShrews: unless by "work" what we mean is that the *initial* attempt to import the image eventually works - and we notice that eventually with get_image calls on the retry of theupload16:46
mordredand all of our polling of task status is bong in the mean time and we create a bunch of duplicate task imports that all are bong16:46
Shrewspossibly16:46
mordredbut since we don't ever re-upload the object to swift - nor do we have a way to cancel the initial task16:46
mordredthe initial task will eventually result in an image with the name we wanted16:47
Shrewsmordred: so is the unit test wrong returning json keyed by 'images'?16:49
mordredShrews: yup. so something like this: http://paste.openstack.org/show/623476/ perhaps16:50
Shrewsmordred: i would readily approve such a change16:51
mordredShrews: WELL - we may need to figure out why the shade gate is unhappy too16:51
Shrewsugh16:51
mordredShrews: which I've been deferring until post-v3 rollout16:52
Shrewsoh my. that's a lot of -1's  :(16:52
mordredyah16:52
mordredShrews: I think it may be related to that os_image error that snuck in to ansible upstream16:53
mordredShrews: yah- I think that's the case - let me update the 'disable volume tests for now' patch to also disable os_image tests for now16:56
mordredShrews: then we can get the image fix in, cut a release, and circle back on os_image and the volume deleting issue16:57
Shrewsnod16:57
openstackgerritMonty Taylor proposed openstack-infra/shade master: Temporarily disable volume and os_image functional tests  https://review.openstack.org/50815617:15
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix image task uploads  https://review.openstack.org/51153217:15
*** slaweq_ has joined #openstack-shade17:23
*** slaweq_ has quit IRC17:24
*** thrash is now known as thrash|biab17:45
*** slaweq_ has joined #openstack-shade17:55
*** ioggstream has quit IRC18:19
*** thrash|biab is now known as thrash18:21
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix image task uploads  https://review.openstack.org/51153218:38
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add group parameter to create_server  https://review.openstack.org/51130518:38
openstackgerritMonty Taylor proposed openstack-infra/shade master: Image should be optional  https://review.openstack.org/51129918:42
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add method to set bootable flag on volumes  https://review.openstack.org/50247918:42
openstackgerritMonty Taylor proposed openstack-infra/shade master: Allow domain_id for roles  https://review.openstack.org/49699218:42
openstackgerritMonty Taylor proposed openstack-infra/shade master: Move role normalization to normalize.py  https://review.openstack.org/50017018:42
openstackgerritMerged openstack-infra/shade master: Temporarily disable volume and os_image functional tests  https://review.openstack.org/50815618:52
*** slaweq_ has quit IRC18:59
*** slaweq_ has joined #openstack-shade19:03
*** slaweq_ has quit IRC19:06
*** slaweq_ has joined #openstack-shade19:06
*** gouthamr has quit IRC19:15
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Image should be optional  https://review.openstack.org/51129919:34
Shrewsmordred: ^^^ fixed the test failure for you. 'group' was getting defined by a for loop above19:34
Shrewsoh dang. i fixed it on the wrong review19:35
Shrews*sigh*19:36
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Add group parameter to create_server  https://review.openstack.org/51130519:37
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Image should be optional  https://review.openstack.org/51129919:37
Shrewshrm, guess i could have fixed the 'payload' thing too. wanna make sure what you intended there, first19:39
mordredShrews: thanks! and yes - s/payload/kwargs/ is totally correct19:44
openstackgerritMerged openstack-infra/shade master: Fix image task uploads  https://review.openstack.org/51153220:04
*** gouthamr has joined #openstack-shade20:16
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Add method to set bootable flag on volumes  https://review.openstack.org/50247920:45
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Add group parameter to create_server  https://review.openstack.org/51130520:47
Shrewsmordred: k, fixed the var name ^^^20:47
mordredShrews: thank you20:47
Shrewsalmost approved things too fast there :/20:48
Shrewsit's dependents will need a rebase b/c i'm lazy20:49
pabelangerShrews: mordred: http://paste.openstack.org/show/623499/20:56
pabelangerfigured I post here about shade errors I am seeing in nodepool20:57
pabelangersome reason, we have multiple matches on an image20:57
mordredpabelanger: that's likely because of the other issue20:58
Shrewspabelanger: i'm guess that may be due to that bug i found earlier20:58
Shrewsyeah20:58
pabelangerkk20:58
pabelangerI'll try to manually delete20:58
pabelangeror atleast see what images are there20:58
Shrewspabelanger: they might be stacked up. curious to know what you find20:59
pabelangerShrews: mordred: we have indeed leaked some uploads: https://pastebin.com/raw/2LwNvAEg21:05
Shrewswheeeeeee21:05
pabelangeronce the fires are out, we should for loop openstack delete there21:06
Shrewsmordred: fyi for us later, we should find out why brctl is not found in: http://logs.openstack.org/05/511305/4/check/gate-dsvm-nodepool-src-old-nv/ac27af1/console.html#_2017-10-12_20_57_25_20112321:06
mordredShrews: that just means the script failed before it got far enough to install brctl21:06
mordredpabelanger: we can write a quick little shade script for that :)21:07
Shrewsoh, the real error is above21:07
ShrewsERROR: branch not allowed by features matrix: 0.2.021:07
pabelangermordred: yah21:07
*** gouthamr has quit IRC21:13
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Image should be optional  https://review.openstack.org/51129921:40
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Add method to set bootable flag on volumes  https://review.openstack.org/50247921:40
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Allow domain_id for roles  https://review.openstack.org/49699221:41
Shrewsmordred: the server group change is almost through gate. rebased the others21:42
Shrewsmordred: going to let you poke at https://review.openstack.org/496992 since you had comments about it before21:42
Shrewsbut it lgtm21:43
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Move role normalization to normalize.py  https://review.openstack.org/50017021:43
mordredShrews: thank you for shepherding those21:44
Shrewsnp21:44
*** slaweq_ has quit IRC21:50
*** gouthamr has joined #openstack-shade21:55
openstackgerritMerged openstack-infra/shade master: Add group parameter to create_server  https://review.openstack.org/51130522:10
*** gouthamr has quit IRC22:30
*** ChanServ changes topic to "#openstack-shade"23:04
-openstackstatus- NOTICE: Workarounds are in place for libcurl and similar dependency errors due to stale ubuntu mirroring, and for POST_FAILURE results stemming from runaway inode utilization on the logs site; feel free to recheck failing changes for either of these problems now23:04
openstackgerritMerged openstack-infra/shade master: Image should be optional  https://review.openstack.org/51129923:06
openstackgerritMerged openstack-infra/shade master: Add method to set bootable flag on volumes  https://review.openstack.org/50247923:07
openstackgerritMerged openstack-infra/shade master: Allow domain_id for roles  https://review.openstack.org/49699223:07
openstackgerritMerged openstack-infra/shade master: Move role normalization to normalize.py  https://review.openstack.org/50017023:07
SamYaplemordred: can we expect a 1.24.0 soon?23:24
mordredSamYaple: working on releasing it right now23:32
mordredSamYaple: might be morning before it exists23:32
*** gouthamr has joined #openstack-shade23:46
SamYapleno problem. i wont start to work on pulling it in until monday23:47

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!