charm-cinder/actions/remove-services
Jorge Niedbalski b299cc84be Cleanup action for service-list after deploying HA.
This is a workaround for LP: #1493931 in order to keep the
output of cinder service-list clean after deploying a HA.

The rationale behind this is to expose a way to cleanup the
services table on the database from unused ones ,
those services were
created by cinder before the storage relation is joined (particularly
for stateless ones).

This action also exposes the host option to specify
the host to be removed.

By default if no host is provided, this action will
cleanup all the entries different to the ones
specified on the DEFAULT_SERVICES constant.

An example of execution can be found on the comment
section of this proposal.

Change-Id: I4a5e682e44206f7b77d873cb1fc63e3eae86aad5
Related-Bug: 1493931
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
2016-05-18 19:55:18 -04:00

Symbolic link
1 line
18 B
Plaintext

remove_services.py