(I'm always talking about the last ovirt version that is currently engine:
4.5.2.5-1.el8, node: ovirt-node-ng-4.5.2-0.20220810.0)
I tried to add an iSCSI storage domain adding a new vlan network where the storage is
attached.... this gave a completely mess-up of the storage engine.
I would like to restart the procedure again and to accomplish this I have do remove the
storage domain.
To do this, I added manually the vlan to the nodes as I'm configured using linux
bridge simple networking, so I discovered I have not to manage ovs environment.
I currently have the storage domain in maintenance mode and I've successfully
regenerated the discovery informations as the network to connecto to the storage is
online.
But I cannot detach the storage and I cannot activate the storage domain, so I'm
completely stuck.
This is the related log in the engine while I was trying to detach the storage:
2022-09-26 07:20:48,043Z ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-55008) [7a5a5413-36d0-4a15-b555-c9801f92483d]
Command 'DetachStorageDomainVDSCommand(
DetachStorageDomainVDSCommandParameters:{storagePoolId='da146814-f823-40e0-bd7b-8478dcfa38cd',
ignoreFailoverLimit='false',
storageDomainId='aac79175-ab2b-4b5b-a6e4-9feef9ce17ab',
masterDomainId='00000000-0000-0000-0000-000000000000', masterVersion='8',
force='false'})' execution failed: IRSGenericException: IRSErrorException:
Storage domain not in pool: 'domain=aac79175-ab2b-4b5b-a6e4-9feef9ce17ab,
pool=da146814-f823-40e0-bd7b-8478dcfa38cd'
as you can see it seem there is a problem in the engine database.
I saw here (
https://lists.ovirt.org/pipermail/users/2015-January/030504.html) that someone
worked directly on the engine db to delete the storage domain but I read somewhere else
that the domain information is also mapped in a lvm volume metadata. What can I do from
here?
Thank you.