I am new to oVirt and this is my first installation
https://ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_us
ing_the_cockpit_web_interface/
Everything seems fine, but then when I tried step 5, "Hosted Engine
Deployment" it keep giving me this error. This information might be too
much, but I am not familiar to know what is important.
2020-09-08 06:53:58,991+0200 DEBUG var changed: host "localhost" var
"datacenter_name" type "<class
'ansible.utils.unsafe_proxy.AnsibleUnsafeText'>" value:
""Default""
2020-09-08 06:53:58,991+0200 INFO ansible ok {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_host': 'localhost', 'ansible_task': 'Fetch Datacenter
name',
'task_duration': 0}
2020-09-08 06:53:58,991+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f825fb425c0> kwargs
2020-09-08 06:53:59,242+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.hosted_engine_setup : Add NFS storage domain'}
2020-09-08 06:53:59,242+0200 DEBUG ansible on_any args TASK:
ovirt.hosted_engine_setup : Add NFS storage domain kwargs
is_conditional:False
2020-09-08 06:53:59,242+0200 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Add NFS storage domain kwargs
2020-09-08 06:56:04,962+0200 DEBUG var changed: host "localhost" var
"ansible_play_hosts" type "<class 'list'>" value:
"[]"
2020-09-08 06:56:04,963+0200 DEBUG var changed: host "localhost" var
"ansible_play_batch" type "<class 'list'>" value:
"[]"
2020-09-08 06:56:04,963+0200 DEBUG var changed: host "localhost" var
"play_hosts" type "<class 'list'>" value:
"[]"
2020-09-08 06:56:04,963+0200 ERROR ansible failed {
"ansible_host": "localhost",
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_result": {
"_ansible_no_log": false,
"changed": false,
"exception": "Traceback (most recent call last):\n File
\"/tmp/ansible_ovirt_storage_domain_payload_ir_v98cz/ansible_ovirt_storage_d
omain_payload.zip/ansible/modules/cloud/ovirt/ovirt_storage_domain.py\",
line 792, in main\n File
\"/tmp/ansible_ovirt_storage_domain_payload_ir_v98cz/ansible_ovirt_storage_d
omain_payload.zip/ansible/module_utils/ovirt.py\", line 623, in create\n
**kwargs\n File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line 26097, in
add\n return self._internal_add(storage_domain, headers, query, wait)\n
File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
in _internal_add\n return future.wait() if wait else future\n File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55, in
wait\n return self._code(response)\n File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229, in
callback\n self._check_fault(response)\n File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132, in
_check_fault\n self._raise_error(response, body)\n File
\"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118, in
_raise_error\n raise error\novirtsdk4.Error: Fault reason is \"Operation
Failed\". Fault detail is \"[Problem while trying to mount target]\". HTTP
response code is 400.\n",
"invocation": {
"module_args": {
"backup": null,
"comment": null,
"critical_space_action_blocker": null,
"data_center": "Default",
"description": null,
"destroy": null,
"discard_after_delete": null,
"domain_function": "data",
"fcp": null,
"fetch_nested": false,
"format": null,
"glusterfs": null,
"host": "host.worldhostess.co.za",
"id": null,
"iscsi": null,
"localfs": null,
"managed_block_storage": null,
"name": "hosted_storage",
"nested_attributes": [],
"nfs": {
"address": "storage01.worldhostess.co.za",
"mount_options": null,
"path": "/data/nfs",
"version": "auto"
},
"poll_interval": 3,
"posixfs": null,
"state": "unattached",
"timeout": 180,
"wait": true,
"warning_low_space": null,
"wipe_after_delete": null
}
},
"msg": "Fault reason is \"Operation Failed\". Fault
detail is
\"[Problem while trying to mount target]\". HTTP response code is 400."
},
"ansible_task": "Add NFS storage domain",
"ansible_type": "task",
"status": "FAILED",
"task_duration": 125
}
2020-09-08 06:56:04,963+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f825f9c3a58> kwargs
ignore_errors:None
2020-09-08 06:56:04,964+0200 INFO ansible stats {
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_playbook_duration": "02:16 Minutes",
"ansible_result": "type: <class 'dict'>\nstr:
{'localhost': {'ok': 14,
'failures': 1, 'unreachable': 0, 'changed': 0, 'skipped':
2, 'rescued': 0,
'ignored': 0}}",
"ansible_type": "finish",
"status": "FAILED"
}
2020-09-08 06:56:04,964+0200 INFO SUMMARY:
Duration Task Name
-------- --------
[ < 1 sec ] Execute just a specific set of steps
[ 00:01 ] Force facts gathering
[ < 1 sec ] Check local VM dir stat
[ < 1 sec ] Obtain SSO token using username/password credentials
[ < 1 sec ] Fetch host facts
[ < 1 sec ] Fetch cluster ID
[ < 1 sec ] Fetch cluster facts
[ < 1 sec ] Fetch Datacenter facts
[ < 1 sec ] Fetch Datacenter ID
[ < 1 sec ] Fetch Datacenter name
[ FAILED ] Add NFS storage domain
2020-09-08 06:56:04,965+0200 DEBUG ansible on_any args
<ansible.executor.stats.AggregateStats object at 0x7f826252ef60> kwargs
Yours Sincerely,
Dr Henni Appelgryn PhD DBA MBA AEP MDP
WorldHostess
Skype: genie_za
WeChat: HenniAppelgryn
LinkedIn:
https://www.linkedin.com/in/henni-appelgryn/
Hosting with a difference