Hi!
I have installed oVirt using the iso ovirt-node-ng-installer-4.3.2-2019031908.el7. I the
did run the Host-engine deployment through Cockpit.
I got an error when it tries to create the domain storage. It sucessfully mounted the
NFS-share on the host. Bellow is the error I got:
2019-04-14 10:40:38,967+0200 INFO ansible skipped {'status': 'SKIPPED',
'ansible_task': u'Check storage domain free space',
'ansible_host': u'localhost', 'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_type': 'task'}
2019-04-14 10:40:38,967+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7fb6918ad9d0> kwargs
2019-04-14 10:40:39,516+0200 INFO ansible task start {'status': 'OK',
'ansible_task': u'ovirt.hosted_engine_setup : Activate storage domain',
'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_type': 'task'}
2019-04-14 10:40:39,516+0200 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup :
Activate storage domain kwargs is_conditional:False
2019-04-14 10:40:41,923+0200 DEBUG var changed: host "localhost" var
"otopi_storage_domain_details" type "<type 'dict'>"
value: "{
"changed": false,
"exception": "Traceback (most recent call last):\n File
\"/tmp/ansible_ovirt_storage_domain_payload_xSFxOp/__main__.py\", line 664, in
main\n storage_domains_module.post_create_check(sd_id)\n File
\"/tmp/ansible_ovirt_storage_domain_payload_xSFxOp/__main__.py\", line 526, in
post_create_check\n id=storage_domain.id,\n File
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py\", line 3053, in
add\n return self._internal_add(storage_domain, headers, query, wait)\n File
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py\", line 232, in
_internal_add\n return future.wait() if wait else future\n File
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py\", line 55, in wait\n
return self._code(response)\n File
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py\", line 229, in
callback\n self._check_fault(response)\n File
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py\", line 132, in
_check_fault\n self._raise_error(response
, body)\n File \"/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py\",
line 118, in _raise_error\n raise error\nError: Fault reason is \"Operation
Failed\". Fault detail is \"[]\". HTTP response code is 400.\n",
"failed": true,
"msg": "Fault reason is \"Operation Failed\". Fault detail is
\"[]\". HTTP response code is 400."
}"
2019-04-14 10:40:41,924+0200 DEBUG var changed: host "localhost" var
"ansible_play_hosts" type "<type 'list'>" value:
"[]"
2019-04-14 10:40:41,924+0200 DEBUG var changed: host "localhost" var
"play_hosts" type "<type 'list'>" value: "[]"
2019-04-14 10:40:41,924+0200 DEBUG var changed: host "localhost" var
"ansible_play_batch" type "<type 'list'>" value:
"[]"
2019-04-14 10:40:41,924+0200 ERROR ansible failed {'status': 'FAILED',
'ansible_type': 'task', 'ansible_task': u'Activate storage
domain', 'ansible_result': u'type: <type \'dict\'>\nstr:
{\'_ansible_parsed\': True, u\'exception\': u\'Traceback (most recent
call last):\\n File
"/tmp/ansible_ovirt_storage_domain_payload_xSFxOp/__main__.py", line 664, in
main\\n storage_domains_module.post_create_check(sd_id)\\n File
"/tmp/ansible_ovirt_storage_domain_payload_xSFxOp/__main__.py", line 526',
'task_duration': 2, 'ansible_host': u'localhost',
'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}
2019-04-14 10:40:41,924+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7fb691843190> kwargs
ignore_errors:None
2019-04-14 10:40:41,928+0200 INFO ansible stats {
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_playbook_duration": "00:37 Minutes",
"ansible_result": "type: <type 'dict'>\nstr:
{u'localhost': {'unreachable': 0, 'skipped': 6, 'ok': 23,
'changed': 1, 'failures': 1}}",
"ansible_type": "finish",
"status": "FAILED"
}
2019-04-14 10:40:41,928+0200 INFO SUMMARY:
Duration Task Name
-------- --------
[ < 1 sec ] Execute just a specific set of steps
[ 00:01 ] Force facts gathering
[ 00:01 ] Check local VM dir stat
[ 00:01 ] Obtain SSO token using username/password credentials
[ 00:01 ] Fetch host facts
[ < 1 sec ] Fetch cluster ID
[ 00:01 ] Fetch cluster facts
[ 00:01 ] Fetch Datacenter facts
[ < 1 sec ] Fetch Datacenter ID
[ < 1 sec ] Fetch Datacenter name
[ 00:02 ] Add NFS storage domain
[ 00:01 ] Get storage domain details
[ 00:01 ] Find the appliance OVF
[ 00:01 ] Parse OVF
[ < 1 sec ] Get required size
[ FAILED ] Activate storage domain
2019-04-14 10:40:41,928+0200 DEBUG ansible on_any args
<ansible.executor.stats.AggregateStats object at 0x7fb69404eb90> kwargs
Any suggestions on how fix this?