~openstack-charmers-archive/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to hooks/neutron_api_hooks.py

  • Committer: Corey Bryant
  • Date: 2014-10-20 13:53:30 UTC
  • mfrom: (57.3.1 neutron-api)
  • Revision ID: corey.bryant@canonical.com-20141020135330-pijqphq976z23fjb
[coreycb,r=gnuoy] Stamp neutron database before upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
    if not relation_ids('neutron-api'):
166
166
        log('Not running neutron database migration, no nova-cloud-controller'
167
167
            'is present.')
168
 
    elif os_release('nova-common') <= 'icehouse':
 
168
    elif os_release('neutron-server') <= 'icehouse':
169
169
        log('Not running neutron database migration as migrations are handled'
170
170
            'by the neutron-server process.')
171
171
    else: