Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1672542

Summary: [Hosted Engine] failed to deploy hosted engine over iscsi with "RuntimeError: Unable to find any target"
Product: [oVirt] ovirt-ansible-collection Reporter: Kobi Hakimi <khakimi>
Component: hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact: Tahlia Richardson <trichard>
Priority: unspecified    
Version: 1.0.8CC: bugs, stirabos, vinicius
Target Milestone: ovirt-4.3.1Keywords: Automation, Triaged
Target Release: ---Flags: rule-engine: ovirt-4.3+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-01 10:21:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kobi Hakimi 2019-02-05 10:00:55 UTC
Description of problem:
[Hosted Engine] failed to deploy hosted engine over iscsi with "RuntimeError: Unable to find any target"

Version-Release number of selected component (if applicable):
ovirt-ansible-engine-setup-1.1.7-1.el7ev.noarch
ovirt-hosted-engine-setup-2.3.3-1.el7ev.noarch
ovirt-ansible-hosted-engine-setup-1.0.8-1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. run deploy of hosted engine over iscsi storage

Actual results:
Failed with "RuntimeError: Unable to find any target" but when I run multipath on this machine I can see the target lun

Expected results:
Deploy successfully


Additional info:
After investigation with Simone on ge-2, he found that it comes from here: 2019-02-05 11:31:05,846+0200 DEBUG otopi.plugins.gr_he_ansiblesetup.core.storage_domain storage_domain._query_iscsi_target:221 {u'otopi_iscsi_targets': {u'changed': False, u'censored': u"the output has been hidden due to the fact that 'no_log: true' was specified for this result"}}


should fix in:
https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/pull/109

Comment 1 Nikolai Sednev 2019-02-25 16:31:26 UTC
Works fine on these components:
rhvm-appliance-4.3-20190220.2.el7.x86_64
ovirt-hosted-engine-setup-2.3.5-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch
ovirt-ansible-engine-setup-1.1.8-1.el7ev.noarch
Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.6 (Maipo)

Moving to verified.

Comment 2 Sandro Bonazzola 2019-03-01 10:21:29 UTC
This bugzilla is included in oVirt 4.3.1 release, published on February 28th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.1 release, it has been closed with a resolution of CURRENT RELEASE.

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