Bug 1414784
| Summary: | Can't upgrade keystone before upgrading the repository | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Amit Ugol <augol> |
| Component: | documentation | Assignee: | Dan Macpherson <dmacpher> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 9.0 (Mitaka) | CC: | dmacpher, jmelvin, mburns, michele, sathlang, srevivo |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-23 08:02:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Amit Ugol
2017-01-19 12:39:46 UTC
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. *** |