frickler | gtema: ready for osc 6.7.0? https://review.opendev.org/c/openstack/releases/+/924134 | 10:16 |
---|---|---|
gtema | good that you ask. I see now top of the huge stack has failed and need a recheck | 10:17 |
gtema | means - no, not ready | 10:17 |
frickler | gtema: ok, then please -1 the release patch just to be on the safe side | 10:22 |
gtema | frickler: thks, done | 10:23 |
*** iurygregory__ is now known as iurygregory | 12:17 | |
gibi | gtema: 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 |
gibi | and that works | 12:55 |
gibi | but we need to use the user context instead. | 12:55 |
gibi | As nova should only attach a share to a VM if the user calling nova has the rights to see the share in manial | 12:56 |
gtema | which info from user do you have? token? | 12:56 |
opendevreview | Merged openstack/python-openstackclient master: Followup: Reduce LOC in volume v3 service https://review.opendev.org/c/openstack/python-openstackclient/+/923056 | 12:58 |
opendevreview | Merged openstack/python-openstackclient master: Add DeleteVolumeSnapshot class to v3 https://review.opendev.org/c/openstack/python-openstackclient/+/919611 | 12:58 |
opendevreview | Merged openstack/python-openstackclient master: Add volume snapshot unmanage support https://review.opendev.org/c/openstack/python-openstackclient/+/894634 | 12:58 |
gibi | gtema: yeah we have the token in the context object I believe | 12:59 |
gibi | context = RequestContext | 12:59 |
gtema | gibi - gimme some minutes to find the right way | 13:05 |
gibi | yepp I can print the auth_token from the context so we definitly has it | 13:06 |
gibi | gtema: thank! | 13:06 |
gibi | thanks | 13:06 |
gtema | gibi: https://paste.opendev.org/show/bQRC2yqufkeGY5Eu8bXG/ - in principle it can be done like that | 13:58 |
gtema | a bit nasty thing is that you "should" reauth with the user's token since only token is not enough | 13:59 |
gtema | you could do token inspection, but that is still the API call, so you save nothing | 13:59 |
gibi | gtema: thanks I will try it and report back | 14:20 |
gtema | cool | 14:20 |
opendevreview | Merged openstack/python-openstackclient master: Add tests for 'default security group rule create' https://review.opendev.org/c/openstack/python-openstackclient/+/922565 | 15:25 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!