Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1539391 - iSCSI deployment of node zero sometimes fails with "Error: Fault reason is "Operation Failed". Fault detail is "[]". HTTP response code is 400."
iSCSI deployment of node zero sometimes fails with "Error: Fault reason is "O...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup (Show other bugs)
4.2.0
x86_64 Linux
medium Severity medium
: ovirt-4.2.2
: ---
Assigned To: Simone Tiraboschi
Nikolai Sednev
: Triaged
Depends On:
Blocks: 1455169 1536055
  Show dependency treegraph
 
Reported: 2018-01-28 09:58 EST by Nikolai Sednev
Modified: 2018-05-15 13:33 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-15 13:32:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
sosreport from alma04 (9.40 MB, application/x-xz)
2018-01-28 09:58 EST, Nikolai Sednev
no flags Details
sosreport from the engine (9.25 MB, application/x-xz)
2018-02-12 09:36 EST, Nikolai Sednev
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1471 None None None 2018-05-15 13:33 EDT

  None (edit)
Description Nikolai Sednev 2018-01-28 09:58:43 EST
Created attachment 1387234 [details]
sosreport from alma04

Description of problem:
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[]\". HTTP response code is 400."}


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-ha-2.2.5-0.0.master.20180125081710.20180125081707.git6046986.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.9-0.0.master.20180124164059.git097610a.el7.centos.noarch
ovirt-engine-appliance-4.2-20180127.1.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1.Deploy SHE using ansible over iSCSI.

Actual results:
Deployment fails.

Expected results:
Should be successful.

Additional info:
Sosreport from host is attached.
Comment 1 Yaniv Kaul 2018-01-29 03:28:13 EST
Does the vintage deployment on the same setup work?
Can you share the the answer file?
Comment 2 Nikolai Sednev 2018-01-29 05:04:04 EST
(In reply to Yaniv Kaul from comment #1)
> Does the vintage deployment on the same setup work?
> Can you share the the answer file?

Answer file? Isn't it appears within the sosreport?
I did only deployment using ansible and did not done it using regular yet.
Comment 3 Yaniv Lavi 2018-01-31 08:14:38 EST
Can you add the logs from the engine vm?
Comment 4 Yaniv Lavi 2018-01-31 08:15:53 EST
As Simone couldn't reproduce on dev, lowering priority/severity.
Comment 8 Simone Tiraboschi 2018-02-11 12:40:26 EST
Can you please attach engine.log from the engine VM?
Comment 9 Nikolai Sednev 2018-02-12 06:05:04 EST
(In reply to Simone Tiraboschi from comment #8)
> Can you please attach engine.log from the engine VM?

There was no engine log, engine was not accessible via ssh.
Comment 11 Simone Tiraboschi 2018-02-12 09:22:17 EST
Unfortunately on failures the error message from the engine is not that clear:

2018-02-12 16:08:55,230+0200 DEBUG ansible on_any args (TASK: Add iSCSI storage domain,) kwargs {'is_conditional': False}
2018-02-12 16:08:57,396+0200 DEBUG var changed: host "localhost" var "otopi_storage_domain_details" type "<type 'dict'>" value: "{u'failed': True, u'exception': u'Traceback (most recent call last):\n  File "/tmp/ansible_tfDPAc/ansible_module_ovirt_storage_domains.py", line 541, in main\n    sd_id = storage_domains_module.create()[\'id\']\n  File "/tmp/ansible_tfDPAc/ansible_modlib.zip/ansible/module_utils/ovirt.py", line 573, in create\n    self.build_entity(),\n  File "/tmp/ansible_tfDPAc/ansible_module_ovirt_storage_domains.py", line 289, in build_entity\n    self._login(storage_type, storage)\n  File "/tmp/ansible_tfDPAc/ansible_module_ovirt_storage_domains.py", line 282, in _login\n    target=storage.get(\'target\'),\n  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 36435, in iscsi_login\n    return self._internal_action(action, \'iscsilogin\', None, headers, query, wait)\n  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 299, in _internal_action\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 296, in callback\n    self._check_fault(response)\n  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 134, in _check_fault\n    self._raise_error(response, body.fault)\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', 'changed': False, u'msg': u'Fault reason is "Operation Failed". Fault detail is "[]". HTTP response code is 400.'}"
Comment 12 Simone Tiraboschi 2018-02-12 09:24:29 EST
From vdsm logs it seams just an iSCSI login error
Comment 14 Nikolai Sednev 2018-02-12 09:36 EST
Created attachment 1394936 [details]
sosreport from the engine
Comment 15 Nikolai Sednev 2018-02-20 12:45:06 EST
Now iSCSI deployment is working with these components:
Works for me on these components on host:
rhvm-appliance-4.2-20180202.0.el7.noarch
ovirt-hosted-engine-ha-2.2.5-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.10-1.el7ev.noarch
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Linux 3.10.0-693.19.1.el7.x86_64 #1 SMP Thu Feb 1 12:34:44 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Comment 18 errata-xmlrpc 2018-05-15 13:32:28 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1471

Note You need to log in before you can comment on or make changes to this bug.