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. Fixup mocking of apt during load of unit tests and ensure that tox does not use any site packages, ensuring that test execution is isolated from installed OS Change-Id: I0f8d7cb2689f5e4c94390b324850e4e9b6e10eb5 Closes-Bug: 1581171 Closes-Bug: 1581598 Closes-Bug: 1580674
Showing
- hooks/charmhelpers/contrib/network/ip.py 19 additions, 2 deletionshooks/charmhelpers/contrib/network/ip.py
- hooks/charmhelpers/contrib/storage/linux/utils.py 5 additions, 5 deletionshooks/charmhelpers/contrib/storage/linux/utils.py
- hooks/charmhelpers/core/host.py 17 additions, 20 deletionshooks/charmhelpers/core/host.py
- tox.ini 1 addition, 1 deletiontox.ini
- unit_tests/test_status.py 7 additions, 0 deletionsunit_tests/test_status.py
- unit_tests/test_upgrade_roll.py 6 additions, 0 deletionsunit_tests/test_upgrade_roll.py
Loading
Please register or sign in to comment