Commit Graph

18 Commits

Author SHA1 Message Date
Alex Kavanagh 9c12812735 Switch the charm to support py3
Some major changes:
* the charm has been rebased (from a Python perspective) to be rooted in
  the charm directory.  This is a single root.
* Imports have been changed so that the don't add lots of imports to the
  namespace of the module doing the import.
* The code that used to run at module import time has been made lazy
  such that it only has to run if the relevant functions are called.
  This includes restart_on_change parameters, the harden function and
  the parameters to the guard_map.  Appropriate changes will be
  submitted to charm-helpers.
* Several tests had to be re-written as (incorrect) mocking meant that
  text fixtures didn't actually match what the code was doing.  Thus,
  the tests were meaningless.
* This has had a net positive impact on the unit tests wrt to importing
  modules and mocking.

Change-Id: Id07d9d1caaa9b29453a63c2e49ba831071e9457f
2018-10-18 15:43:03 +01:00
David Ames f03ccf02b7 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I5a82ac79b29181fabec41570cd5aa003d2bfb8ea
2018-05-11 16:12:20 -07:00
Liam Young f427dc5a48 Resync charmhelpers for py3 fixes.
Change-Id: I28457389a65a835204729c5070b420715664aa26
2017-11-13 16:13:50 +00:00
James Page a05c9c6beb Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: I8746721aea508fa01d2b616d580b38f84197759b
2016-07-06 16:39:15 +01:00
James Page 30c60318e5 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: I529f4ac54ee1a56e61e61f35e2bc52353f6874f3
Closes-Bug: 1581171
Closes-Bug: 1581598
Closes-Bug: 1580674
2016-05-18 14:09:18 +01:00
Corey Bryant 334c66c2b7 [corey.bryant,r=trivial] Sync charm-helpers to pick up Liberty support. 2015-08-18 13:34:35 -04:00
Liam Young 8c5f43b1ce [gnuoy,trivial] Pre-release charmhelper sync 2015-07-29 11:46:43 +01:00
Liam Young c63649ac21 [gnuoy,trivial] Pre-release charmhelper sync 2015-01-26 09:44:11 +00:00
Corey Bryant 430f26f7f6 Sync charm-helpers. 2014-12-10 20:28:55 +00:00
Liam Young 9eba3a9154 Sync charm-helpers from lp:charm-helpers 2014-08-13 14:12:02 +01:00
Corey Bryant e2e7e4798d Sync with charm-helpers 2014-07-11 02:43:50 +00:00
Christopher Glass e065be6e4f Updating charm-helpers from lp:charm-helpers revision 153 2014-05-19 13:38:09 +02:00
James Page f1ecf4d81d [james-page,hazmat,ivoks,coreycb,yolanda.robla,r=james-page,t=*]
Support for Icehouse on 12.04 and 14.04
Support for Active/Active and SSL RabbitMQ
Support for SSL MySQL
Support for SSL endpoints
Support for PostgreSQL

Fixes for upgrades on 12.04 grizzly->havana->icehouse
2014-04-16 09:25:14 +01:00
Edward Hope-Morley ad2677fb42 [hopem] synced charm-helpers 2014-03-25 12:26:42 +00:00
James Page 0a70e07aed Resynced helpers 2014-03-20 13:47:08 +00:00
James Page 400604db75 [ivoks] Re-order port-pipeline to ensure end-to-end SSL 2014-02-19 11:02:03 +00:00
James Page c54a7ba6ed Sync neutron/icehouse updates 2013-12-17 16:05:51 +00:00
Adam Gandelman f7b057ca60 Check in start of py redux. 2013-08-01 20:42:16 -07:00