I am trying to get a pool going within oVIRT. When I go to create the pool
it errors out on trying to spin up the instances. However if i manually
spin up an instance from the Template it comes up with no issues. I noticed
inside the vdsm.log i see messages about "'Cannot get parent volume' - code
216", however I looked at the NFS share and the permissions appear right
vdsm:kvm
[root@server ~]# ls -al
/rhev/data-center/5824bb37-0258-026d-0107-00000000004d/f8d5f826-bd95-4229-9e87-9005b79f2448/images/9456183f-2c4e-42c5-8902-6e96b8eaff7e/66059e14-e57e-4fba-a7fe-01a655a051f0
-rw-rw----. 1 vdsm kvm 75161927680 Dec 15 18:00
/rhev/data-center/5824bb37-0258-026d-0107-00000000004d/f8d5f826-bd95-4229-9e87-9005b79f2448/images/9456183f-2c4e-42c5-8902-6e96b8eaff7e/66059e14-e57e-4fba-a7fe-01a655a051f0
volParent.share(imgPath)
VolumeCannotGetParent: Cannot get parent volume: (u"Couldn't get parent
b88c8dbd-51ce-4821-add5-e241848274eb for volume
247eb9bc-a401-49df-a917-08dde7c2d2b1: Cannot share volume:
u'src=/rhev/data-center/5824bb37-0258-026d-0107-00000000004d/f8d5f826-bd95-4229-9e87-9005b79f2448/images/acb3abf0-d3db-454b-890e-9de7c34a2f70/b88c8dbd-51ce-4821-add5-e241848274eb,
dst=/rhev/data-center/5824bb37-0258-026d-0107-00000000004d/f8d5f826-bd95-4229-9e87-9005b79f2448/images/9edc4fd2-da95-4ab0-9b96-fa73aa5959e8/b88c8dbd-51ce-4821-add5-e241848274eb:
[Errno 524] Unknown error 524'",)
62e50060-1ce5-4b5c-a015-95c63c023929::DEBUG::2017-01-18
22:15:55,052::task::921::Storage.TaskManager.Task::(_runJobs)
Task=`62e50060-1ce5-4b5c-a015-95c63c023929`::aborting: Task is aborted:
'Cannot get parent volume' - code 216
volParent.share(imgPath)
VolumeCannotGetParent: Cannot get parent volume: (u"Couldn't get parent
b88c8dbd-51ce-4821-add5-e241848274eb for volume
a7a012df-e829-4798-9359-e6ef28b04016: Cannot share volume:
u'src=/rhev/data-center/5824bb37-0258-026d-0107-00000000004d/f8d5f826-bd95-4229-9e87-9005b79f2448/images/acb3abf0-d3db-454b-890e-9de7c34a2f70/b88c8dbd-51ce-4821-add5-e241848274eb,
dst=/rhev/data-center/5824bb37-0258-026d-0107-00000000004d/f8d5f826-bd95-4229-9e87-9005b79f2448/images/af84c880-6c04-42a5-9c5c-3a7f2e835311/b88c8dbd-51ce-4821-add5-e241848274eb:
[Errno 524] Unknown error 524'",)
b634bede-6f35-47a9-87fa-a11694da34b1::DEBUG::2017-01-18
22:15:56,340::task::921::Storage.TaskManager.Task::(_runJobs)
Task=`b634bede-6f35-47a9-87fa-a11694da34b1`::aborting: Task is aborted:
'Cannot get parent volume' - code 216
jsonrpc.Executor/1::DEBUG::2017-01-18
22:16:05,664::taskManager::107::Storage.TaskManager::(getTaskStatus)
Return. Response: {'code': 216, 'message': 'Cannot get parent
volume',
'taskState': 'finished', 'taskResult': 'cleanSuccess',
'taskID':
'62e50060-1ce5-4b5c-a015-95c63c023929'}
jsonrpc.Executor/1::DEBUG::2017-01-18
22:16:05,664::taskManager::107::Storage.TaskManager::(getTaskStatus)
Return. Response: {'code': 216, 'message': 'Cannot get parent
volume',
'taskState': 'finished', 'taskResult': 'cleanSuccess',
'taskID':
'b634bede-6f35-47a9-87fa-a11694da34b1'}
jsonrpc.Executor/1::DEBUG::2017-01-18
22:16:05,664::taskManager::124::Storage.TaskManager::(getAllTasksStatuses)
Return: {'62e50060-1ce5-4b5c-a015-95c63c023929': {'code': 216,
'message':
'Cannot get parent volume', 'taskState': 'finished',
'taskResult':
'cleanSuccess', 'taskID':
'62e50060-1ce5-4b5c-a015-95c63c023929'},
'b634bede-6f35-47a9-87fa-a11694da34b1': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': 'b634bede-6f35-47a9-87fa-a11694da34b1'}}
jsonrpc.Executor/1::INFO::2017-01-18
22:16:05,665::logUtils::52::dispatcher::(wrapper) Run and protect:
getAllTasksStatuses, Return response: {'allTasksStatus':
{'62e50060-1ce5-4b5c-a015-95c63c023929': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': '62e50060-1ce5-4b5c-a015-95c63c023929'},
'b634bede-6f35-47a9-87fa-a11694da34b1': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': 'b634bede-6f35-47a9-87fa-a11694da34b1'}}}
jsonrpc.Executor/1::DEBUG::2017-01-18
22:16:05,665::task::1193::Storage.TaskManager.Task::(prepare)
Task=`a26d2abd-84c9-48cf-ab0f-5dd225765f9a`::finished: {'allTasksStatus':
{'62e50060-1ce5-4b5c-a015-95c63c023929': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': '62e50060-1ce5-4b5c-a015-95c63c023929'},
'b634bede-6f35-47a9-87fa-a11694da34b1': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': 'b634bede-6f35-47a9-87fa-a11694da34b1'}}}
jsonrpc.Executor/1::DEBUG::2017-01-18
22:16:05,665::__init__::555::jsonrpc.JsonRpcServer::(_handle_request)
Return 'Host.getAllTasksStatuses' in bridge with
{'62e50060-1ce5-4b5c-a015-95c63c023929': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': '62e50060-1ce5-4b5c-a015-95c63c023929'},
'b634bede-6f35-47a9-87fa-a11694da34b1': {'code': 216, 'message':
'Cannot
get parent volume', 'taskState': 'finished', 'taskResult':
'cleanSuccess',
'taskID': 'b634bede-6f35-47a9-87fa-a11694da34b1'}}
--
Devin Acosta
Red Hat Certified Architect, LinuxStack
602-354-1220 || devin(a)linuxguru.co