Wednesday, 2023-07-19

Ugglagouthamr, I am just using the sdk through the python interpreter without giving any version to use.08:02
Ugglagouthamr, carloss , I have done this patch and it appears to work in my case. (https://review.opendev.org/c/openstack/openstacksdk/+/888909)08:44
Ugglagouthamr, carloss, here is the result after using this patch https://paste.opendev.org/show/bSiewq6brKzcyR2fq8VK/08:45
carlossty for the patch Uggla 11:50
Ugglacarloss, no pb, but please review it to be sure it is correct. :)11:58
carlossUggla: yeah, I'm taking a look, I must confess I'm confused with the usage of _max_microversion and _min_microversion in all the examples in the SDK haha11:59
Ugglacarloss, me too. ;) 12:13
carlossUggla: left a comment in the change, maybe stephenfin can shed some light on this :)12:20
Ugglacarloss, from stephenfin I understood that _min_microversion is not used. And I think _max_microversion is used to negociate the version and then if it fails, then it is downgraded until a microversion between client and server works.12:23
carlossUggla: that makes sense, thanks... _max_microversion was the thing that confused me the most12:27
carlossstephenfin: thanks for the response in the change12:34
stephenfinnw12:35
carlossUggla: I think the most appropriate version for _max_microversion is 2.47 then, could you please update the change?12:35
Ugglacarloss, are you sure ? I used 2.63 because it was set in the functional test example provided by gouthamr above.12:37
carlossUggla: yes... I think he's added 2.63 in the functional tests because that was the most recent microversion in Manila by the time he introduced that code... If you blame this file: https://github.com/openstack/manila/blame/master/manila/api/openstack/api_version_request.py - it shows 2.63 as modified 2 years ago, and blaming this file: 12:40
carlosshttps://github.com/openstack/openstacksdk/blame/b93ea39ea5c1edff4b59ad0940992b5e4a8c695a/openstack/tests/functional/shared_file_system/base.py#L25-L26, it shows that it was also ~2 years ago12:40
carlossbut 2.63 is not related to changes in the export location APIs12:41
Ugglacarloss, ok I gonna change.12:42
carlosstyvm Uggla :)12:42
Ugglacarloss, done12:48
carlossUggla: LGTM, were you able to test with this version? 13:19
carlossI'm trying to now, but that's one of the first times I test stuff with openstacksdk :p13:19
carlossI'm lost on where to apply the changes13:19
Ugglacarloss, yep I have just done a new test with this version and it works fine.13:22
carlosstyvm Uggla :)13:22
Ugglacarloss, just to explain my test, I have a devstack setup with manila and a share created. Then I pull the openstacksdk on this devstack, install it and just run what is in https://paste.opendev.org/show/bSiewq6brKzcyR2fq8VK/13:25
carlossah, thanks Uggla - I was unsure about the install part. After the clone + applying your changes I did pip install I was able to test it too13:27
carlossUggla++ :)13:27
Ugglacarloss, no pb. You just need to take care it takes the good openstacksdk version. Because it can be confusing if you have already a local install.13:29
carlossack, thanks :)13:35
opendevreviewkiran pawar proposed openstack/manila master: NetApp: Stop clone split while deleting child share.  https://review.opendev.org/c/openstack/manila/+/88892714:11
opendevreviewCarlos Eduardo proposed openstack/python-manilaclient master: [WIP] Allow restricting access rules  https://review.opendev.org/c/openstack/python-manilaclient/+/88835518:45
opendevreviewCarlos Eduardo proposed openstack/manila master: [WIP] Add APIs to restrict rules fields and lock rules  https://review.opendev.org/c/openstack/manila/+/88772519:10
opendevreviewGoutham Pacha Ravi proposed openstack/devstack-plugin-ceph master: Update location of cephadm script  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/88895219:47
opendevreviewGoutham Pacha Ravi proposed openstack/devstack-plugin-ceph master: Update location of cephadm script  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/88895219:48

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