Wednesday, 2021-05-05

*** dave-mccowan has quit IRC00:08
*** dave-mccowan has joined #openstack-sdks00:10
*** tkajinam has joined #openstack-sdks01:13
*** evrardjp has quit IRC02:33
*** evrardjp has joined #openstack-sdks02:33
openstackgerrit江治林 proposed openstack/keystoneauth master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/keystoneauth/+/78969902:45
openstackgerrit江治林 proposed openstack/keystoneauth master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/keystoneauth/+/78969902:46
*** enriquetaso has quit IRC03:26
*** ralonsoh has joined #openstack-sdks06:11
*** whoami-rajat has joined #openstack-sdks06:18
*** slaweq has joined #openstack-sdks06:26
openstackgerritYuehuiLei proposed openstack/python-openstackclient master: setup.cfg: Replace dashes with underscores  https://review.opendev.org/c/openstack/python-openstackclient/+/78971006:58
*** rpittau|afk is now known as rpittau07:12
*** gtema has joined #openstack-sdks07:14
*** tosky has joined #openstack-sdks07:30
*** gtema has quit IRC07:45
*** jpich has joined #openstack-sdks07:54
*** LinPeiWen has joined #openstack-sdks07:57
*** gtema has joined #openstack-sdks07:59
*** ysandeep is now known as ysandeep|lunch08:28
*** Hybrid512 has joined #openstack-sdks08:39
*** dtantsur|afk is now known as dtantsur09:21
fricklerthis looks like a regression in glance to me, not like an issue with osc https://zuul.opendev.org/t/openstack/build/5811986c8be64dab843a1871773a030d09:41
*** udesale has joined #openstack-sdks09:45
*** holser has joined #openstack-sdks09:49
*** ysandeep|lunch is now known as ysandeep10:10
*** LinPeiWen has quit IRC10:20
*** sshnaidm|afk is now known as sshnaidm10:34
*** tosky has quit IRC10:38
*** tosky has joined #openstack-sdks10:38
*** nightmare_unreal has joined #openstack-sdks10:43
*** tosky_ has joined #openstack-sdks10:45
*** tosky has quit IRC10:47
*** tosky_ is now known as tosky10:49
openstackgerritMerged openstack/openstacksdk stable/wallaby: Increase RAM for the Ironic CI jobs  https://review.opendev.org/c/openstack/openstacksdk/+/78943911:01
*** mgariepy has quit IRC11:08
*** jpich has quit IRC11:29
*** jpich has joined #openstack-sdks11:30
openstackgerritArtem Goncharov proposed openstack/ansible-collections-openstack master: Switch project and project_info module to OpenStackModule  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78979311:34
*** artom has quit IRC11:40
openstackgerritShnaidman Sagi (Sergey) proposed openstack/ansible-collections-openstack master: WIP add TripleO job on collections used in TripleO  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78981811:49
*** Luzi has joined #openstack-sdks12:00
*** mgariepy has joined #openstack-sdks12:13
*** jpich has quit IRC12:15
*** jpich has joined #openstack-sdks12:16
*** enriquetaso has joined #openstack-sdks12:52
fricklergtema: noonedeadpunk: actually https://review.opendev.org/c/openstack/openstacksdk/+/783849 is causing the above regression, seems it was a mistake to ignore the failing osc job, sadly logs have already expired12:54
frickleralso not sure if you can find a quick fix or want to revert first12:54
gtemanot that I understand why it is causing this12:57
noonedeadpunkthis one https://review.opendev.org/c/openstack/openstacksdk/+/783849/2/openstack/image/v2/image.py12:57
noonedeadpunkso yeah, might be worth at least partially reverting it...12:57
noonedeadpunkor at least really quick fix12:58
gtemasomeone show me logs where it fails?12:59
gtemaI was not really looking into the discussion recently12:59
noonedeadpunkIt tries to ` tempest.lib.exceptions.CommandFailed: Command 'openstack --os-cloud=devstack-admin image list --tag my_tag --long -f json' returned non-zero exit status 1.`12:59
gtemaI need to see API call13:01
noonedeadpunkwell with patch I renamed option I gues :(((13:02
noonedeadpunkI jsut kind of assumed, that it can't be used since it's not really working properly13:04
openstackgerritDmitriy Rabotyagov proposed openstack/openstacksdk master: Revert tags option back to tag  https://review.opendev.org/c/openstack/openstacksdk/+/78982713:05
noonedeadpunknot super sure about that though ^13:05
noonedeadpunkI don't think it even comes to API call13:06
gtemanoho, the fix should be in https://opendev.org/openstack/python-openstackclient/src/branch/master/openstackclient/image/v2/image.py#L61313:06
noonedeadpunkit fails just on running openstack as unknown option is passed13:06
gtemacompare with https://opendev.org/openstack/python-openstackclient/src/branch/master/openstackclient/image/v2/image.py#L32313:07
gtemathis should be also constructing array of tags13:07
fricklerhmm, for list-image, the filter is called "tag", but for show-image, a "tags" field is returned https://docs.openstack.org/api-ref/image/v2/index.html?expanded=list-images-detail,show-image-detail#list-images13:07
noonedeadpunkoh, well, I think you're right gtema13:08
noonedeadpunkfrickler: well, you can use --tag several times, right?13:08
gtemanoonedeadpunk - will you prepare change or should I?13:08
gtemayes - you should be able to have same interface of repeating multiple --tag13:09
noonedeadpunkdoesn't matter for me:)13:09
noonedeadpunkprobably to merge things faster (in terms of self vote) I can push it13:09
gtemaif you have time - please, I'm pretty overloaded right now13:09
*** jpich has quit IRC13:23
*** jpich has joined #openstack-sdks13:23
noonedeadpunksure, testing it :)13:27
gtemathks13:27
*** efried has joined #openstack-sdks13:33
noonedeadpunkgtema: nah, I was right with https://review.opendev.org/c/openstack/openstacksdk/+/78982713:40
gtemawhy?13:40
noonedeadpunkas with your suggestion sdk sends request /v2/images?tags=openstack13:40
*** artom has joined #openstack-sdks13:41
noonedeadpunkand glance list api has only tag13:41
noonedeadpunkwhile create is tags13:41
noonedeadpunkhttps://docs.openstack.org/api-ref/image/v2/index.html?expanded=list-images-detail,create-image-detail#id1013:41
gtemaoh thats not cool13:42
noonedeadpunkso there's kind of inconsistency in glance itself I really skipped13:42
gtemaand what if we pass array of tags as "tag" into SDK. What does it send to glance? I roughly remenber some other case13:43
gtemawhere we need to send same attirbute multiple times, but I can't recall where it was13:44
noonedeadpunkit's sending only last mentioned one13:44
noonedeadpunkie `openstack image list --tag openstack --tag test ` ends up in `/v2/images?tag=test`13:44
noonedeadpunkbut maybe we can make it list... not sure13:45
gtemathere is way, I'm searching13:45
noonedeadpunkYeah, I think we can just change to append here13:45
noonedeadpunkhttps://opendev.org/openstack/python-openstackclient/src/branch/master/openstackclient/image/v2/image.py#L612-L61613:46
noonedeadpunkwill produce /v2/images?tag=openstack&tag=test13:47
gtemathat's what I meant, but exactly here I'm not sure how SDK passes this to glance13:47
noonedeadpunkdoh. indeed13:49
noonedeadpunk reverting like 789827 breaks image update...13:51
openstackgerritDmitriy Rabotyagov proposed openstack/openstacksdk master: Revert tags option back to tag  https://review.opendev.org/c/openstack/openstacksdk/+/78982713:53
openstackgerritDmitriy Rabotyagov proposed openstack/python-openstackclient master: Allow to filter multiple tags for image list  https://review.opendev.org/c/openstack/python-openstackclient/+/78983813:59
*** Luzi has quit IRC13:59
*** LinPeiWen has joined #openstack-sdks14:08
*** efried has quit IRC14:21
nightmare_unrealhttps://www.irccloud.com/pastebin/1JKwl1hg/14:23
*** efried has joined #openstack-sdks14:25
openstackgerritDmitriy Rabotyagov proposed openstack/openstacksdk master: Revert tags option back to tag  https://review.opendev.org/c/openstack/openstacksdk/+/78982714:28
openstackgerritDmitriy Rabotyagov proposed openstack/openstacksdk master: Revert tags query_params back to tag  https://review.opendev.org/c/openstack/openstacksdk/+/78982714:29
*** efried has quit IRC14:41
*** efried has joined #openstack-sdks14:41
*** LinPeiWen has quit IRC14:46
*** mgariepy has quit IRC15:14
openstackgerritArtem Goncharov proposed openstack/ansible-collections-openstack master: Switch project and project_info module to OpenStackModule  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78979315:20
*** ysandeep is now known as ysandeep|away15:27
openstackgerritDmitriy Rabotyagov proposed openstack/python-openstackclient master: Allow to filter multiple tags for image list  https://review.opendev.org/c/openstack/python-openstackclient/+/78983815:30
*** udesale has quit IRC15:30
openstackgerritDmitriy Rabotyagov proposed openstack/python-openstackclient master: Allow to filter multiple tags for image list  https://review.opendev.org/c/openstack/python-openstackclient/+/78983815:33
openstackgerritDmitriy Rabotyagov proposed openstack/python-openstackclient master: Allow to filter multiple tags for image list  https://review.opendev.org/c/openstack/python-openstackclient/+/78983815:37
*** mgariepy has joined #openstack-sdks15:46
*** rpittau is now known as rpittau|afk15:52
*** jpich has quit IRC16:22
openstackgerritArtem Goncharov proposed openstack/ansible-collections-openstack master: Switch project and project_info module to OpenStackModule  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/78979316:33
*** gtema has quit IRC16:37
*** dtantsur is now known as dtantsur|afk16:38
openstackgerritDmitriy Rabotyagov proposed openstack/python-openstackclient master: Allow to filter multiple tags for image list  https://review.opendev.org/c/openstack/python-openstackclient/+/78983816:57
*** enriquetaso has quit IRC17:02
*** enriquetaso has joined #openstack-sdks17:02
*** ralonsoh has quit IRC17:36
*** knikolla has joined #openstack-sdks18:11
*** gtema has joined #openstack-sdks18:38
*** gtema has quit IRC18:42
*** Jeffrey4l has quit IRC18:44
*** Jeffrey4l has joined #openstack-sdks18:47
*** nightmare_unreal has quit IRC19:22
*** slaweq has quit IRC20:10
*** holser has quit IRC22:33
*** tosky has quit IRC23:03

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