GitHub user Pearl1594 added a comment to the discussion: Unable to delete Zone

@jack99trade Based on the error message, it indicates that the pod has hosts - 
these hosts could be physical hosts or even SSVM / CPVM. You can check it be 
running the following:
```
select * from host where pod_id = <ID_of_pod> where removed is null \G
```
If you see any un-removed host, mark the removed field with the current time

```
update host set removed = now() where id = (select id from host where pod_id = 
<ID_of_pod> where removed is null);
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/9532#discussioncomment-10341321

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to