Bug 1672542 - [Hosted Engine] failed to deploy hosted engine over iscsi with "RuntimeError: Unable to find any target"
Summary: [Hosted Engine] failed to deploy hosted engine over iscsi with "RuntimeError:...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: hosted-engine-setup
Version: 1.0.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.3.1
: ---
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
Tahlia Richardson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-05 10:00 UTC by Kobi Hakimi
Modified: 2019-03-01 10:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-01 10:21:29 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-hosted-engine-setup pull 109 0 None closed Avoid using no_log when we have to pass back values to otopi 2020-06-25 11:27:53 UTC

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.


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