From Fedora Project Wiki

Revision as of 20:47, 2 November 2012 by Pbrady (talk | contribs)

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Essex to Folsom upgrade notes

Setting upgrade expectations right: off-line upgrade with manual intervention!

Here are upgrade notes for upgrading simplest possible 2012.1.3 setup (all-in-one min.Nova+Glance+Keystone) to Folsom http://repos.fedorapeople.org/repos/openstack/openstack-folsom/epel-openstack-folsom.repo

  • stop services
service openstack-keystone stop
service openstack-glance-api stop
service openstack-glance-registry stop
service openstack-nova-compute stop
service openstack-nova-network stop
service openstack-nova-scheduler stop
service openstack-nova-api stop
  • update RPMs
yum update openstack\* python\*client
  • If using nova volumes, update tgtd config like:
sed -i '1iinclude /etc/nova/volumes/*' /etc/tgt/targets.conf
service tgtd restart
  • merge configs, they're customized when deployed, so you'll get .rpmnew
  • /etc/keystone/
    • copy admin_token, [sql] connection from keystone.conf.old
  keystone.conf.rpmnew
mv keystone.conf keystone.conf.old
mv keystone.conf.rpmnew keystone.conf
  • /etc/glance/
    • copy admin_* from glance*paste.ini [filter:authtoken] to glance*.conf [keystone_authtoken]
    • verify sql_connection in both glance-registry.conf and glance-api.conf
  glance-api.conf.rpmnew       glance-registry.conf.rpmnew
  glance-api-paste.ini.rpmnew  glance-registry-paste.ini.rpmnew
mv glance-api.conf glance-api.conf.old
mv glance-api-paste.ini glance-api-paste.ini.old
mv glance-api.conf.rpmnew glance-api.conf
mv glance-api-paste.ini.rpmnew glance-api-paste.ini
mv glance-registry.conf glance-registry.conf.old
mv glance-registry-paste.ini glance-registry-paste.ini.old
mv glance-registry.conf.rpmnew glance-registry.conf
mv glance-registry-paste.ini.rpmnew glance-registry-paste.ini
  • /etc/nova/
    • copy admin_* from api-paste.ini [filter:authtoken] to nova.conf [keystone_authtoken]
    • verify sql_connection in nova.conf
  api-paste.ini.rpmnew  nova.conf.rpmnew
mv api-paste.ini api-paste.ini.old
mv api-paste.ini.rpmnew api-paste.ini
mv nova.conf nova.conf.old
mv nova.conf.rpmnew nova.conf
  • verify other configs you might have customized
e.g. /etc/openstack-dashboard/local_settings
  • update databases
keystone-manage db_sync
glance-manage db_sync
nova-manage db sync
  • start services
service openstack-keystone start
  • test: keystone user-list
service openstack-glance-api start
service openstack-glance-registry start
  • test: glance index
service openstack-nova-api start
service openstack-nova-scheduler start
service openstack-nova-compute start
service openstack-nova-network start
  • test: nova list
service httpd restart