Bug 1385401

Summary: Can not start setup procedure
Product: [oVirt] ovirt-hosted-engine-setup Reporter: gregor <gregor_forum>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED WORKSFORME QA Contact: meital avital <mavital>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.0.2CC: bugs, gregor_forum, michal.skrivanek, nsoffer, stirabos
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-17 21:01:32 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 gregor 2016-10-16 20:44:24 UTC
Description of problem:
After a failed installation I removed all the ovirt and vdsm components, rebooted the machine and started from the beginning. Now the installation did not start because vdsm can't start.

Version-Release number of selected component (if applicable):
Centos 7

Steps to Reproduce:
1. yum remove ovirt-* vdsm-* libvirt-* python-ovirt-engine-sdk4 postgresql-* qemu-*
2. reboot
3. yum -y install ovirt-hosted-engine-setup ovirt-engine-appliance guster-server vdsm-gluster
4. hosted-engine --deploy

Actual results:
The installer stucked at "[ INFO  ] Stage: Environment setup"

Expected results:
The installation should be possible

Additional info:
These are relevant lines from /var/log/vdsm/supervdsm.log

MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::69::blivet::(log_exception_info) IGNORED:        Caught exception, continuing.
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::72::blivet::(log_exception_info) IGNORED:        Problem description: failed to get initiator name from iscsi firmware
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::73::blivet::(log_exception_info) IGNORED:        Begin exception details.
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::76::blivet::(log_exception_info) IGNORED:            Traceback (most recent call last):
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::76::blivet::(log_exception_info) IGNORED:              File "/usr/lib/python2.7/site-packages/blivet/iscsi.py", line 142, in __init__
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::76::blivet::(log_exception_info) IGNORED:                initiatorname = libiscsi.get_firmware_initiator_name()
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::76::blivet::(log_exception_info) IGNORED:            IOError: Unknown error
MainThread::DEBUG::2016-10-16 22:42:26,944::storage_log::77::blivet::(log_exception_info) IGNORED:        End exception details.

Comment 1 Michal Skrivanek 2016-10-17 07:19:52 UTC
I suppose this is an incorrect cleanup. Simone?

Comment 2 Sandro Bonazzola 2016-10-17 07:27:56 UTC
Nir can you have a look at above traceback?

Gregor, can you please provide a sos report of the host?

Comment 3 Simone Tiraboschi 2016-10-17 07:56:45 UTC
(In reply to Michal Skrivanek from comment #1)
> I suppose this is an incorrect cleanup. Simone?

Yes, I think so.

Comment 4 gregor 2016-10-17 09:01:57 UTC
In the meantime I followed this instruction which did not help:

https://www.ovirt.org/documentation/how-to/hosted-engine/#recoving-from-failed-install

Is it save to upload the sosreport here? I read through this article: https://access.redhat.com/solutions/3592

Comment 5 gregor 2016-10-17 21:01:32 UTC
Because the server has to be finished and shipped to my customer I decided to reinstall the whole operating-system. 
This is a very bad solution but after 20 hours of try-and-error I have to find any solution.

Thanks for your help.