Last active
September 26, 2019 22:31
-
-
Save remoteur/ca5310f744d1aea4b929aa1aec4f89fe to your computer and use it in GitHub Desktop.
openstack upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl stop 'openstack-*' | |
systemctl stop 'neutron-*' | |
systemctl stop 'openvswitch' | |
systemctl stop httpd | |
yum remove centos-release-ceph-luminous-1.1-2.el7.centos.noarch | |
yum install -y centos-release-openstack-stein | |
yum-config-manager --disable centos-release-openstack-rocky | |
yum update | |
su -s /bin/sh -c "keystone-manage db_sync" keystone | |
su -s /bin/sh -c "glance-manage db_sync" glance | |
su -s /bin/sh -c "cinder-manage db sync" cinder | |
su -s /bin/sh -c "nova-manage db sync" nova | |
su -s /bin/sh -c "nova-manage api_db sync" nova | |
su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova | |
nova-manage cell_v2 list_cells | |
su -s /bin/sh -c "neutron-db-manage upgrade heads" neutron | |
systemctl start 'openstack-*' | |
systemctl start 'neutron-*' | |
systemctl start 'openvswitch' | |
systemctl start httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment