~openstack-charmers/charms/trusty/neutron-openvswitch/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/utils.py

  • Committer: James Page
  • Date: 2016-05-18 13:08:44 UTC
  • Revision ID: james.page@ubuntu.com-20160518130844-f7ncxhlv66bjqeq1
Resync charm-helpers

Avoid use of 'service --status-all' which is currently
broken on trusty for upstart managed daemons; the change
moves to detecting how the daemon is managed, and then
using upstart status XXX or the return code of service XXX
status to determine whether a process is running.

Fixes for IPv6 network address detection under Ubuntu
16.04 which changes the output format of the ip commands
slightly.

Update the version map to include 8.1.x as a Neutron
version for Mitaka.

Change-Id: I023dbb4b3d7e16d7ec50e5b78636e5c7688ff9cc
Closes-Bug: 1581171
Closes-Bug: 1581598
Closes-Bug: 1580674

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
    'neutron-common': OrderedDict([
150
150
        ('7.0', 'liberty'),
151
151
        ('8.0', 'mitaka'),
 
152
        ('8.1', 'mitaka'),
152
153
    ]),
153
154
    'cinder-common': OrderedDict([
154
155
        ('7.0', 'liberty'),