~ajkavanagh/openstack-mojo-specs/remove-cinder-from-vrrp-ha

« back to all changes in this revision

Viewing changes to helper/setup/upgrade_openstack.py

  • Committer: Ryan Beisner
  • Date: 2017-09-08 19:37:03 UTC
  • mfrom: (330.1.3 mojo-openstack-specs)
  • Revision ID: ryan.beisner@canonical.com-20170908193703-f86yp8qupoeut46v
[coreycb, r=1chb1n] Upgrade ceilometer-agent immediately after nova-compute

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
            ubuntu_version, target_release
167
167
        )
168
168
        mojo_utils.juju_set(service['name'], option, wait=False)
 
169
        # NOTE: For liberty->mitaka upgrade ceilometer-agent gets stuck at
 
170
        # 'Services not running that should be: memcached' after nova-compute
 
171
        # upgrade, and test would wait forever. Therefore we upgrade
 
172
        # ceilometer-agent immediately after nova-compute.
 
173
        if service['name'] == 'nova-compute':
 
174
            mojo_utils.juju_set('ceilometer-agent', option, wait=False)
169
175
        mojo_utils.juju_wait_finished()
170
176
 
171
177