charm-swift-storage/hooks
Edin Sarajlic 9feb5e5596 Monitor Swift Object/Container/Account API availability
As per the bug report, it's not enough to simply monitor that the
appropriate process is alive; there have been instances of the process
being alive but the port/API being unavailable.

This patch adds monitoring for Object/Container/Account API
availability.

I've tested the fix in my small test environment and I can confirm
it's working.

For reference, the following branch/commit was used as a functional
test (later rejected with the aim of moving the checks to Mojo):
https://github.com/openstack-charmers/zaza-openstack-tests/pull/395

Change-Id: I60c5b74279f71ca8f8bc769c93af2eab1f59e002
Closes-Bug: #1854299
2020-08-28 10:13:01 +10:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 18:15:00 +01:00
block-devices-storage-attached Add support for block device encryption 2018-05-08 12:52:37 +01:00
block-devices-storage-detached Add support for block device encryption 2018-05-08 12:52:37 +01:00
config-changed Update symlinks. 2013-07-19 14:26:50 -07:00
install Update pre-install hooks to fail on error 2019-02-08 15:41:29 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:57:37 +01:00
nrpe-external-master-relation-changed [bradm] Adding nrpe checks, handle rsyncd config fragments 2014-10-30 00:52:15 -05:00
nrpe-external-master-relation-joined [bradm] Adding nrpe checks, handle rsyncd config fragments 2014-10-30 00:52:15 -05:00
post-series-upgrade Series Upgrade 2018-10-13 17:29:48 +00:00
pre-series-upgrade Series Upgrade 2018-10-13 17:29:48 +00:00
secrets-storage-relation-broken Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-changed Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-departed Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-joined Add support for block device encryption 2018-05-08 12:52:37 +01:00
start Update of all Havana / Saucy / python-redux work: 2013-10-15 12:48:33 +01:00
stop Update of all Havana / Saucy / python-redux work: 2013-10-15 12:48:33 +01:00
storage.bootstrap Add support for block device encryption 2018-05-08 12:52:37 +01:00
storage.real Add support for block device encryption 2018-05-08 12:52:37 +01:00
swift-storage-relation-changed Update symlinks. 2013-07-19 14:26:50 -07:00
swift-storage-relation-departed Swift storage ACLs 2017-11-07 10:24:53 -08:00
swift-storage-relation-joined Update symlinks. 2013-07-19 14:26:50 -07:00
swift_storage_hooks.py Monitor Swift Object/Container/Account API availability 2020-08-28 10:13:01 +10:00
update-status Add hardening support 2016-03-24 11:11:58 +00:00
upgrade-charm Install prerequisite packages on charm upgrade. 2018-11-14 19:27:57 +00:00
upgrade-charm.real Install prerequisite packages on charm upgrade. 2018-11-14 19:27:57 +00:00