Comment 2 for bug 2048452

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.opendev.org/c/openstack/senlin/+/904947
Committed: https://opendev.org/openstack/senlin/commit/2d6f537b3843a1ac884ef711fd764d5e3586d054
Submitter: "Zuul (22348)"
Branch: master

commit 2d6f537b3843a1ac884ef711fd764d5e3586d054
Author: Pham Le Gia Dai <email address hidden>
Date: Mon Jan 8 16:32:49 2024 +0700

    Fix: `TrustMiddleware` unable to fetch trusts/credentials from identity service

    When using token to init a new openstacksdk connection, the SDK try to fetch
    another token from it, causing keystone raise exception and return 500 status
    response. Refer: https://bugs.launchpad.net/keystone/+bug/1959674
    Switch from `token` to `admin_token` to make the SDK session use the provided
    token directly instead of fetching a new one.

    Closes-bug: #2048452
    Depends-On: https://review.opendev.org/c/openstack/senlin/+/905555
    Change-Id: I8f9b2db3d4851cf54c2113b2fb0ae97ae38ac286