[ovirt-users] Re: How to delete obsolete Data Centers with no hosts, but with domains inside

2019-09-25 Thread Benny Zlotnik
Generally, the idea is that without a host there is no way to tell what the status of the storage domain actually is and it might be used by some unknown host. That said, feel free to submit an RFE[1] if you think this can be useful. [1]

[ovirt-users] Re: How to delete obsolete Data Centers with no hosts, but with domains inside

2019-09-25 Thread Claudio Soprano
I'm glad that i solved the problem but i would like to know why in the GUI: 1) The Force Remove Data Center didn't work ? I can understand the Remove Data Center is the standard way to do it and it checks all is working before doing it, but if it doesn't work the Force Remove would remove it

[ovirt-users] Re: How to delete obsolete Data Centers with no hosts, but with domains inside

2019-09-24 Thread Claudio Soprano
Thanks, i solved putting all the Storage domains in maintenance manually changing the status to the value of 6 in the postgres database like you suggested. After that i could remove the data center from the ovirt management interface. Thanks again for your help Claudio Il 24/09/19 13:50,

[ovirt-users] Re: How to delete obsolete Data Centers with no hosts, but with domains inside

2019-09-24 Thread Benny Zlotnik
ah yes, it's generally a good idea to move them to maintenance in the case you describe you can brobably change the status manually in the database, the table is storage_pool_iso_map, and the status code for maintenance is 6 On Tuesday, September 24, 2019, Claudio Soprano wrote: > Yes, i tried

[ovirt-users] Re: How to delete obsolete Data Centers with no hosts, but with domains inside

2019-09-24 Thread Claudio Soprano
Yes, i tried it and i got "Error while executing action: Cannot remove Data Center which contains Storage Domains that are not in Maintenance status. -Please deactivate all domains and wait for tasks to finish before removing the Data Center." But the domains are only attachable or

[ovirt-users] Re: How to delete obsolete Data Centers with no hosts, but with domains inside

2019-09-24 Thread Benny Zlotnik
Did you try to force remove the DC? You have the option in the UI On Tue, Sep 24, 2019 at 1:07 PM Claudio Soprano wrote: > > Hi to all, > > We are using ovirt to manage 6 Data Centers, 3 of them are old Data > Centers with no hosts inside, but with domains, storage and VMs not running. > > We