Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 3. Upgrading the undercloud
This following procedures upgrades the undercloud to Red Hat OpenStack Platform 13. You accomplish this by performing an upgrade through each sequential version of the undercloud from OpenStack Platform 10 to OpenStack Platform 13.
3.1. Upgrading the undercloud to OpenStack Platform 11 Link kopierenLink in die Zwischenablage kopiert!
This procedure upgrades the undercloud toolset and the core Heat template collection to the OpenStack Platform 11 release.
Procedure
-
Log in to director as the
stackuser. Disable the current OpenStack Platform repository:
sudo subscription-manager repos --disable=rhel-7-server-openstack-10-rpms
$ sudo subscription-manager repos --disable=rhel-7-server-openstack-10-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the new OpenStack Platform repository:
sudo subscription-manager repos --enable=rhel-7-server-openstack-11-rpms
$ sudo subscription-manager repos --enable=rhel-7-server-openstack-11-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Disable updates to the overcloud base images:
sudo yum-config-manager --setopt=exclude=rhosp-director-images* --save
$ sudo yum-config-manager --setopt=exclude=rhosp-director-images* --saveCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the main OpenStack Platform services:
sudo systemctl stop 'openstack-*' 'neutron-*' httpd
$ sudo systemctl stop 'openstack-*' 'neutron-*' httpdCopy to Clipboard Copied! Toggle word wrap Toggle overflow NoteThis causes a short period of downtime for the undercloud. The overcloud is still functional during the undercloud upgrade.
The default Provisioning/Control Plane network has changed from
192.0.2.0/24to192.168.24.0/24. If you used default network values in your previousundercloud.conffile, your Provisioning/Control Plane network is set to192.0.2.0/24. This means you need to set certain parameters in yourundercloud.conffile to continue using the192.0.2.0/24network. These parameters are:-
local_ip -
network_gateway -
undercloud_public_vip -
undercloud_admin_vip -
network_cidr -
masquerade_network -
dhcp_start -
dhcp_end
Set the network values in
undercloud.confto ensure continued use of the192.0.2.0/24CIDR during future upgrades. Ensure your network configuration set correctly before running theopenstack undercloud upgradecommand.-
Run
yumto upgrade the director’s main packages:sudo yum update -y instack-undercloud openstack-puppet-modules openstack-tripleo-common python-tripleoclient
$ sudo yum update -y instack-undercloud openstack-puppet-modules openstack-tripleo-common python-tripleoclientCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command to upgrade the undercloud:
openstack undercloud upgrade
$ openstack undercloud upgradeCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Wait until the undercloud upgrade process completes.
You have upgraded the undercloud to the OpenStack Platform 11 release.
3.2. Upgrading the undercloud to OpenStack Platform 12 Link kopierenLink in die Zwischenablage kopiert!
This procedure upgrades the undercloud toolset and the core Heat template collection to the OpenStack Platform 12 release.
Procedure
-
Log in to director as the
stackuser. Disable the current OpenStack Platform repository:
sudo subscription-manager repos --disable=rhel-7-server-openstack-11-rpms
$ sudo subscription-manager repos --disable=rhel-7-server-openstack-11-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the new OpenStack Platform repository:
sudo subscription-manager repos --enable=rhel-7-server-openstack-12-rpms
$ sudo subscription-manager repos --enable=rhel-7-server-openstack-12-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Disable updates to the overcloud base images:
sudo yum-config-manager --setopt=exclude=rhosp-director-images* --save
$ sudo yum-config-manager --setopt=exclude=rhosp-director-images* --saveCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run
yumto upgrade the director’s main packages:sudo yum update -y python-tripleoclient
$ sudo yum update -y python-tripleoclientCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Edit the
/home/stack/undercloud.conffile and check that theenabled_driversparameter does not contain thepxe_sshdriver. This driver is deprecated in favor of the Virtual Baseboard Management Controller (VBMC) and removed from Red Hat OpenStack Platform. For more information about this new driver and migration instructions, see the Appendix "Virtual Baseboard Management Controller (VBMC)" in the Director Installation and Usage Guide. Run the following command to upgrade the undercloud:
openstack undercloud upgrade
$ openstack undercloud upgradeCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Wait until the undercloud upgrade process completes.
You have upgraded the undercloud to the OpenStack Platform 12 release.
3.3. Upgrading the undercloud to OpenStack Platform 13 Link kopierenLink in die Zwischenablage kopiert!
This procedure upgrades the undercloud toolset and the core Heat template collection to the OpenStack Platform 13 release.
Procedure
-
Log in to director as the
stackuser. Disable the current OpenStack Platform repository:
sudo subscription-manager repos --disable=rhel-7-server-openstack-12-rpms
$ sudo subscription-manager repos --disable=rhel-7-server-openstack-12-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Set the RHEL version to RHEL 7.9:
sudo subscription-manager release --set=7.9
$ sudo subscription-manager release --set=7.9Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the new OpenStack Platform repository:
sudo subscription-manager repos --enable=rhel-7-server-openstack-13-rpms
$ sudo subscription-manager repos --enable=rhel-7-server-openstack-13-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Re-enable updates to the overcloud base images:
sudo yum-config-manager --setopt=exclude= --save
$ sudo yum-config-manager --setopt=exclude= --saveCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run
yumto upgrade the director’s main packages:sudo yum update -y python-tripleoclient
$ sudo yum update -y python-tripleoclientCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command to upgrade the undercloud:
openstack undercloud upgrade
$ openstack undercloud upgradeCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Wait until the undercloud upgrade process completes.
Reboot the undercloud to update the operating system’s kernel and other system packages:
sudo reboot
$ sudo rebootCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Wait until the node boots.
You have upgraded the undercloud to the OpenStack Platform 13 release.
3.4. Disabling deprecated services on the undercloud Link kopierenLink in die Zwischenablage kopiert!
After you upgrade the undercloud, you must disable the deprecated openstack-glance-registry and mongod services.
Procedure
-
Log in to the undercloud as the
stackuser. Stop and disable the
openstack-glance-registryservice:sudo systemctl stop openstack-glance-registry sudo systemctl disable openstack-glance-registry
$ sudo systemctl stop openstack-glance-registry $ sudo systemctl disable openstack-glance-registryCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop and disable the
mongodservice:sudo systemctl stop mongod sudo systemctl disable mongod
$ sudo systemctl stop mongod $ sudo systemctl disable mongodCopy to Clipboard Copied! Toggle word wrap Toggle overflow
3.5. Next Steps Link kopierenLink in die Zwischenablage kopiert!
The undercloud upgrade is complete. You can now configure a source for your container images.