My Oracle Support Banner

OLVM: Adding KVM Host Fails With "Cannot Find Master Domain" (Doc ID 2683856.1)

Last updated on JULY 01, 2020

Applies to:

Linux OS - Version Oracle Linux 7.8 and later
Linux x86-64

Symptoms

When adding a KVM host to a cluster, it fails with "Cannot find master domain":

Engine logs reports below error:

ERROR (jsonrpc/1) [storage.TaskManager.Task] (Task='9985aa3a-722e-492e-9f52-79b1c6f2eb65') Unexp
ected 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 50, in method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1033, in connectStoragePool
spUUID, hostID, msdUUID, masterVersion, domainsMap)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1095, 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 1494, in setMasterDomain
raise se.StoragePoolMasterNotFound(self.spUUID, msdUUID)
StoragePoolMasterNotFound: Cannot find master domain: u'spUUID=394d3ee6-b238-11ea-a5e4-00163e7a181b, msdUUID=efcda75b-bae5-4d68-b3b4-1acb7d0e26a2'
2020-06-20 23:25:15,414-0400 INFO (jsonrpc/1) [storage.TaskManager.Task] (Task='9985aa3a-722e-492e-9f52-79b1c6f2eb65') aborting: Task is aborted: "Cannot find master domain: u'spUUID=394d3ee6-b238-11ea-a5e4-00163e7a181b, msdUUID=efcda75b-bae5-4d68-b3b4-1acb7d0e26a2'" - code 304 (task:1181)
2020-06-20 23:25:15,414-0400 ERROR (jsonrpc/1) [storage.Dispatcher] FINISH connectStoragePool error=Cannot find master domain: u'spUUID=394d3ee6-b238-11ea-a5e4-00163e7a181b, msdUUID=efcda75b-bae5-4d68-b3b4-1acb7d0e26a2' (dispatcher:83)

vdsm log reports below error:

INFO (jsonrpc/1) [vdsm.api] FINISH connectStoragePool error=Cannot find master domain: u'spUUID=394
d3ee6-b238-11ea-a5e4-00163e7a181b, msdUUID=efcda75b-bae5-4d68-b3b4-1acb7d0e26a2' from=::ffff:10.180.31.50,36582, flow_id=27a25116
, task_id=9985aa3a-722e-492e-9f52-79b1c6f2eb65 (api:52)
ERROR (jsonrpc/1) [storage.TaskManager.Task] (Task='9985aa3a-722e-492e-9f52-79b1c6f2eb65') Unexpecte
d 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 50, in method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1033, in connectStoragePool
spUUID, hostID, msdUUID, masterVersion, domainsMap)
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 1095, 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 1494, in setMasterDomain
raise se.StoragePoolMasterNotFound(self.spUUID, msdUUID)
StoragePoolMasterNotFound: Cannot find master domain: u'spUUID=394d3ee6-b238-11ea-a5e4-00163e7a181b, msdUUID=efcda75b-bae5-4d68-b3b4-1acb7d0e26a2'

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.