[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
** Changed in: charm-keystone Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
As this is quite an invasive change I'm proposing that we don't stable backport this and wait for the 20.05 charm release for delivery into stable. ** Changed in: charm-keystone Assignee: Frode Nordahl (fnordahl) => (unassigned) ** Tags added: release-defer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
I tested the new keystone charm, and it seems that works properly: $ openstack domain list +--++-++ | ID | Name | Enabled | Description | +--++-++ | 752bebe6cd024ec386970a8d8fe1f0a6 | admin_domain | True| Created by Juju | | bbc93aa69bf94198b7c751845b69f62a | service_domain | True| Created by Juju | | default | Default| True| The default domain | +--++-++ I also had to update the ceph-radosgw charm to get the test bundle being deployed with no errors. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
Reviewed: https://review.opendev.org/712040 Committed: https://git.openstack.org/cgit/openstack/charm-keystone/commit/?id=0a02c30fe5f4650235519897b71588ae22fa0971 Submitter: Zuul Branch:master commit 0a02c30fe5f4650235519897b71588ae22fa0971 Author: Frode Nordahl Date: Mon Mar 9 15:06:09 2020 +0100 Replace use of admin_token with Keystone bootstrap Stop the use of the admin_token and use the bootstrap process to initialize Keystone instead. Fortunately the implementation of the bootstrap process is both idempotent when it needs to be and it can be safely called on an existing deployment. Subsequently we can migrate by just removing the admin_token from the configuration and create new credentials for use by the charm with a call to ``keystone-manage bootstrap``. Remove configuration templates for versions prior to Mitaka, by doing this we need to move any configuration initially defined prior to Miataka forward to the ``templates/mitaka`` folder. A side effect of this migration is that newly bootstrapped deployments will get their ``default`` domain created with a literal ID of ``default``. Prior to this change third party software making assumptions about that being the case may have had issues. Closes-Bug: #1859844 Closes-Bug: #1837113 Related-Bug: #1774733 Closes-Bug: #1648719 Closes-Bug: #1578678 Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/191 Change-Id: I23940720c24527ee34149f035c3bdf9ff54812c9 ** Changed in: charm-keystone Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
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
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
Yes, the suggested approach will support this all the way back to Mitaka: https://review.opendev.org/#/c/712040/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
Just one more detail. We'll need to do this change also in Queens which is the current LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
** Changed in: charm-keystone Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
The domain named ``default`` having an literal ID of ``default`` is for backwards compatibility. Prior to Queens (when the v2.0 API was still there) the current bootstrap method for the Keystone charm would give you a default domain with ``default`` as ID. On Queens onward the current bootstrap method will always give you a UUID as ID for the default domain. We can restore the backwards compatibility by moving to use the ``keystone-manage bootstrap`` command to bootstrap Keystone and drop the use of the admin_token. ** Changed in: charm-keystone Importance: Undecided => High ** Changed in: charm-keystone Assignee: (unassigned) => Frode Nordahl (fnordahl) ** Changed in: charm-keystone Milestone: None => 20.05 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
** Changed in: charm-keystone Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
** Changed in: charm-keystone Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
** Changed in: charm-keystone Status: New => Invalid ** Changed in: keystone (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
The keystone configuration seems to be correct: ubuntu@faye:~$ for i in $(seq 0 2); do juju ssh keystone/$i sudo grep default_domain_id /etc/keystone/keystone.conf; done default_domain_id = default Connection to 192.168.210.131 closed. default_domain_id = default Connection to 10.0.1.26 closed. default_domain_id = default Connection to 10.0.1.23 closed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1859844] Re: Impossible to rename the Default domain id to the string 'default.'
FTR charm has written the UUID to the configuration file for the last 3 years: https://opendev.org/openstack/charm-keystone/commit/ccf15398 ** Also affects: keystone (Ubuntu) Importance: Undecided Status: New ** Changed in: keystone Status: Incomplete => Invalid ** Also affects: charm-keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859844 Title: Impossible to rename the Default domain id to the string 'default.' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-keystone/+bug/1859844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs