Hi, just for record
I managed it by direct db modification
su - postgres
psql engine
SELECT vm_guid, vm_name FROM vm_static WHERE vm_name LIKE '%HostedEngine%';
vm_guid | vm_name
--------------------------------------+--------------
96a6b6a7-75a9-472a-9d4f-1502b415470a | HostedEngine
(1 row)
then delete active vm snapshot
SELECT snapshot_id, status, description FROM snapshots WHERE vm_id =
'96a6b6a7-75a9-472a-9d4f-1502b415470a';
snapshot_id | status | description
--------------------------------------+--------+-------------
0952d76d-b39e-482d-b612-d898921ed7be | OK | Active VM
(1 row)
engine=# DELETE FROM snapshots WHERE vm_id =
'96a6b6a7-75a9-472a-9d4f-1502b415470a';
DELETE 1 then delete vm itself DELETE FROM vm_static WHERE vm_name = 'HostedEngine'; DELETE 1At this point HostedEngine vm is not listed in UI and I was able switch hosted engine storage domain to maintenance, unplug and destroy it.
engine-setup is not complaining about "not in global maintenance" state anymore.
Cheers, Jiri On 2/16/25 10:07, Jiří Sléžka via Users wrote:
Hi,few months ago I migrated our oVirt setup from self hosted engine to standalone. After that I undeploy HE from hosts. All is working fine but* HE vm is still in list of all vms (sure, shutdown) and cannot be removed through UI* also I would like to remove HE domain* when doing engine-setup I have to use workaround as oVirt is not in global maintenance (and don't need to be as it is standalone deployment now)engine-setup --offline --otopi-environment=OVESETUP_CONFIG/ continueSetupOnHEVM=bool:Trueyes, that are just glitches but I would like to clean it up... Thanks for your recommendations Jiri _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/P3SZ6URONKSTIJDG5T4P7UZRNY66F4PQ/
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/PUEZCNLPEWVVREYCMPEKYM43JYG7DWFM/

