Friday, 2021-05-07

rm_workeugh, the switch to SDK for image-v2 broke --tag lookup :(00:19
rm_workhttps://github.com/openstack/python-openstackclient/commit/60e7c51df4cf061ebbb435a959ad63c7d3a296bf#diff-9c3c9b14e60641cabdf48b609e17c7f8244d4d6ccada0c13a690d05f96e992ea00:19
rm_workhttp://paste.openstack.org/show/805014/00:22
rm_workahhh I guess the actual issue is here: https://review.opendev.org/c/openstack/openstacksdk/+/78982700:23
rm_workso, need that merged, in the meantime SDK is broken for image tag lookup00:25
*** enriquetaso has joined #openstack-sdks00:34
rm_workoh right, I'm sdk core <_<00:38
*** gtema has joined #openstack-sdks01:03
*** gtema has quit IRC01:08
*** __ministry has joined #openstack-sdks01:15
*** enriquetaso has quit IRC01:41
*** evrardjp has quit IRC02:33
*** evrardjp has joined #openstack-sdks02:33
*** LinPeiWen42 has quit IRC02:57
openstackgerritMerged openstack/openstacksdk master: Revert tags query_params back to tag  https://review.opendev.org/c/openstack/openstacksdk/+/78982703:57
*** Hybrid512 has quit IRC05:06
fricklerrm_work: noonedeadpunk: ^^ that patch still failed the osc job, but with a later failure iiuc https://zuul.opendev.org/t/openstack/build/acbfd94f7a0148668356046f6f0a3be205:07
rm_workhmmmm05:07
frickleralso I guess we'd still need a release in order to unblock osc05:07
rm_workit resolved the problem entirely in my testbed05:07
fricklerrm_work: there's also a related osc patch https://review.opendev.org/c/openstack/python-openstackclient/+/78983805:09
*** udesale has joined #openstack-sdks05:14
rm_workok05:14
rm_workthat's probably good, though my concern was with resolving a regression ASAP05:14
rm_worksince it was breaking pipelines05:14
rm_work(we have pipelines that run with the newest client from git, and used image selection by tag)05:15
*** LinPeiWen has joined #openstack-sdks05:21
fricklerrm_work: yes, I'm all for fixing regression first, it's just that with that test result I'm not sure whether the fix is actually complete. hopefully the recheck I just did on the osc patch will show this in the tips job05:37
*** Luzi has joined #openstack-sdks05:41
*** ralonsoh has joined #openstack-sdks05:46
*** ysandeep|away is now known as ysandeep06:02
*** slaweq has joined #openstack-sdks06:05
*** udesale has quit IRC06:29
fricklerrm_work: noonedeadpunk: that error seems to persist, so to me the fix looks incomplete. b"tag unset failed, '01' is a nonexistent tag \nFailed to unset 1 of 1 tags.\n" https://zuul.opendev.org/t/openstack/build/2e3fef6b75dc47fc93a3368393aaf01e06:43
*** gtema has joined #openstack-sdks07:04
*** rpittau|afk is now known as rpittau07:05
*** Hybrid512 has joined #openstack-sdks07:24
*** tosky has joined #openstack-sdks07:48
fricklero.k., I can reproduce that error locally and now it really looks like a regression in glance to me, which returns 404 for the API call. we might want to improve on the error message, though07:56
*** dtantsur|afk is now known as dtantsur07:58
fricklergtema: ^^ FYI still some issue remaining with the image tags after the sdk fix merged07:59
frickleroh, actually the 404 is only on the second attempt, when the tag has indeed been removed already08:00
fricklerseems we interpret the 204 which we get on successful delete as error08:00
*** jpich has joined #openstack-sdks08:00
gtemalogs please08:01
fricklerhttp://paste.openstack.org/show/805024/08:01
fricklergtema: was already on it ;)08:01
fricklergtema: if you missed the earlier conversation, this is where noonedeadpunk's patch still failed the osc job https://zuul.opendev.org/t/openstack/build/acbfd94f7a0148668356046f6f0a3be208:02
*** dansmith has quit IRC08:08
*** dansmith has joined #openstack-sdks08:09
fricklerhumm, the error is even weirder. "'NoneType' object has no attribute 'remove'" is what I get if I print the exception in https://opendev.org/openstack/python-openstackclient/src/branch/master/openstackclient/image/v2/image.py#L121408:12
gtemaI do not see immediately a bug. 204 is not treated like an error. It looks like something else is throwing this exception.08:14
gtemaif you are on it - can you look on what the Exception https://opendev.org/openstack/python-openstackclient/src/branch/master/openstackclient/image/v2/image.py#L1215 really is?08:14
*** LinPeiWen has quit IRC08:16
*** ysandeep is now known as ysandeep|lunch08:17
fricklergtema: that's the full traceback I get http://paste.openstack.org/show/805025/ . I need to do some other stuff now, can hopefully continue later if needed08:17
*** LinPeiWen70 has joined #openstack-sdks08:39
*** jpich has quit IRC09:20
*** jpich has joined #openstack-sdks09:20
*** ysandeep|lunch is now known as ysandeep10:06
*** brinzhang_ has quit IRC10:11
*** Luzi has quit IRC10:41
*** gtema has quit IRC10:53
*** gtema has joined #openstack-sdks10:53
*** Luzi has joined #openstack-sdks10:56
openstackgerritRiccardo Pittau proposed openstack/openstacksdk master: Fix import order in message and workflow unit tests  https://review.opendev.org/c/openstack/openstacksdk/+/79021911:00
*** gtema has quit IRC11:06
*** gtema has joined #openstack-sdks11:11
*** gtema has quit IRC11:37
*** gtema has joined #openstack-sdks11:41
openstackgerritDr. Jens Harbott proposed openstack/openstacksdk master: Revert overwriting tags for the imagev2 resource  https://review.opendev.org/c/openstack/openstacksdk/+/79022911:49
fricklergtema: noonedeadpunk: ^^ that's what came out of my testing, not sure whether that is the correct way forward, but if fixes the test cases for me11:50
fricklers/if/it11:50
*** udesale has joined #openstack-sdks11:51
gtemathat's not correct way, since in this case fetching tags info will/may not properly work11:51
gtemamost likely https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/resource.py#L2058 should be copied into the https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/image/v2/image.py and https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/resource.py#L2076 (updating attribute) removed11:54
gtemamaybe even completely 2069-2078 removed11:54
fricklero.k., then someone else needs to take this over. the revert would at least unblock osc and consumers11:55
gtemawill try to find time in the upcoming days11:56
*** cenne is now known as cenn11:59
*** ysandeep is now known as ysandeep|brb12:05
*** __ministry has quit IRC12:12
*** brinzhang has joined #openstack-sdks12:14
*** ysandeep|brb is now known as ysandeep12:29
*** enriquetaso has joined #openstack-sdks13:27
*** jpich has quit IRC13:37
*** jpich has joined #openstack-sdks13:38
*** whoami-rajat has joined #openstack-sdks13:39
*** gtema has quit IRC13:46
*** gtema has joined #openstack-sdks13:47
*** Luzi has quit IRC14:00
*** __ministry has joined #openstack-sdks14:22
*** rpittau is now known as rpittau|afk14:29
*** gtema has quit IRC14:53
*** gtema has joined #openstack-sdks14:54
*** jpich has quit IRC15:08
*** jpich has joined #openstack-sdks15:08
*** gtema has quit IRC15:45
*** gtema has joined #openstack-sdks15:45
*** ysandeep is now known as ysandeep|away16:01
*** jpich has quit IRC16:04
*** sum12- has joined #openstack-sdks16:19
*** sum12 has quit IRC16:19
*** dtantsur is now known as dtantsur|afk17:12
*** udesale has quit IRC17:32
*** ralonsoh has quit IRC17:34
*** gtema has quit IRC17:53
*** brinzhang_ has joined #openstack-sdks17:53
*** brinzhang has quit IRC17:56
*** __ministry has quit IRC18:09
*** knikolla has quit IRC18:32
*** lxkong has quit IRC18:32
*** knikolla has joined #openstack-sdks18:35
*** lxkong has joined #openstack-sdks18:35
openstackgerritPolina Gubina proposed openstack/openstacksdk master: Add IPsecSiteConnection resource and proxy layer functionality for it  https://review.opendev.org/c/openstack/openstacksdk/+/78847419:26
openstackgerritPolina Gubina proposed openstack/openstacksdk master: Add IPsecSiteConnection resource and proxy layer functionality for it  https://review.opendev.org/c/openstack/openstacksdk/+/78847419:33
*** efried has quit IRC20:00
*** efried has joined #openstack-sdks20:00
*** artom has quit IRC20:01
*** artom has joined #openstack-sdks20:02
*** Hybrid512 has quit IRC23:06
*** tosky has quit IRC23:08
*** enriquetaso has quit IRC23:32

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