Bug 804618

Summary: Host installation fails due to module import error
Product: [Retired] oVirt Reporter: Rami Vaknin <rvaknin>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED NEXTRELEASE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, bazulay, cshao, danken, gouyang, iheim, leiwang, mburns, mgoldboi, shcao, srevivo, ycui, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.9.6-1-31-gf02e202 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 19:15:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rami Vaknin 2012-03-19 12:54:48 UTC
I've installed two hosts - one of the is RHEL6.3, the second is Fedora16 - both of them using vdsm-bootstrap-4.9.6-0.27.giteaebe06.el6.noarch, host installation failed on both of them with the following error:

Mon, 19 Mar 2012 11:55:57 DEBUG    <BSTRAP component='VDS PACKAGES' status='OK' result='libselinux-python' message='libselinux-python-2.0.94-5.3.el6.x86_64 '/>
Mon, 19 Mar 2012 11:55:57 ERROR    
Traceback (most recent call last):
  File "/tmp/vds_bootstrap_b7b215a5-3f75-4c39-b3a9-09f8ffb71636.py", line 571, in createConf
    self._makeConfig()
  File "/tmp/vds_bootstrap_b7b215a5-3f75-4c39-b3a9-09f8ffb71636.py", line 534, in _makeConfig
    from vdsm.config import config
ImportError: No module named vdsm.config
Mon, 19 Mar 2012 11:55:57 DEBUG    <BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/>
Mon, 19 Mar 2012 11:55:57 ERROR    createConf failed
Mon, 19 Mar 2012 11:55:57 DEBUG    <BSTRAP component='RHEV_INSTALL' status='FAIL'/>

Comment 1 Federico Simoncelli 2012-03-20 10:25:31 UTC
Initial patch posted upstream:

commit 1c6c053b3d9faee64cd5596001d751f52537b2b4
Author: Federico Simoncelli <fsimonce>
Date:   Tue Mar 20 10:21:08 2012 +0000

    BZ#804618 Add legacy imports to bootstrap
    
    Change-Id: I4cc76667e6a6b59c6a169ba2c4cd22013e46900c

http://gerrit.ovirt.org/2951

Comment 2 Dan Kenigsberg 2012-04-18 19:15:43 UTC
*** Bug 806623 has been marked as a duplicate of this bug. ***