~openstack-charmers-next/charms/xenial/rabbitmq-server/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:12:51 UTC
  • Revision ID: james.page@ubuntu.com-20160518131251-gr5ttudaskyumc42
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: I947e783052fc77c70c0ffec2e0159a20a92215cc
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'),