Skip to content

Instantly share code, notes, and snippets.

@remoteur
Last active September 26, 2019 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remoteur/ca5310f744d1aea4b929aa1aec4f89fe to your computer and use it in GitHub Desktop.
Save remoteur/ca5310f744d1aea4b929aa1aec4f89fe to your computer and use it in GitHub Desktop.
openstack upgrade
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