Bug 1327602

Summary: Unable to deploy hosted-engine - Waiting for VDSM hardware info
Product: [oVirt] ovirt-hosted-engine-setup Reporter: herve
Component: GeneralAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED INSUFFICIENT_DATA QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0.0CC: bugs, herve
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: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 09:42:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: External RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ovirt-hosted-engine-setup log none

Description herve 2016-04-15 13:09:42 UTC
Created attachment 1147638 [details]
ovirt-hosted-engine-setup log

Description of problem:

On new Fedora 23 install, when performing "hosted-engine --deploy" unable to go through the process :

[root@node1](/etc/yum.repos.d)#hosted-engine --deploy
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          During customization use CTRL-D to abort.
          Continuing will configure this host for serving as hypervisor and create a VM where you have to install the engine afterwards.
          Are you sure you want to continue? (Yes, No)[Yes]:
          Configuration files: []
          Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160415145720-25yl5d.log
          Version: otopi-1.5.0_master (otopi-1.5.0-0.0.master.20160403070347.gitfa92bb0.fc23)
[ INFO  ] Hardware supports virtualization
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Waiting for VDSM hardware info
[ INFO  ] Waiting for VDSM hardware info
...
[ INFO  ] Waiting for VDSM hardware info
[ ERROR ] Failed to execute stage 'Environment setup': VDSM did not start within 120 seconds
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160415145937.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160415145720-25yl5d.log

digging into vdsm :

systemctl status vdsmd
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2016-04-15 14:43:24 CEST; 2min 11s ago
  Process: 22429 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start (code=exited, status=0/SUCCESS)
 Main PID: 22494 (vdsm)
   CGroup: /system.slice/vdsmd.service
           └─22494 /usr/bin/python /usr/share/vdsm/vdsm

Apr 15 14:45:25 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:26 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:27 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:28 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:29 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:31 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:32 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:33 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:34 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...
Apr 15 14:45:35 node1 vdsm[22494]: vdsm vds ERROR failed to retrieve hardware info
                                   Traceback (most recent call last):
                                     File "/usr/share/vdsm/API.py", line 1300, in getHardwareInfo...



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

Fedora23
repo : http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

How reproducible:

Every time


Steps to Reproduce:
1. hosted-engine --deploy

Actual results:

unable to continue deployement :

[ INFO  ] Waiting for VDSM hardware info
[ ERROR ] Failed to execute stage 'Environment setup': VDSM did not start within 120 seconds
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160415145937.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160415145720-25yl5d.log

Expected results:

hosted  engine deployed

Additional info:

Comment 1 Simone Tiraboschi 2016-05-20 12:22:46 UTC
The issue is why VDSM fail to gather hardware info, do you still have VDSM logs?

Comment 2 Simone Tiraboschi 2016-08-04 09:42:29 UTC
Feel free to reopen it it happens again.