charm-swift-proxy/hooks
Corey Bryant 5f3735f884 py3: Switch packages to Python 3 for train and later
Switch package install to Python 3 for OpenStack Train and later.

When upgrading, remove any python-* packages that were explicitly
installated and then autoremove --purge any dependencies that are
no longer required.

This patch also includes the following related changes:
  * Use the common files package, swift, rather than python-swift
    as the package name when determining releases.
  * Drop the python2 shebang from manager.py in favor of specifying
    the interpreter on the subprocess call. The python interpreter
    version must match the python version of the OpenStack payload
    due to the swift library imports.
  * Enable the cPickle import in manager.py for Python 3
    (C-optimized module name is _pickle), and fix 'result'
    variable that is a set type but should be a dict type.

Change-Id: Ia3fdbf2020137bcf39039478ee3606717d3d6e20
Closes-Bug: #1841184
2019-10-10 06:51:20 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 18:12:11 +01:00
amqp-relation-broken Improve support for telemetry collection 2017-08-08 14:10:41 +01:00
amqp-relation-changed Improve support for telemetry collection 2017-08-08 14:10:41 +01:00
amqp-relation-departed Improve support for telemetry collection 2017-08-08 14:10:41 +01:00
amqp-relation-joined Improve support for telemetry collection 2017-08-08 14:10:41 +01:00
certificates-relation-changed Add vault certificates support 2018-06-19 11:16:41 +00:00
certificates-relation-departed Add vault certificates support 2018-06-19 11:16:41 +00:00
certificates-relation-joined Add vault certificates support 2018-06-19 11:16:41 +00:00
cluster-relation-changed Fixup missing files 2013-02-27 16:18:34 +00:00
cluster-relation-departed Use internal address for cluster comms if connected 2014-09-26 12:35:16 +01:00
cluster-relation-joined Fixup missing files 2013-02-27 16:18:34 +00:00
config-changed Fixup missing files 2013-02-27 16:18:34 +00:00
ha-relation-changed Fixup missing files 2013-02-27 16:18:34 +00:00
ha-relation-joined Fixup missing files 2013-02-27 16:18:34 +00:00
identity-service-relation-changed Fixup missing files 2013-02-27 16:18:34 +00:00
identity-service-relation-joined Fixup missing files 2013-02-27 16:18:34 +00:00
install Update pre-install hooks to fail on error 2019-02-08 15:40:39 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:56:33 +01:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
object-store-relation-joined Fixup missing files 2013-02-27 16:18:34 +00:00
post-series-upgrade Series Upgrade 2018-10-13 17:33:34 +00:00
pre-series-upgrade Series Upgrade 2018-10-13 17:33:34 +00:00
start Redux 2013-09-27 13:02:37 +01:00
stop Redux 2013-09-27 13:02:37 +01:00
swift-storage-relation-broken Fixup missing files 2013-02-27 16:18:34 +00:00
swift-storage-relation-changed Fixup missing files 2013-02-27 16:18:34 +00:00
swift-storage-relation-joined [hopem,r=] 2014-12-01 18:37:56 +00:00
swift_hooks.py py3: Switch packages to Python 3 for train and later 2019-10-10 06:51:20 +00:00
update-status Add hardening support 2016-03-24 11:36:26 +00:00
upgrade-charm [hopem,r=] 2015-11-24 13:35:26 +00:00