Commit Graph

24 Commits

Author SHA1 Message Date
Corey Bryant 3a5b5872c5 Add package-upgrade action
The package-upgrade action performs package upgrades for the current
OpenStack release.

The code path used is similar to the openstack-upgrade action, with the
difference being that package-upgrade will not execute if an openstack
upgrade is available (based on the openstack-origin setting).

This change includes a charm-helpers sync.

Change-Id: I0c7184bba29731354e52dc28e3a4dd6f282fa843
2023-05-26 15:07:07 +01:00
Alex Kavanagh 90fa306577 Fix yaml.safe_load() and allow py35 tests to complete
Change-Id: Id1aa21f4b6de67a6e03ced2352b45d1080e7760c
2021-10-14 17:37:59 +01:00
Alex Kavanagh 494908cee7 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: I28bc6125b817c2f1608157509c27d54dab9541a5
2020-09-27 19:20:00 +01:00
Alex Kavanagh fc81200315 Upgrade the charm to py3 runtime
Change-Id: I98f4e6664080407a045ca5e76db59d46ffa9c38a
2018-10-24 14:57:05 +01:00
Alex Kavanagh d8199f07bb Fix alphanumeric comparisons for openstack and ubuntu releases
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done

Change-Id: If253c8a18886630fcc7de4cfc2a91a15c2563eb5
Related-Bug: #1659575
2017-04-28 14:02:41 +01:00
James Page ab35249f38 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: I97206ee8be76220cb0937a09be3230432e04535a
2016-07-01 18:15:00 +01:00
Corey Bryant 695ab4a97f tweak imports in actions.py 2015-10-13 12:31:09 +00:00
Corey Bryant b07d9c2ded Update hooks symlink 2015-10-13 12:02:33 +00:00
Corey Bryant 1412f7ae07 Add hooks symlink to actions directory 2015-10-13 11:20:27 +00:00
Corey Bryant 2757f6d3f8 call set_os_workload_status() to set status in pause/resume actions 2015-10-13 10:44:02 +00:00
Corey Bryant e246250b48 Use unitdata key/value pair to store pause/resume status 2015-10-13 10:35:23 +00:00
Corey Bryant cd57171aa4 Add assess_status() callback 2015-10-13 09:18:52 +00:00
Corey Bryant 51b51b70c1 Drop status_set() from pause/resume actions 2015-10-13 09:08:57 +00:00
David Ames 72b2507f6c Action Managed Upgrades 2015-09-22 15:58:18 -07:00
Adam Collard 9c714e3450 s/pop/remove (d'oh!) 2015-08-14 11:53:58 +01:00
Adam Collard 0b34efdab0 Only care about swift-container-sync for >= Icehouse 2015-08-14 11:44:17 +01:00
Adam Collard 3210ee5244 Add resume action 2015-08-11 10:55:31 +01:00
Adam Collard 71afac4c78 Set status to Paused, with informational message on how to undo. 2015-08-11 09:28:36 +01:00
Adam Collard a675fcf0ea Bail out if any services fail to get paused. 2015-08-10 13:49:18 +01:00
Adam Collard 097fd24355 s/filename/basename/ 2015-08-06 13:00:30 +01:00
Adam Collard 2ce721c618 Initial pause action 2015-07-17 18:12:04 +01:00
Adam Collard 8cdabc4120 Add __init__.py to allow actions to be imported 2015-07-17 17:35:05 +01:00
Adam Collard 8f00f5c5ab Add symlinked charmhelpers and lib 2015-07-17 11:45:37 +01:00
Adam Collard 211de2f3d0 Initial pause action 2015-07-17 11:43:48 +01:00