Hi,
I tried removing a replica 3 brick from a distributed replicated volume which holds the
ovirt hosted-engine VM.
As soon as I hit commit the VM went into pause, I tried to recover the volume ID
"daa292aa-be5c-426e-b124-64263bf8a3ee" from the remvoed bricks and now I am able
to do a "hosted-engine --vm-status
Error I see in the logs:
---------------------------------
MainThread::WARNING::2021-04-14
17:26:12,348::storage_broker::97::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(__init__)
Can't connect vdsm storage: Command Image.prepare with args {'imageID':
'9feffcfa-6af2-4de3-b7d8-e57b84d56003', 'storagepoolID':
'00000000-0000-0000-0000-000000000000', 'volumeID':
'daa292aa-be5c-426e-b124-64263bf8a3ee', 'storagedomainID':
'8db17b28-ecbb-4853-8a90-6ed2f69301eb'} failed:
(code=201, message=Volume does not exist:
(u'daa292aa-be5c-426e-b124-64263bf8a3ee',))
---------------------------------
on the following mount I see the volumeID twice:
------------------------
[root@vmm10 images]# find /rhev/data-center/mnt/glusterSD/192.168.0.4\:_engine/ -name
"daa292aa-be5c-426e-b124-64263bf8a3ee"
/rhev/data-center/mnt/glusterSD/192.168.0.4:_engine/8db17b28-ecbb-4853-8a90-6ed2f69301eb/images/9feffcfa-6af2-4de3-b7d8-e57b84d56003/daa292aa-be5c-426e-b124-64263bf8a3ee
/rhev/data-center/mnt/glusterSD/192.168.0.4:_engine/8db17b28-ecbb-4853-8a90-6ed2f69301eb/images/9feffcfa-6af2-4de3-b7d8-e57b84d56003/daa292aa-be5c-426e-b124-64263bf8a3ee
[root@vmm10 9feffcfa-6af2-4de3-b7d8-e57b84d56003]# ls -lh
total 131M
-rw-rw----. 1 vdsm kvm 64M Apr 14 19:40 daa292aa-be5c-426e-b124-64263bf8a3ee
-rw-rw----. 1 vdsm kvm 64M Apr 14 19:40 daa292aa-be5c-426e-b124-64263bf8a3ee
-rw-rw----. 1 vdsm kvm 1.0M Jul 1 2020 daa292aa-be5c-426e-b124-64263bf8a3ee.lease
-rw-rw----. 1 vdsm kvm 1.0M Jul 1 2020 daa292aa-be5c-426e-b124-64263bf8a3ee.lease
-rw-r--r--. 1 vdsm kvm 329 Jul 1 2020 daa292aa-be5c-426e-b124-64263bf8a3ee.meta
-rw-r--r--. 1 vdsm kvm 329 Jul 1 2020 daa292aa-be5c-426e-b124-64263bf8a3ee.meta
Any ideas on how to recover ?
Show replies by date