Unable to remove resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-interface-hacluster |
Fix Released
|
Undecided
|
Martin Kalcok |
Bug Description
I think it's currently not possible to remove crm resources created via this interface.
Root of the problem is that method `ResourceManage
To illustrate, I was trying to implement following workflow:
Start with no resources configured -> Add resource named "service_
And following are the snippets of the relation data in the "hacluster" charm.
No resources configured:
```
data:
egress-subnets: 10.5.0.59/32
ingress-address: 10.5.0.59
private-address: 10.5.0.59
```
Resource Added
```
data:
egress-subnets: 10.5.0.252/32
ingress-address: 10.5.0.252
json_
monitor interval=\"10s\""}'
json_resources: '{"service_
private-address: 10.5.0.252
```
Resource Removed
```
data:
corosync_
egress-subnets: 10.5.0.252/32
ingress-address: 10.5.0.252
json_
json_
monitor interval=\"10s\""}'
json_resources: '{"service_
```
Martin.
---
Changed in charm-interface-hacluster: | |
status: | New → In Progress |
Proposed change: https:/ /review. opendev. org/c/openstack /charm- interface- hacluster/ +/821558