mistralclient set the endpoint_type invaild

Bug #1854339 reported by Jie Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mistralclient
In Progress
Undecided
Jie Li

Bug Description

Description
===========
when we set the endpoint_type in openrc. We set the "OS_MISTRAL_ENDPOINT_TYPE=internalURL" in the openrc file. Meanwhile,we don't set the "OS_MISTRAL_URL" in the openrc file. So we expected to visit the mistral by interURL.But we found it is invaild.

See the codes below(in mistralclient/auth/keystone.py):
            if not mistral_url:
                try:
                    mistral_url = session.get_endpoint(
                        service_type=service_type,
                        endpoint_type=endpoint_type,
                        region_name=region_name
                    )
                except Exception:
                    mistral_url = None

Environment
===========
Rocky version

Jie Li (ramboman)
summary: - mistralclient set the endpoint_type is invaild
+ mistralclient set the endpoint_type invaild
Jie Li (ramboman)
Changed in python-mistralclient:
assignee: nobody → Jie Li (ramboman)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient 4.0.0

This issue was fixed in the openstack/python-mistralclient 4.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient rocky-eol

This issue was fixed in the openstack/python-mistralclient rocky-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient stein-eol

This issue was fixed in the openstack/python-mistralclient stein-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.