
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, Benny Zlotnik ha scritto:
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 <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>> wrote:
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 activable, so i don't know what to do.
Claudio
Il 24/09/19 12:19, Benny Zlotnik ha scritto:
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 <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>>
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 left them because we wanted to have some backups in case of failure of the new Data Centers created.
Time pass and now we would like to remove these Data Centers, but
we got
no way for now to remove them.
If we try to remove the Storage Domains (using remove o destroy) we get
"Error while executing action: Cannot destroy the master Storage Domain from the Data Center without another active Storage Domain to take its place. -Either activate another Storage Domain in the Data Center, or remove the Data Center. -If you have problems with the master Data Domain, consider following the recovery process described in the documentation, or contact your system administrator."
if we try to remove the Data Center directly we get
"Error while executing action: Cannot remove Data Center. There is no active Host in the Data Center."
How can we solve the problem ?
It can be done via ovirt-shell or using some script or via ovirt management interface ?
Thanks in advance
Claudio _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SADE4JVXJYKZZQ...