charm-glance/hooks
Ryan Beisner 8b2c46cff7
Update pre-install hooks to fail on error
The pre-install operations may fail, yet that failure is not
elevated to the user. This masks the failure and makes early
package install issues difficult to troubleshoot.

If the basic pre-install script fails, the charm should not
proceed to later hooks as the requirements may not be met.

Hashbangs for bash should specify -e (errexit) on all of the
pre-install bash scripts.

Change-Id: Iac27d10d928bd0cca60a52564fab4d8082ca1edb
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-08 15:49:35 -06:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 17:23:19 +01:00
amqp-relation-changed Add support for rabbitmq use for ceilometer notifications 2013-10-17 15:15:56 +01:00
amqp-relation-joined Add support for rabbitmq use for ceilometer notifications 2013-10-17 15:15:56 +01:00
ceph-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
ceph-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
ceph-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
certificates-relation-changed Add support for tls-certificates relation 2018-05-15 14:49:34 +00:00
certificates-relation-departed Add support for tls-certificates relation 2018-05-15 14:49:34 +00:00
certificates-relation-joined Add support for tls-certificates relation 2018-05-15 14:49:34 +00:00
cinder-volume-service-relation-broken Add support for storage of images in Cinder 2016-08-24 10:56:55 +01:00
cinder-volume-service-relation-joined Add support for storage of images in Cinder 2016-08-24 10:56:55 +01:00
cluster-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
cluster-relation-departed Update symlinks 2013-06-10 13:06:33 -04:00
cluster-relation-joined Add missing stuff 2014-07-03 14:07:25 +01:00
config-changed Update symlinks 2013-06-10 13:06:33 -04:00
glance_contexts.py Add support for image_size_cap in charm config 2018-12-11 23:04:16 +01:00
glance_relations.py Use chelper generate_ha_relation_data for ha rel 2018-12-04 18:28:11 +00:00
glance_utils.py upgrade: preserve glance-registry for Queens 2019-01-23 16:59:28 +00:00
ha-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
ha-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
identity-service-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
identity-service-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
identity-service-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
image-service-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
install Update pre-install hooks to fail on error 2019-02-08 15:49:35 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:39:12 +01:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
object-store-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
object-store-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
object-store-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
post-series-upgrade Series Upgrade 2018-09-14 20:58:07 -07:00
pre-series-upgrade Series Upgrade 2018-09-14 20:58:07 -07:00
shared-db-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
shared-db-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
shared-db-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
start Update symlinks 2013-06-10 13:06:33 -04:00
stop Update symlinks 2013-06-10 13:06:33 -04:00
storage-backend-relation-broken Allow to provide configuration for specific cinder backend 2016-08-26 17:21:11 +03:00
storage-backend-relation-changed Allow to provide configuration for specific cinder backend 2016-08-26 17:21:11 +03:00
update-status Refactor to assess status after every hook execution, add update-status hook 2015-10-07 16:42:25 -07:00
upgrade-charm Drop charm supplied paste.ini configurations 2016-03-10 11:46:02 +00:00