Description of problem:
In the documentation page https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/upgrading_red_hat_openstack_platform/assembly-preparing_for_openstack-platform_upgrade#updating_the_current_undercloud_packages
It mentions that the command to update overcloud is:
openstack overcloud update stack -i overcloud
That command is no longer valid (throws error). The right command is:
openstack overcloud update stack --stack overcloud
Actually that is the upstream documentation:
So the steps for doing a minor update since pike are a bit more complex , this needs to be reflected in our downstream documentation
New patch with more accurate documentation: https://review.openstack.org/#/c/535859/19/doc/source/install/post_deployment/upgrade.rst
In section 2.5 of https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/upgrading_red_hat_openstack_platform/#assembly-preparing_for_openstack-platform_upgrade, the for loop that is untaring the overcloud full images is incorrect as it's still pointing to OSP 11. It should be:
for i in /usr/share/rhosp-director-images/overcloud-full-latest-12.0.tar /usr/share/rhosp-director-images/ironic-python-agent-latest-12.0.tar ; do tar -xvf $i; done
ignore previous comment. that was for updating previous major version to latest previous major version prior to major upgrade.
So closing this BZ for three reasons:
1. The documentation linked is for performing a minor update of OSP11 in preparation for a major upgrade to OSP12. This procedure intentionally uses the OSP11 procedure. So this isn't a bug, but more a point of confusion.
2. In later versions, the docs link to the previous documentation's update procedure rather than include it like this one. This is to avoid general confusion people have about updating before upgrading.
3. OSP12 is EOL.
Closing as NOTABUG, but also EOL too.