Description of problem: Upgrading RHOS 8 to 9, the online guide says to upgrade the keystone component and after that to upgrade the upgrade scripts, meaning that puppet is being run with older templates and configurations where it should be running against a newer set of resources fetched when upgrading the scripts. See steps 3.4.3 and 3.4.4 here: https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/paged/upgrading-red-hat-openstack-platform/chapter-3-director-based-environments-performing-upgrades-to-major-versions
So this one is kind of a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1414917 and of https://bugzilla.redhat.com/show_bug.cgi?id=1388146 After discussing with the developer of the liberty to mitaka keystone migration, the template is meant to be run with previous puppet module in place. This is how I successfully upgrade osp8->osp9, skipping altogether this step: $ for i in $(nova list|grep ctlplane|awk -F' ' '{ print $12 }'|awk -F'=' '{ print $2 }'); do ssh -o StrictHostKeyChecking=no heat-admin@$i "sudo yum -y update openstack-puppet-modules" ; done At least another deployment was done without using this step neither. In my opinion we have to remove this step (the upgrade of puppet module) because: - it cannot work until we have installed the new repository (the init step) - the upgrade is working without it (and we reason as it has no effect)
*** Bug 1414917 has been marked as a duplicate of this bug. ***
Oki, this is actually more than just a documentation problem. If you do upgrade the puppet-modules before doing the keystone migration then it fails with: Error: /Stage[main]/Keystone/Exec[keystone-manage bootstrap]: Failed to call refresh: keystone-manage bootstrap --bootstrap-password 39EnVE8U7QaxGXYzpKhH47kXh returned 2 instead of one of [0] Error: /Stage[main]/Keystone/Exec[keystone-manage bootstrap]: keystone-manage bootstrap --bootstrap-password 39EnVE8U7QaxGXYzpKhH47kXh returned 2 instead of one of [0] So we have to remove this step.
The step has been removed: https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/single/upgrading-red-hat-openstack-platform/#sect-Major-Upgrading_the_Overcloud-Keystone Sofer, anything else required for this BZ?
No response in over two weeks. If nothing further to add, I'll close this BZ. If further changes are required, please feel free to reopen it.
Hi Dan, nope that's fine, thanks.
*** Bug 1392613 has been marked as a duplicate of this bug. ***