Upgrade OpenStack#
This section provides instructions on how to upgrade OpenStack to a major version with help of OpenStack Controller.
-
To start the OpenStack upgrade, change the value of the
spec:openstack_version
parameter in theOpenStackDeployment
object to the target OpenStack release. After you change the value of thespec:openstack_version
parameter, the OpenStack Controller initializes the upgrade process. -
Verify the upgrade status
Example of outputkubectl -n openstack get osdplst
When upgrade finishes, theNAME OPENSTACK VERSION CONTROLLER VERSION STATE LCM PROGRESS HEALTH MOSK RELEASE osh-dev antelope 0.17.2.dev250 APPLYING 1/11 13/15
STATE
field should displayAPPLIED
:kubectl -n openstack get osdplst NAME OPENSTACK VERSION CONTROLLER VERSION STATE LCM PROGRESS HEALTH MOSK RELEASE osh-dev caracal 0.17.2.dev250 APPLIED 11/11 15/15
-
Verify the Upgrade
- Verify that OpenStack is healthy and operational. All OpenStack components in the
health
group in the OpenStackDeploymentStatus CR should be in theReady
state. - Verify the workability of your OpenStack deployment by running Tempest against the OpenStack cluster as described in Run Tempest tests.