I have a storage data center that I can't use. It's a local one.
When I look on vdsm.log:
2019-04-02 10:55:48,336+0200 INFO (jsonrpc/2) [vdsm.api] FINISH connectStoragePool
error=Cannot find master domain: u'spUUID=063d1217-6194-48a0-943e-3d873f2147de,
msdUUID=49b1bd15-486a-4064-878e-8030c8108e09' from=::ffff:XXXXX,59590,
task_id=a56a5869-a219-4659-baa3-04f673b2ad55 (api:50)
2019-04-02 10:55:48,336+0200 ERROR (jsonrpc/2) [storage.TaskManager.Task]
(Task='a56a5869-a219-4659-baa3-04f673b2ad55') Unexpected error (task:875)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in
_run
return fn(*args, **kargs)
File "<string>", line 2, in connectStoragePool
File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1035, in
connectStoragePool
spUUID, hostID, msdUUID, masterVersion, domainsMap)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1097, in
_connectStoragePool
res = pool.connect(hostID, msdUUID, masterVersion)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 700, in
connect
self.__rebuild(msdUUID=msdUUID, masterVersion=masterVersion)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 1274, in
__rebuild
self.setMasterDomain(msdUUID, masterVersion)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 1495, in
setMasterDomain
raise se.StoragePoolMasterNotFound(self.spUUID, msdUUID)
StoragePoolMasterNotFound: Cannot find master domain:
u'spUUID=063d1217-6194-48a0-943e-3d873f2147de,
msdUUID=49b1bd15-486a-4064-878e-8030c8108e09'
2019-04-02 10:55:48,336+0200 INFO (jsonrpc/2) [storage.TaskManager.Task]
(Task='a56a5869-a219-4659-baa3-04f673b2ad55') aborting: Task is aborted:
"Cannot find master domain: u'spUUID=063d1217-6194-48a0-943e-3d873f2147de,
msdUUID=49b1bd15-486a-4064-878e-8030c8108e09'" - code 304 (task:1181)
2019-04-02 11:44:50,862+0200 INFO (jsonrpc/0) [vdsm.api] FINISH getSpmStatus
error=Unknown pool id, pool not connected:
(u'063d1217-6194-48a0-943e-3d873f2147de',) from=::ffff:10.83.16.34,46546,
task_id=cfb1c871-b1d4-4b1a-b2a5-f91ddfaba
54b (api:50)
2019-04-02 11:44:50,862+0200 ERROR (jsonrpc/0) [storage.TaskManager.Task]
(Task='cfb1c871-b1d4-4b1a-b2a5-f91ddfaba54b') Unexpected error (task:875)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in
_run
return fn(*args, **kargs)
File "<string>", line 2, in getSpmStatus
File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 634, in
getSpmStatus
pool = self.getPool(spUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 350, in
getPool
raise se.StoragePoolUnknown(spUUID)
StoragePoolUnknown: Unknown pool id, pool not connected:
(u'063d1217-6194-48a0-943e-3d873f2147de',)
063d1217-6194-48a0-943e-3d873f2147de is indeed the datacenter id and
49b1bd15-486a-4064-878e-8030c8108e09 the storage domain:
<storage_domain
href="/ovirt-engine/api/storagedomains/49b1bd15-486a-4064-878e-8030c8108e09"
id="49b1bd15-486a-4064-878e-8030c8108e09">
<storage>
<type>fcp</type>
<volume_group id="cEOxNG-R4fv-EDo3-Y3lm-ZMAH-xOT4-Nn8QyP">
<logical_units>
</logical_units>
</volume_group>
</storage>
<storage_format>v4</storage_format>
<data_centers>
<data_center
href="/ovirt-engine/api/datacenters/063d1217-6194-48a0-943e-3d873f2147de"
id="063d1217-6194-48a0-943e-3d873f2147de"/>
</data_centers>
</storage_domain>
On engine.log, I'm also getting:
2019-04-02 11:43:57,531+02 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-12) [] Command
'org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand'
return value '
TaskStatusListReturn:{status='Status [code=654, message=Not SPM: ()]'}
'
lsblk shows that the requested volumes are here:
lsblk
NAME
MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
cciss!c0d1 104:16
0 1.9T 0 disk
|-49b1bd15--486a--4064--878e--8030c8108e09-metadata 253:0
0 512M 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-outbox 253:1
0 128M 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-xleases 253:2
0 1G 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-leases 253:3
0 2G 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-ids 253:4
0 128M 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-inbox 253:5
0 128M 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-master 253:6
0 1G 0 lvm
|-49b1bd15--486a--4064--878e--8030c8108e09-6225ddc3--b600--49ef--8de4--6e53bf4cad1f 253:7
0 128M 0 lvm
`-49b1bd15--486a--4064--878e--8030c8108e09-bdac3a3a--8633--41bf--921d--db2cf31f5d1c 253:8
0 128M 0 lvm
There is no usefull data on them. So I don't mind destroying everything. But using the
GUI I can't do any thing on that domain.
I'm runing 4.2.7.5-1.el7 on rhel 7.6