Ask Your Question

juno to kilo upgrade instructions?

asked 2015-06-05 14:56:26 -0500

liandrosg gravatar image

updated 2015-06-08 07:40:39 -0500

There is instruction for upgrade from juno to kilo ? After performing these steps, my centos7 cluster stopped working:

yum install
yum upgrade

The first thing that I can see, are changes in my mysql keystone tables . From /var/log/keystone/keystone.log:

2015-06-08 08:59:31.727 6030 TRACE keystone.common.wsgi OperationalError: (OperationalError) (1054, "Unknown column 'project.parent_id' in 'field list'") 'SELECT AS project_id, AS project_name, project.domain_id AS project_domain_id, project.description AS project_description, project.enabled AS project_enabled, project.extra AS project_extra, project.parent_id AS project_parent_id \nFROM project \nWHERE = %s AND project.domain_id = %s' ('service', 'default')

DB schema has changed. Apparently, the package updater does not perform schema updates.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-06-08 13:59:32 -0500

liandrosg gravatar image

updated 2015-06-09 16:17:39 -0500

Auto answer:

The links suggested in the answer, give enough information to make the update, but for the beginner in OpenStack (like me), more information is needed. I share some notes on which successfully realize the update (based on ( ):

  1. Perform some "cleaning" of the environment prior to starting the upgrade process to ensure a consistent state. For example, instances not fully purged from the system after deletion might cause indeterminate behavior.

  2. Read the release notes and documentation: (

  3. Find incompatibilities between your versions:

    • Keystone: The keystone CLI is deprecated in favor of openstack, the Common OpenStack client supporting multiple services. If you have custom scripts using keystone CLI command, you must adapt them.
  4. Develop an upgrade procedure and assess it thoroughly by using a test environment similar to your production environment.

    • You can perform an upgrade with operational instances, but this strategy can be dangerous. You might consider using live migration to temporarily relocate instances to other compute nodes while performing upgrades.

    • The following order for service upgrades seems the most successful. Try it, or use full upgrade:

      • Identity Service (keystone)
      • Image service (glance)
      • Compute (nova), including networking components
      • Block Storage (cinder)
      • dashboard
  5. Make a full database backup of your production data. As of Kilo, database downgrades are not supported, and the only method available to get back to a prior database version will be to restore from backup.

  6. Run the upgrade procedure on the production environment.

         yum upgrade
         yum install
    • Take down all the services, or by services(using the order mentioned above), and upgrade to kilo

       yum upgrade
  7. Upgrade services configuration, and databases

  • keystone:

    • Update db

       keystone-manage db_sync
    • Install common Openstack client:

       yum install python-openstackclient
    • Keystone use httpd mod_wsgi. You must to do configuration changes in httpd, according to install guide: (

    • Update/verify configuration according : (

  • Nova

    • Scan for null uuid (Pass the --delete option to the null_instance_uuid_scan command to automatically remove any null records where instances.uuid is null.):

          nova-manage db null_instance_uuid_scan
    • Update db

          nova-manage db sync
    • Verify service according: (

    • Update compute nodes (try previous migration of guests)

    • Test of nova services list:

          nova service-list
  • Glance:

    • Update db

          glance-manage db_sync

      . Update/verify configuration according: (

  • Cinder:

    • Update db

          cinder-manage db sync
    • Update/verify configuration according: (

  • Horizon:

  • Heat:

    • Read upgrade notes: (https://wiki.openstack ...
edit flag offensive delete link more


You will also need to add the new section oslo_messaging_rabbit if you are running RabbitMQ, you can verify it working by checking for the log entry where it connects to the RabbitMQ nodes.

Tobias Urdin gravatar imageTobias Urdin ( 2015-06-10 03:12:58 -0500 )edit

answered 2015-06-08 16:11:03 -0500

Tobias Urdin gravatar image


There are several changes to OpenStack configuration. I was able to cather all information I needed for upgrade RDO Juno to Kilo from these links:

Best regards

edit flag offensive delete link more


Thanks for your answer. I expected to find a formally documented Upgrade Guide. It seems for now is a process of collecting small pieces of information to build the road. (At least for a beginner like me, where the steps are not obvious)

liandrosg gravatar imageliandrosg ( 2015-06-09 07:44:21 -0500 )edit

Hmm. That's a good idea, I'll have to look into that.

kevin-michael-lloyd gravatar imagekevin-michael-lloyd ( 2015-06-09 23:18:26 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-05 14:55:12 -0500

Seen: 10,427 times

Last updated: Jun 09 '15