Pawel,<br><br>I'd identify the individual resources created by magnum and delete them using their native process (e.g. openstack server delete). Once I was certain all of the resources were actually gone, I'd drop into the magnum and heat databases and remove the references to them (assuming that manually cleaning up the aforementioned provisioned resources doesn't let you delete the cluster/stack in the normal manner).<br><br>Chris<br><br>Sent from ProtonMail mobile<br><br><br><br>-------- Original Message --------<br>On Dec 2, 2019, 10:53, Pawel Konczalski < pawel.konczalski@everyware.ch> wrote:<blockquote class="protonmail_quote"><br><p dir="ltr">Hello,</p>
<p dir="ltr">i try to delete a broken magnum (v7.1.1.dev21) cluster but neither the<br>
cluster or the stack entries can be deleted. Any idea how to force / fix<br>
this?</p>
<p dir="ltr">BR</p>
<p dir="ltr">Pawel<br><br></p>
<p dir="ltr">openstack coe cluster list | grep DELETE_FAILED</p>
<p dir="ltr">openstack coe cluster delete ae5c347c-3ba8-4d<a href="tel:3991250">39-9125-0</a>bdadef253b4</p>
<p dir="ltr">openstack coe cluster show ae5c347c-3ba8-4d<a href="tel:3991250">39-9125-0</a>bdadef253b4<br>
| status | DELETE_FAILED<br>
... |---<br>
| status_reason | Resource DELETE failed: JSONDecodeError:<br>
resources.kube_masters.resources[1].resources.etcd_pool_member:<br>
Expecting value: line 1 column 1 (char 0)<br>
...<br>
| faults | {'1': 'JSONDecodeError:<br>
resources[1].resources.etcd_pool_member: Expecting value: line 1 column<br>
1 (char 0)', 'kube_masters': 'JSONDecodeError:<br>
resources.kube_masters.resources[1].resources.etcd_pool_member:<br>
Expecting value: line 1 column 1 (char 0)', '0': 'JSONDecodeError:<br>
resources[0].resources.api_pool_member: Expecting value: line 1 column 1<br>
(char 0)', 'api_pool_member': 'JSONDecodeError:<br>
resources.api_pool_member: Expecting value: line 1 column 1 (char 0)',<br>
'etcd_pool_member': 'JSONDecodeError: resources.etcd_pool_member:<br>
Expecting value: line 1 column 1 (char 0)'} |<br></p>
<p dir="ltr">openstack stack list | grep DELETE_FAILED</p>
<p dir="ltr">openstack stack delete 2a907fc4-7b40-43f6-9254-d4084bd056b8</p>
<p dir="ltr">t Payload DELETE: ResourceGroup "kube_masters"<br>
[85e1c6be-bdc8-41a3-ba0f-5ca65cdea8ec] Stack<br>
"slu-k8s-cluster2-6xiqrpfe7jd6" [2a907fc4-7b40-43f6-9254-d4084bd056b8]<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource Traceback (most<br>
recent call last):<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource File<br>
"/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/<a href="http://resource.py">resource.py</a>",<br>
line 924, in _action_recorder<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource yield<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource File<br>
"/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/<a href="http://resource.py">resource.py</a>",<br>
line 2034, in delete<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource *action_args)<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource File<br>
"/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/<a href="http://scheduler.py">scheduler.py</a>",<br>
line 346, in wrapper<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource step =<br>
next(subtask)<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource File<br>
"/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/<a href="http://resource.py">resource.py</a>",<br>
line 986, in action_handler_task<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource done =<br>
check(handler_data)<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource File<br>
"/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/resources/<a href="http://stack_resource.py">stack_resource.py</a>",<br>
line 596, in check_delete_complete<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource return<br>
self._check_status_complete(self.DELETE)<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource File<br>
"/var/lib/kolla/venv/lib/python2.7/site-packages/heat/engine/resources/<a href="http://stack_resource.py">stack_resource.py</a>",<br>
line 463, in _check_status_complete<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource action=action)<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource ResourceFailure:<br>
JSONDecodeError:<br>
resources.kube_masters.resources[1].resources.etcd_pool_member:<br>
Expecting value: line 1 column 1 (char 0)<br>
2019-12-02 12:43:<a href="tel:0888722">08.887 22</a> ERROR heat.engine.resource</p>
<p dir="ltr"># openstack stack list --nested | grep 7390a9b1d4be4d75b4bd08ab8107e4ff<br>
| 77848f9e-ff0c-4f7a-9fd7-8ed9e979b998 |<br>
test-k8s-cluster2-6xiqrpfe7jd6-kube_masters-mlvsrucewmsd-1-tpqatosey33u<br>
| 7390a9b1d4be4d75b4bd08ab8107e4ff | DELETE_FAILED |<br>
2019-05-13T15:28:04Z | 2019-12-02T15:30:53Z |<br>
85e1c6be-bdc8-41a3-ba0f-5ca65cdea8ec |<br>
| 85e1c6be-bdc8-41a3-ba0f-5ca65cdea8ec |<br>
test-k8s-cluster2-6xiqrpfe7jd6-kube_masters-mlvsrucewmsd |<br>
7390a9b1d4be4d75b4bd08ab8107e4ff | DELETE_FAILED |<br>
2019-05-13T15:28:03Z | 2019-12-02T15:30:53Z |<br>
2a907fc4-7b40-43f6-9254-d4084bd056b8 |<br>
| 4c91c53b-42f4-41ca-a97c-49d<a href="tel:9261069">9261069</a>d6 |<br>
test-k8s-cluster2-6xiqrpfe7jd6-kube_masters-mlvsrucewmsd-0-hm2ucynq6hkc<br>
| 7390a9b1d4be4d75b4bd08ab8107e4ff | DELETE_FAILED |<br>
2019-05-13T15:28:03Z | 2019-12-02T15:30:54Z |<br>
85e1c6be-bdc8-41a3-ba0f-5ca65cdea8ec |<br>
| 2a907fc4-7b40-43f6-9254-d4084bd056b8 | test-k8s-cluster2-6xiqrpfe7jd6<br>
| 7390a9b1d4be4d75b4bd08ab8107e4ff | DELETE_FAILED |<br>
2019-05-13T15:24:45Z | 2019-12-02T15:30:53Z |<br>
None |</p>
</div>