[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
Alex Kavanagh
1859844 at bugs.launchpad.net
Mon Mar 16 11:18:23 UTC 2020
Manual testing of mojo specs of the change in keystone is successful!:
# stable_to_next
$ ./go-mojo.sh bionic specs/full_stack/stable_to_next/queens
2020-03-13 12:19:57 [INFO] Using pre-existing container class containerless
2020-03-13 12:19:57 [INFO] Rsyncing /home/ubuntu/openstack-charmers/openstack-mojo-specs to /srv/mojo/openstack/bionic/_20201913_121956/spec
2020-03-13 12:20:00 [INFO] Retrieve the spec's manifest
2020-03-13 12:20:00 [INFO] Manifest comment:
...
Collect the development charms
#############################################################################
2020-03-13 12:56:27 [DEBUG] ### Running phase collect with options {'config': 'collect-next'} ###
2020-03-13 12:56:27 [INFO] Building resource tree
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/tempest-92 from charm store to tempest
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/neutron-openvswitch-396 from charm store to neutron-openvswitch
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/ceph-mon-412 from charm store to ceph-mon
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/swift-proxy-189 from charm store to swift-proxy
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/neutron-api-438 from charm store to neutron-api
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/openstack-dashboard-468 from charm store to openstack-dashboard
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/vault-84 from charm store to vault
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/nova-cell-controller-34 from charm store to nova-cell-controller
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/heat-345 from charm store to heat
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/cinder-ceph-312 from charm store to cinder-ceph
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/ceph-osd-440 from charm store to ceph-osd
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/cinder-405 from charm store to cinder
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/percona-cluster-364 from charm store to mysql
2020-03-13 12:56:42 [INFO] Downloading cs:~thedac/mongodb-0 from charm store to mongodb
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/nova-compute-488 from charm store to nova-compute
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/swift-storage-352 from charm store to swift-storage-z2
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/neutron-gateway-410 from charm store to neutron-gateway
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/nova-cloud-controller-475 from charm store to nova-cloud-controller
2020-03-13 12:56:42 [INFO] Downloading cs:~openstack-charmers-next/ceilometer-agent-315 from charm store to ceilometer-agent
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/swift-storage-352 from charm store to swift-storage-z3
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/gnocchi-87 from charm store to gnocchi
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/ceilometer-360 from charm store to ceilometer
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/rabbitmq-server-360 from charm store to rabbitmq-server
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/swift-storage-352 from charm store to swift-storage-z1
2020-03-13 12:56:43 [INFO] Downloading cs:~memcached-team/memcached-10 from charm store to memcached
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/aodh-102 from charm store to aodh
2020-03-13 12:56:43 [INFO] Downloading cs:ntp-39 from charm store to ntp
2020-03-13 12:56:43 [INFO] Downloading cs:~openstack-charmers-next/glance-403 from charm store to glance
2020-03-13 12:56:43 [INFO] Downloading cs:~fnordahl/keystone-use-bootstrap-1 from charm store to keystone
...
2020-03-13 13:15:26 [INFO] Completed script simple_os_checks.py in 8m 4s (484.50s)
2020-03-13 13:15:26 [INFO] Completed verify phase in 8m 4s (484.50s)
2020-03-13 13:15:26 [INFO] Manifest comment:
#############################################################################
Success
#############################################################################
# next_openstack_upgrade
$ ./go-mojo.sh bionic specs/full_stack/next_openstack_upgrade/queens
2020-03-13 16:32:16 [INFO] Using pre-existing container class containerless
2020-03-13 16:32:16 [INFO] Rsyncing /home/ubuntu/openstack-charmers/openstack-mojo-specs to /srv/mojo/openstack/bionic/_20203213_163215/spec
2020-03-13 16:32:19 [INFO] Retrieve the spec's manifest
2020-03-13 16:32:19 [INFO] Manifest comment:
#############################################################################
Collect the charm branches from Launchpad
#############################################################################
2020-03-13 16:32:19 [DEBUG] ### Running phase collect with options {'config': 'collect-next-bionic'} ###
2020-03-13 16:32:19 [INFO] Building resource tree
2020-03-13 16:32:32 [INFO] Downloading cs:~openstack-charmers-next/neutron-gateway-410 from charm store to neutron-gateway
2020-03-13 16:32:32 [INFO] Downloading cs:~openstack-charmers-next/tempest-92 from charm store to tempest
2020-03-13 16:32:32 [INFO] Downloading cs:~openstack-charmers-next/nova-compute-488 from charm store to nova-compute
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/openstack-dashboard-468 from charm store to openstack-dashboard
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/vault-84 from charm store to vault
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/swift-storage-352 from charm store to swift-storage-z2
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/neutron-api-438 from charm store to neutron-api
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/ceilometer-agent-315 from charm store to ceilometer-agent
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/gnocchi-89 from charm store to gnocchi
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/nova-cell-controller-35 from charm store to nova-cell-controller
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/heat-345 from charm store to heat
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/rabbitmq-server-360 from charm store to rabbitmq-server
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/cinder-ceph-312 from charm store to cinder-ceph
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/ceilometer-360 from charm store to ceilometer
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/percona-cluster-364 from charm store to mysql
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/nova-cloud-controller-475 from charm store to nova-cloud-controller
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/swift-storage-352 from charm store to swift-storage-z1
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/ceph-osd-440 from charm store to ceph-osd
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/ceph-mon-412 from charm store to ceph-mon
2020-03-13 16:32:33 [INFO] Downloading cs:~thedac/mongodb-0 from charm store to mongodb
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/glance-403 from charm store to glance
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/swift-storage-352 from charm store to swift-storage-z3
2020-03-13 16:32:33 [INFO] Downloading cs:ntp-39 from charm store to ntp
2020-03-13 16:32:33 [INFO] Downloading cs:~memcached-team/memcached-10 from charm store to memcached
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/swift-proxy-189 from charm store to swift-proxy
2020-03-13 16:32:33 [INFO] Downloading cs:~openstack-charmers-next/cinder-405 from charm store to cinder
2020-03-13 16:32:34 [INFO] Downloading cs:~fnordahl/keystone-use-bootstrap-1 from charm store to keystone
....
#############################################################################
Upgrade Openstack
#############################################################################
...
2020-03-13 18:30:08 [INFO] Completed script simple_os_checks.py in 8m 30s (510.76s)
2020-03-13 18:30:08 [INFO] Completed verify phase in 8m 30s (510.76s)
2020-03-13 18:30:08 [INFO] Manifest comment:
#############################################################################
Success
#############################################################################
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1859844
Title:
Impossible to rename the Default domain id to the string 'default.'
Status in OpenStack keystone charm:
In Progress
Status in OpenStack Identity (keystone):
Invalid
Status in keystone package in Ubuntu:
Invalid
Bug description:
Openstack version = Rocky
When changing the 'default_domain_id' variable to the string 'default'
and changing all references for this variable in the keystone database
we get the following error in keystone.log:
(keystone.common.wsgi): 2020-01-15 14:16:37,869 ERROR badly formed hexadecimal UUID string
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/keystone/common/wsgi.py", line 148, in __call__
result = method(req, **params)
File "/usr/lib/python3/dist-packages/keystone/auth/controllers.py", line 102, in authenticate_for_token
app_cred_id=app_cred_id, parent_audit_id=token_audit_id)
File "/usr/lib/python3/dist-packages/keystone/common/manager.py", line 116, in wrapped
__ret_val = __f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/keystone/token/provider.py", line 251, in issue_token
token_id, issued_at = self.driver.generate_id_and_issued_at(token)
File "/usr/lib/python3/dist-packages/keystone/token/providers/fernet/core.py", line 61, in generate_id_and_issued_at
app_cred_id=token.application_credential_id
File "/usr/lib/python3/dist-packages/keystone/token/token_formatters.py", line 159, in create_token
protocol_id, access_token_id, app_cred_id
File "/usr/lib/python3/dist-packages/keystone/token/token_formatters.py", line 444, in assemble
b_domain_id = cls.convert_uuid_hex_to_bytes(domain_id)
File "/usr/lib/python3/dist-packages/keystone/token/token_formatters.py", line 290, in convert_uuid_hex_to_bytes
uuid_obj = uuid.UUID(uuid_string)
File "/usr/lib/python3.6/uuid.py", line 140, in __init__
raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID string
(keystone.common.wsgi): 2020-01-15 14:16:38,908 WARNING You are not authorized to perform the requested action: identity:get_domain.
(keystone.common.wsgi): 2020-01-15 14:16:39,058 WARNING You are not authorized to perform the requested action: identity:get_domain.
(keystone.common.wsgi): 2020-01-15 14:16:50,838 WARNING You are not authorized to perform the requested action: identity:list_projects.
(keystone.common.wsgi): 2020-01-15 14:16:54,086 WARNING You are not authorized to perform the requested action: identity:list_projects.
This change is needed to integrate keystone to ICO (IBM Cloud Orchestrator)
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list