create keystone service role on upgrades to 2023.2 release

Bug #2056761 reported by Sven Kieske
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Committed
Undecided
Sven Kieske

Bug Description

when upgrading from older releases the service role introduced by [1] in kolla-ansible might not be there.

ensure that it is created during the upgrade process in 2023.2 release as well.

background, to quote mnasiadka from IRC:

in upgrade we do this: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/keystone/tasks/upgrade.yml - actually this: https://github.com/openstack/kolla-ansible/blob/5169e3bcbe556eadbe60644f7acbed6e5d6ed358/ansible/roles/keystone/handlers/main.yml#L15 - so we run keystone_manage db_sync (as per
https://github.com/openstack/kolla/blob/4b32dd50ab027e2b19c7c69f7fc5019ec3d1add7/docker/keystone/keystone/extend_start.sh#L24)
so we don't run bootstrap on upgrade

I'll provide a patch to run service-ks-register on upgrade.

[1]: https://review.opendev.org/c/openstack/kolla-ansible/+/909002

Sven Kieske (s-kieske)
Changed in kolla-ansible:
assignee: nobody → Sven Kieske (s-kieske)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/912452

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/912452
Committed: https://opendev.org/openstack/kolla-ansible/commit/a7f7cda59824ccd5a9d45786c3fc8e485d09d898
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit a7f7cda59824ccd5a9d45786c3fc8e485d09d898
Author: Sven Kieske <email address hidden>
Date: Mon Mar 11 14:28:41 2024 +0100

    fix creation of keystone service role on upgrade

    Closes-Bug: 2056761

    Signed-off-by: Sven Kieske <email address hidden>
    Change-Id: Ia0e474cf7bc633d8eeabacc2b5d6fd282e534026

Changed in kolla-ansible:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 17.4.0

This issue was fixed in the openstack/kolla-ansible 17.4.0 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.