Monday, 2022-11-07

*** amoralej|off is now known as amoralej07:04
opendevreviewHervĂ© Beraud proposed openstack/python-cinderclient master: Remove python-dev from bindep  https://review.opendev.org/c/openstack/python-cinderclient/+/86384210:04
*** dviroel|out is now known as dviroel10:16
opendevreviewRajat Dhasmana proposed openstack/cinder master: Correct help text of target configs  https://review.opendev.org/c/openstack/cinder/+/85919110:16
opendevreviewJean Pierre Roquesalane proposed openstack/cinder master: Dell PowerFlex: Additionnal params for enabling self signed certificates   https://review.opendev.org/c/openstack/cinder/+/85837013:00
*** amoralej is now known as amoralej|lunch13:20
*** amoralej|lunch is now known as amoralej14:12
*** dviroel is now known as dviroel|lunch15:08
opendevreviewRajat Dhasmana proposed openstack/cinder master: Add storage_protocol to FS drivers  https://review.opendev.org/c/openstack/cinder/+/85272516:01
*** sfinucan is now known as stephenfin16:10
*** amoralej is now known as amoralej|off16:13
hemna-I have found an odd failure.   using the latest cinderclient released 9.10 against wallaby.  I can't create a volume snapshot.  it worked against train16:19
hemna-the openstack client works! 16:19
hemna-https://paste.openstack.org/show/bFgOix4jYvOJRkptI8QY/16:20
hemna-the cinderclient's default for the force flag is None, which turns into a string value of 'null' inside the cinder api, which fails schema validation16:21
hemna-The API LOG --> Action Body: {"snapshot": {"volume_id": "6ba26261-6f02-4cab-8d96-6febcbbd89b3", "force": null, "name": "walt-wallaby", "description": null, "metadata": {}}}16:22
eharneythat seems bad :/16:22
eharneyi think we had a cinderclient bug very similar to this a little bit ago, but i forget on what operation16:22
hemna-https://github.com/openstack/python-cinderclient/blob/9.1.0/cinderclient/v3/shell.py#L2203-L222116:24
eharneyyeah i was just eyeballing that same code in https://review.opendev.org/c/openstack/python-cinderclient/+/806817/16:24
hemna-client downgraded the microversion to 3.6516:24
eharneymaybe the default=None doesn't do what was expected there16:25
hemna-yah I'll try hacking it and see what happens16:25
hemna-not sure why that default=None is right there ever16:26
hemna-https://github.com/openstack/python-cinderclient/blob/9.1.0/cinderclient/v3/volume_snapshots.py#L92-L9316:26
hemna-the default should always be the same as that definition, which is False16:27
hemna-weird.  the shell.py 3.66 microversion is what is called16:30
hemna-https://github.com/openstack/python-cinderclient/blob/9.1.0/cinderclient/v3/shell.py#L229216:30
hemna-that's what is called from shell.py16:30
hemna-adding a default=False to the definition of --force there fixed it16:31
eharneyi think the idea of None was to have it not send the parameter to the API16:32
eharneysending "description": null seems fishy too16:32
hemna-https://pastebin.com/7gAVuFKs16:35
*** dviroel|lunch is now known as dviroel16:35
hemna-I tried using openstack paste to make that paste but it gave me an error every time16:35
hemna-anyway, you can see my patch against the client in that paste and the 2 attempts16:35
hemna-whats odd is the 3.66 do_snapshot_create is what is called, but the @api_versions.wraps("3.0", "3.65") is what is used16:36
hemna-that seems really weird16:36
hemna-I guess I'll put up a bug fix patch for it16:39
hemna-also this16:44
hemna-https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v3/shell.py#L230916:44
hemna-bah16:51
hemna-if I set a default in the definition, I get a tox error  ValueError: Since microversion 3.66 of the Block Storage API,  the 'force' option is invalid for this request.  For backward compatibility, however, when the 'force' flag is passed with a value evaluating to True, it is silently ignored.16:54
hemna-hrmm, so I set the default to True?16:57
hemna-I'm not sure what the 'correct' way to fix this is16:59
opendevreviewWalt proposed openstack/python-cinderclient master: Fix passing None/null to snapshot create  https://review.opendev.org/c/openstack/python-cinderclient/+/86392318:57
dansmithrosmaita: geguileo: am I reading correctly that there's no job for me to see this working: https://review.opendev.org/c/openstack/devstack/+/81419319:09
dansmithspecifically because it doesn't work?19:09
rosmaitadansmith: that's right19:11
rosmaitawe need this in place to test the code that isn't working yet19:12
dansmithis it worth running all the nova and glance jobs against this to make sure none of those other cinder jobs break?19:13
dansmithand/or did you do a DNM patch against cinder to make sure all the known cinder configs still work?19:13
dansmiththere's enough changing there, and even (almost) trivially touching nova, so .. seems worth the diligence to make sure we don't land this and find out other projects have broken jobs19:14
dansmithif so I can do the DNMs against glance and nova19:14
dansmithrosmaita: ^19:15
rosmaitadansmith: (in a meeting, looking)19:16
rosmaitadansmith: yeah, i guess the patches on that patch aren't enough19:21
dansmithrosmaita: np, I put up the glance/nova changes just to be extra careful19:21
rosmaitacool19:21
dansmithif they pass, I'll +219:22
rosmaitai'll put up a cinder patch, just to make sure the old config opts are respected19:22
dansmithprobably a good plan :)19:22
rosmaitathanks!19:22
dansmith\np19:22
whoami-rajatrosmaita, dansmith actually we've a job to see this working https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/85557619:24
rosmaitawhoami-rajat: thanks, i couldn't find that patch19:24
rosmaitaexcept, it's failing on that patch19:25
whoami-rajatrosmaita, yeah i think there are still things to be figured out, tosky would know better19:25
opendevreviewBrian Rosmaita proposed openstack/cinder master: DNM: test LVM NVMe support config patch  https://review.opendev.org/c/openstack/cinder/+/86392719:26
dansmithwhoami-rajat: cool, but at a minimum we want to make sure it doesn't break everything else I think19:26
whoami-rajatdansmith, agreed, +1 for testing it against glance and nova19:27
dansmith++19:28
*** dviroel is now known as dviroel|afk19:40
opendevreviewEric Harney proposed openstack/python-cinderclient master: Add test coverage for shell snapshot-create w/ metadata  https://review.opendev.org/c/openstack/python-cinderclient/+/86329919:47
toskyrosmaita, dansmith : I had a testing job https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/85557620:19
toskywhoami-rajat: ^^20:19
toskyit depends on a long stack of patches but it seems to be doing something20:20
toskyonly a few tests were failing in the last iteration20:20
rosmaitatosky: ack20:21

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