git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Cannot delete public network?


Hello Andrija,

Your suggestion helped!

There were  issues with the system VMs getting IP address so I had to delete them from the hypervisor and after that I set UPDATE vm_instance SET removed=now() for the vms in the db to make them disappear in CD.

I did not know that ip relocation remained for those VMs so setting it to NULL did the job.

Thank you!

Best regards,
Jordan

-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@xxxxxxxxx] 
Sent: Thursday, September 20, 2018 5:23 PM
To: users <users@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Cannot delete public network?

Did you try disabling the zone first, delete ssvm and cpvm? Then try to delete it...

Otherwise, you can check the DB, there is table named user_ip_address (from top of my kind, not sure of name) and there you can check if any public IP is assigned etc.

Best
Andrija

On Thu, Sep 20, 2018, 15:24 Yordan Kostov <Yordan.Kostov@xxxxxxxxxxxxxxxxx>
wrote:

> Dear all,
>
>
>
>                 I am trying to remove a zone from Cloudstack.
>
>                 Before I do that I went to delete the physical 
> networks but I get the error message (for the one that holds public 
> vlan) : *The Physical Network is not deletable because there are 
> public IP addresses allocated for this physical network.*
>
>
>
> When I go in and try to delete the network range itself it says the 
> IPs are in use, but there are no VMs.
> There are no pods or hosts in the zone (already deleted).
>
>
> Is there a way to release the IPs or is this a bug?
>
>
>
>
>
>
>
> Best regards,
>
> Jordan Kostov
>
>
>