Monday, 2023-09-04

opendevreviewArtem Goncharov proposed openstack/openstacksdk master: [WIP] Add OpenAPI invocation interface  https://review.opendev.org/c/openstack/openstacksdk/+/89216111:39
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: Use OpenAPI for object_store download_object  https://review.opendev.org/c/openstack/openstacksdk/+/89362411:39
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Replace use of aliased exceptions  https://review.opendev.org/c/openstack/openstacksdk/+/89349911:46
UgglaHi stephenfin, I need to come back with the service token issue. Last time I was too fast to answer. Basically I did what you suggested in the latest snipet. What I had done before was almost the same. I'm still stuggling the same issue -> https://paste.opendev.org/show/bckoNCvr83oGpR72fP4M. It seems that as soon as we use the ServiceTokenAuthWrapper the SDK discovery is falling the retrieve the revision. temp_adapter.get_api_major_version() in 13:06
Ugglaservice_description.py returns nothing. I spent a lot of time trying to figure why but haven't find it yet. So if you have a hint it will be great.13:06
opendevreviewMerged openstack/openstacksdk master: Add support for default security group rules in SDK  https://review.opendev.org/c/openstack/openstacksdk/+/88726214:10
fricklerstephenfin: gtema: ^^ shouldn't we obey feature freeze now until we branch?14:12
stephenfindamn, yes, we should. that's my fault14:12
gtemaright, I also missed that14:13
fricklerI mean, I don't think this particular patch is critical, so we can likely live with that, just a general reminder14:13
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: [WIP] Add OpenAPI invocation interface  https://review.opendev.org/c/openstack/openstacksdk/+/89216114:14
gtemauggla: can you pls give a short tl;dr version with snippet how you auth and what is the request/response when version discovery is triggered? I dislike message in your trace: "The shared-file-system service for :None..."14:17
gtemaI assume that you maybe do not get the service endpoints information with your auth and as such everything else is failing14:18
Ugglagtema, I'm doing more or less what was provided/documented by Stephen --> https://review.opendev.org/c/openstack/openstacksdk/+/89350514:20
Ugglagtema, but to sumerise I think the idea is to "replace" the auth plugin with service_token.ServiceTokenAuthWrapper.14:22
gtemacan you pls gather http requests/responses?14:24
Ugglagtema, with my code I can see the both tokens (user and service) in the headers of the request. But I think something has changed in the session that prevent "service discovery" by the sdk.14:25
gtemaI do not need the token in headers, but I am rather interested where the version discovery request goes and what is the response14:25
gtemabasically I assume that ServiceTokenAuthWrapper (as auth) does not contain any endpoints information and therefore everything fails14:27
Ugglagtema, you may be right, as I can't see any request flying in tcpdump.14:30
gtemabefore you establish connection add "openstack.enable_logging(debug=True)"14:31
gtemathat will spit all the requests flying around14:31
fricklerstephenfin: gtema: I just noticed that the branching patch has already been proposed, so if there is no need for a bugfix patch and release until Friday, all should be fine anyway https://review.opendev.org/c/openstack/releases/+/89361914:39
Ugglagtema, without service token, I can see the requests. Not the case passing the ServiceTokenAuthWrapper. I think something bad arrives before and I'm fooled by the log.14:42
opendevreviewStephen Finucane proposed openstack/cliff master: Fix pre-commit issues  https://review.opendev.org/c/openstack/cliff/+/89366815:18
opendevreviewStephen Finucane proposed openstack/cliff master: Add pre-commit  https://review.opendev.org/c/openstack/cliff/+/89366915:18
opendevreviewStephen Finucane proposed openstack/cliff master: Blacken code base  https://review.opendev.org/c/openstack/cliff/+/89367015:18
opendevreviewStephen Finucane proposed openstack/cliff master: Ignore blacken patch  https://review.opendev.org/c/openstack/cliff/+/89367115:18
opendevreviewStephen Finucane proposed openstack/cliff master: tox: Use pre-commit for linter checks  https://review.opendev.org/c/openstack/cliff/+/89367215:18
*** whoami-r- is now known as whoami-rajat15:54
opendevreviewRajat Dhasmana proposed openstack/openstacksdk master: Add volume transfer support [1/2]  https://review.opendev.org/c/openstack/openstacksdk/+/88703719:43
opendevreviewRajat Dhasmana proposed openstack/openstacksdk master: Add volume transfer support [2/2]  https://review.opendev.org/c/openstack/openstacksdk/+/88763519:43
-opendevstatus- NOTICE: Some Gerrit changes that update Zuul configuration may fail with no response from Zuul. A fix is in progress.20:06
opendevreviewRajat Dhasmana proposed openstack/openstacksdk master: Add volume transfer support [2/2]  https://review.opendev.org/c/openstack/openstacksdk/+/88763521:43
-opendevstatus- NOTICE: Gerrit changes with updates to Zuul's configuration should now be handled correctly. Recheck any changes to Zuul configuration which did not report results.22:38

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