5.7. Running the director upgrade
Upgrade director on the undercloud.
Prerequisites
- Check the configuration of your deployment files for any issues. For more information, see Deployment file configuration.
- If your network configuration templates include certain functions, ensure that you manually convert your NIC templates to Jinja2 Ansible format. For a list of those functions and a link to the manual procedure, see Network configuration file conversion.
Procedure
Confirm that the
tripleo_mysql.serviceis running:$ systemctl status tripleo_mysqlSample output
The command shows the following output if the service is not running:
tripleo_mysql.service - mysql container Loaded: loaded (/etc/systemd/system/tripleo_mysql.service; enabled; vendor preset: disabled) Active: inactive (dead)If the service is not running, start the service:
$ sudo systemctl start tripleo_mysqlLaunch the director configuration script to upgrade director:
$ openstack undercloud upgradeThe director configuration script upgrades director packages and configures director services to match the settings in the
undercloud.conffile. This script takes several minutes to complete.注記The director configuration script prompts for confirmation before proceeding. Bypass this confirmation by using the
-yoption:$ openstack undercloud upgrade -y
Next steps
- Check that the container version is 17.1 and that the adoption files were generated for all of your stacks. For more information, see the Post-Upgrade Checks section in the Red Hat Knowledgebase article Undercloud Upgrade Checks.