Ask Your Question

ocata to pike upgrade

asked 2017-09-15 16:17:31 -0500

jep gravatar image

I'd like to attempt an upgrade from Ocata to Pike soon, and I was wondering if anybody here has any experience to share. Any success or failure story, or general advise would be welcome :) My setup is fairly basic: Keystone, Horizon, Neutron, Glance, Nova, Cinder, Swift

edit retag flag offensive close merge delete


Hi Jep, I have recently managed very easily an upgrade from Mitaka to Newton. My cluster was running on a CentOS and I followed this: After stopping the services, I have enabled the Newton repos and disabled the Mitaka ones. Then upgraded the packets and restarting the service.

unusualfor gravatar imageunusualfor ( 2017-09-17 17:34:37 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2017-10-06 12:44:08 -0500

jep gravatar image

I finished the upgrade from Ocata to Pike, CentOS7, installed manually. I wanted to share the experience.

The basic upgrade procedure is pretty simple:

yum install centos-release-openstack-pike
yum-config-manager --disable centos-openstack-ocata
yum update

After that, updating the database for each service:

keystone-manage token_flush
keystone-manage db_sync 
glance-manage db_sync
cinder-manage db sync
nova-manage db sync
nova-manage api_db sync
neutron-db-manage upgrade heads
nova-manage db online_data_migrations 
cinder-manage db online_data_migrations

The issues I found after restarting:

1) The Horizon dashboard wouldn't open. You have to add "WSGIApplicationGroup %{GLOBAL}" to the top of /etc/httpd/conf.d/openstack-dashboard.conf to fix it

2) Swift logging in the default installation is going to local2 (old version was local0), so all my swift logs were landing on my /var/log/messages instead of /var/log/swift/swift.log. To fix it, edit /etc/rsyslog.d/openstack-swift.conf and change the rule to local0 instead of local2.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-09-15 16:17:31 -0500

Seen: 1,014 times

Last updated: Oct 06 '17