Removing ceph-iscsi unit does not remove a gateway
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph iSCSI Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When ceph-iscsi unit is removed with `juju remove-unit ceph-iscsi/0`, it does not clean up after itself.
Reviewing the configured gateways with `gwcli` reveals a stale gateway in an "(UNKNOWN)" state:
1 gateway is inaccessible - updates will be disabled
/iscsi-
o- gateways .......
o- node02.maas .......
o- node10.maas .......
The user must delete the gateway manually with:
/iscsi-
I'd suggest that when the charm unit is gracefully removed (e.g. with `juju remove-unit`) it cleans up after itself and removes the gateway.