-
Committer:
mergebot at canonical
-
Author(s):
"Haw Loeung"
-
Date:
2021-03-07 22:31:55 UTC
-
mfrom:
(325.1.1 ubuntu-repository-cache-charm)
-
Revision ID:
mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20210307223155-9voi8v1vccbzm4il
Don't set health-check-disabled flag in apache.create_metadata_site()
On non-leader units, metadata sync calls service.pause() which then
calls this. This causes a brief period where the unit is disabled and
not serving requests. It's useful for initial unit provisioning but
not so on a fully functional unit where metadata points to an existing
copy on disk.
NOTE: The setting of health-check-disabled flag was introduced in r309 (MP:398100).
Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/dont-disable-unit-on-failover-or-pause/+merge/399254
Reviewed-by: Paul Collins <paul.collins@canonical.com>