o->p->q undercloud upgrade fails with "Cannot use v2 authentication with domain scope"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Won't Fix
|
Medium
|
Sofer Athlan-Guyot | ||
Queens |
Fix Committed
|
Medium
|
Sofer Athlan-Guyot |
Bug Description
Hi,
deploy ocata, upgrade undercloud to pike then to queens and then:
Hi,
After running the openstack undercloud upgrade from pike to queens. We've encountered errors. Kindly see below logs for the errors.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
user_
File "/usr/lib/
return cloud.get_
File "/usr/lib/
service_key, min_version=
File "/usr/lib/
endpoint = self._get_
File "/usr/lib/
return session.
File "/usr/lib/
return auth.get_
File "/usr/lib/
allow_
File "/usr/lib/
service_catalog = self.get_
File "/usr/lib/
self.auth_ref = self.get_
File "/usr/lib/
self._plugin = self._do_
File "/usr/lib/
'Cannot use v2 authentication with domain scope')
keystoneauth1.
Command 'instack-
clean_up UpgradeUndercloud: Command 'instack-
END return value: 1
Originally found by pvc on #tripleo.
no longer affects: | tripleo/pike |
tags: | added: pike-backport-potential |
So, for the last error, it's as if we're using /v2 path[1] while we're using domain[2]
[1] https:/ /github. com/openstack/ keystoneauth/ blob/master/ keystoneauth1/ identity/ generic/ base.py# L150-L153
[2] https:/ /github. com/openstack/ instack- undercloud/ blob/stable/ queens/ instack_ undercloud/ undercloud. py#L2410. .L2411
After updating the OS_AUTH_URL in stackrc to a v3 address, the user could proceed with the undercloud upgrade.