GitHub user jack99trade 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);
> ```

Thank you @Pearl1594  I have done this and finally its gone :)

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

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

Reply via email to