Commit Graph

20 Commits

Author SHA1 Message Date
Alex Kavanagh 361eee97f5 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: I824d11bea90e2db8ffba9bfeb22137f150da1c63
2020-09-27 15:27:11 +01:00
Alex Kavanagh 7cc006d262 Convert charm to Python 3
Change-Id: Id2a87f639619ecbdc9e02960e9530133c6816f78
2019-04-24 13:53:55 +01:00
David Ames e2ca8f06de Status blocked until ceilometer-upgrade action
Currently it is unclear that ceilometer is not actually ready when it
is related to gnocchi until the ceilometer-upgrade action has run. The
status will show active Unit is ready when it is not.

When gnocchi is related, check that the ceilometer-upgrade action has
been run. If not set workload status to prompt the administator to run
the action.

Please merge the charm-helpers change first:
https://github.com/juju/charm-helpers/pull/270

Partial-Bug: #1811108
Change-Id: Id778ed3f59e4bcde9c6586aad46be2b5b9ccb531
2019-01-29 23:59:57 +00:00
David Ames f3148b9bd7 Run ceilometer-upgrade as an action
The ceilometer-upgrade command needs to be run to update back end
ceilometer data stores. When attempting to run this command during
deploy time due to the number of required relations many inherent
race conditions exist leading to Bug#1749280.

This change allows the ceilometer-upgrade command to be run as an action
post-deploy.

Change-Id: I64a56d9a38532476b8a01df6227231a1276c708f
Closes-Bug: #1749280
2018-03-08 14:20:15 +00:00
James Page 3e1cd75a8e Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: I15bca9b973b61e408e25c113035702a596c45268
2016-06-28 11:36:46 +01:00
Alex Kavanagh 50af0a1bed Update/add pause/resume maintenance mode and sync charm-helpers
Adds improved pause and resume unit to the charm such tha the
charm stays paused during maintenance operations.  Updates the
basic_deployment.py to use the the new version of
python-ceilometerclient (that's available in xenial, but works
back to icehouse/precise.

Change-Id: I869e467d0e4d9fecd661a6f946d45e31535ea11e
2016-03-17 11:47:42 +00:00
Corey Bryant 96f79461e1 Use aodh-notifier and aodh-evaluator starting in Mitaka
In Mitaka, ceilometer-alarm-notifier and ceilometer-alarm-evaluator are
replaced by aodh-notifier and aodh-evaluator.
2016-01-06 14:59:34 +00:00
James Page 7809664933 update->flush 2015-10-16 14:01:34 +01:00
James Page ec78b1a435 Tidy py files in root to lib folder, sort out import of hooks in actions 2015-10-16 13:29:41 +01:00
James Page ba7531c0ad Rework assess status to take action managed status into account 2015-10-16 12:59:37 +01:00
Corey Bryant 33a2fae037 Import CONFIGS instead of calling register_configs() again. 2015-09-22 21:01:13 +00:00
Corey Bryant 1faed27c9f Rebased on trunk 2015-09-22 15:34:48 +00:00
Geoffrey J. Teale 97a29073ba Move ceilometer_contexts to root directory of charm and symlink to both hooks and actions. 2015-09-17 10:21:52 +02:00
Geoffrey J. Teale 35fcff0b8a Use local linked ceilometer_utils.py in actions. 2015-09-16 10:26:05 +02:00
Geoffrey J. Teale a3c6f1a4af Import CEILOMETER_SERVICES. 2015-09-15 16:44:30 +02:00
Corey Bryant e878d10bb7 Adjust parameter order 2015-09-15 01:04:59 +00:00
Corey Bryant aed71aaab3 Action managed openstack upgrade support 2015-09-14 20:58:54 +00:00
Geoffrey J. Teale 047e91e865 Don't import things that aren't present. 2015-09-10 17:36:10 +02:00
Geoffrey J. Teale 3ffe98862e Setup actions. 2015-09-01 17:37:13 +02:00
Geoffrey J. Teale ab4e840f80 Move charmhelpers to root directory and symlink to hooks and actions. 2015-09-01 17:06:16 +02:00