Bug 1308951 - hosted-engine fails on master
Summary: hosted-engine fails on master
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ovirt-4.0.0-alpha
: 2.0.0
Assignee: Sandro Bonazzola
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 14:48 UTC by Martin Perina
Modified: 2017-05-11 09:31 UTC (History)
4 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 08:04:49 UTC
oVirt Team: Integration
rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
logs (18.53 KB, application/x-xz)
2016-02-16 14:48 UTC, Martin Perina
no flags Details

Description Martin Perina 2016-02-16 14:48:19 UTC
Created attachment 1127609 [details]
logs

Description of problem:

'hosted-engine --deploy' crashes after specifying nfs3 storage and correct storage connection path:

[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          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-20160216161134-e10puq.log
          Version: otopi-1.4.2_master (otopi-1.4.2-0.0.master.20160209100720.gitf02aac4.el7)
[ 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  ] Generating libvirt-spice certificates
[WARNING] Cannot locate gluster packages, Hyper Converged setup support will be disabled.
[ INFO  ] Please abort the setup and install vdsm-gluster, gluster-server >= 3.7.2 and restart vdsmd service in order to gain Hyper Converged setup support.
[ INFO  ] Stage: Environment customization
         
          --== STORAGE CONFIGURATION ==--
         
          During customization use CTRL-D to abort.
          Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: 
          Please specify the full shared storage connection path to use (example: host:/path): str-02.rhev.lab.eng.brq.redhat.com:/mnt/export/nfs/170/nfs01
[ INFO  ] Installing on first host
         
          --== SYSTEM CONFIGURATION ==--
         
         
          --== NETWORK CONFIGURATION ==--
         
[ ERROR ] Failed to execute stage 'Environment customization': 'module' object has no attribute 'CachingNetInfo'
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160216161209.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-20160216161134-e10puq.log


The system is newly installed Centos 7.2, packages updated, disabled NetworkManager and enabled classic network service.

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

ovirt-hosted-engine-setup-2.0.0-0.0.master.20160212101908.git9edcb21.el7.centos

How reproducible:

100%

Steps to Reproduce:
1. Execute hosted-engine --deploy
2. Enter storage type 'nfs3' and valid storage connection path
3.

Actual results:

hosted-engine --deploy fails

Expected results:

hosted-engine --deploy continues successfully

Additional info:

Comment 1 Simone Tiraboschi 2016-02-16 15:01:52 UTC
Martin, are you running hosted-engine-setup from master with VDSM from 3.6?

NetInfo becomes CachingNetInfo moving from VDSM 4.17.20 from 3.6 to VDSM 4.17.999 from master.
Probably we should explicitly require an higher dependency on ovirt-hosted-engine-setup-2.0

Comment 2 Martin Perina 2016-02-16 15:09:31 UTC
No, vdsm is also from master, everything is installed from repos contained in http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

Comment 3 Sandro Bonazzola 2016-03-16 13:32:33 UTC
Can you retry? We fixed vdsm API and sdk calls last week.

Comment 4 Sandro Bonazzola 2016-03-16 13:33:28 UTC
Moving to modified, please reopen if it fails for you

Comment 5 Martin Perina 2016-03-17 12:58:17 UTC
I haven't been able to reproduce error:

  'module' object has no attribute 'CachingNetInfo'

but hosted-engine --deploy failed in later stage with error:

  'module' object has no attribute 'Ssh'

I have created BZ1318652 to cover this new issue.

Comment 6 Artyom 2016-04-12 09:03:10 UTC
Verified on ovirt-hosted-engine-setup-2.0.0-0.0.master.20160325145108.gita9a3495.el7.centos.noarch

1) Deploy first host on NFS - pass
2) Deploy additional host - pass

Comment 7 Sandro Bonazzola 2016-07-05 08:04:49 UTC
oVirt 4.0.0 has been released, closing current release.


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