Tuesday, 2024-07-23

fricklergtema: ready for osc 6.7.0? https://review.opendev.org/c/openstack/releases/+/92413410:16
gtemagood that you ask. I see now top of the huge stack has failed and need a recheck10:17
gtemameans - no, not ready10:17
fricklergtema: ok, then please -1 the release patch just to be on the safe side10:22
gtemafrickler: thks, done10:23
*** iurygregory__ is now known as iurygregory12:17
gibigtema: hi! I need help using the openstacksdk from nova to talk to manila. So far we have https://review.opendev.org/c/openstack/nova/+/831194/50/nova/utils.py#991 that creates the connection based on nova's service user and password from the config. 12:55
gibiand that works12:55
gibibut we need to use the user context instead.12:55
gibiAs nova should only attach a share to a VM if the user calling nova has the rights to see the share in manial12:56
gtemawhich info from user do you have? token?12:56
opendevreviewMerged openstack/python-openstackclient master: Followup: Reduce LOC in volume v3 service  https://review.opendev.org/c/openstack/python-openstackclient/+/92305612:58
opendevreviewMerged openstack/python-openstackclient master: Add DeleteVolumeSnapshot class to v3  https://review.opendev.org/c/openstack/python-openstackclient/+/91961112:58
opendevreviewMerged openstack/python-openstackclient master: Add volume snapshot unmanage support  https://review.opendev.org/c/openstack/python-openstackclient/+/89463412:58
gibigtema: yeah we have the token in the context object I believe12:59
gibicontext = RequestContext12:59
gtemagibi - gimme some minutes to find the right way13:05
gibiyepp I can print the auth_token from the context so we definitly has it13:06
gibigtema: thank!13:06
gibithanks13:06
gtemagibi: https://paste.opendev.org/show/bQRC2yqufkeGY5Eu8bXG/ - in principle it can be done like that13:58
gtemaa bit nasty thing is that you "should" reauth with the user's token since only token is not enough13:59
gtemayou could do token inspection, but that is still the API call, so you save nothing13:59
gibigtema: thanks I will try it and report back14:20
gtemacool14:20
opendevreviewMerged openstack/python-openstackclient master: Add tests for 'default security group rule create'  https://review.opendev.org/c/openstack/python-openstackclient/+/92256515:25

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