can't get authentication with os-token and os-url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
High
|
Jas |
Bug Description
Hi, I can't get authentication with os-token and os-url on Juno pythone-
On Icehouse, with os-token and os-url, we can get authentication.
[root@compute01 ~]# neutron --os-token $token --os-url http://
+------
| id | name | subnets |
+------
| 06c5d426-
+------
But on Juno, it failed. The detail :
[root@compute01 ~]# neutron --os-token $token --os-url http://
ERROR: neutronclient.shell Unable to determine the Keystone version to authenticate with using the given auth_url. Identity service may not support API version discovery. Please provide a versioned auth_url instead.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
auth_session = self._get_
File "/usr/lib/
auth_
File "/usr/lib/
raise exc.CommandErro
CommandError: Unable to determine the Keystone version to authenticate with using the given auth_url. Identity service may not support API version discovery. Please provide a versioned auth_url instead.
Unable to determine the Keystone version to authenticate with using the given auth_url. Identity service may not support API version discovery. Please provide a versioned auth_url instead.
my solution is this:
On /usr/lib/
Origin:
auth_session = self._get_
Modified:
auth = None
if not self.options.
auth = auth_session.auth
Changed in python-neutronclient: | |
assignee: | nobody → Ukesh (ukeshkumar) |
Changed in python-neutronclient: | |
milestone: | 2.5.1 → none |
Changed in python-neutronclient: | |
assignee: | Ukesh (ukeshkumar) → BaoLiang Cui (cuibl) |
status: | Triaged → In Progress |
Changed in python-neutronclient: | |
assignee: | nobody → Jas (singhj) |
what auth_url are you providing when making the call?