Bug 838276

Summary: 3.1 - vds bootstrap fails if deployUtil.py or other vds_*.py files exists in /tmp on the installed vds
Product: Red Hat Enterprise Virtualization Manager Reporter: Eyal Edri <eedri>
Component: ovirt-engineAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, bazulay, dyasny, iheim, lpeer, mkenneth, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: si19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:04:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eyal Edri 2012-07-08 07:44:12 UTC
Description of problem:
vds bootstrap of new host fails via REST if deployUtil.py file exists on the server. 

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

How reproducible:

using version vdsm-bootstrap-4.9.6-17.0.el6.noarch

Steps to Reproduce:
1.leave old files (deployUtil.py and other vds_* files on /tmp)
2.run install host via rest api
3.
  
Actual results:


Expected results:


Additional info:

from engine.log:

Received message: <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/>
<BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/>
<BSTRAP component='INIT' status='FAIL' message='Error trying to deploy library.'/>
<BSTRAP component='INSTALLER' status='FAIL' message='vds_bootstrap.py download failed. Pathname could not be resolved (verify component web site path).'/>
. FYI. (Stage: Running first installation script on Host)
2012-07-07 14:36:53,082 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-10-thread-25) RunSSHCommand returns true
2012-07-07 14:36:53,083 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-10-thread-25) [6f6ed124]  RunScript ended:true
2012-07-07 14:36:53,084 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-10-thread-25) [6f6ed124] Installation of 10.35.148.100. No meaningful response received from Host. (Stage: Running first installation script on Host)
2012-07-07 14:36:53,086 INFO  [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-10-thread-25) [6f6ed124] After Installation pool-10

Comment 2 Douglas Schilling Landgraf 2012-07-17 04:53:37 UTC
Hello Eyal,

I have sent upstream the following patches:
 
- BZ#838276: vds_installer.py - force del deployUtil
  http://gerrit.ovirt.org/#/c/6356/

- BZ#838276 vds_bootstrap_complete remove deployUtil
  http://gerrit.ovirt.org/#/c/6358/

- BZ#838276: move isOVirt() to ovirt module
  http://gerrit.ovirt.org/#/c/6357/

Comment 3 Douglas Schilling Landgraf 2012-08-09 19:52:19 UTC
The below patches should resolve the report and both are merged, moving to modified.

Upstream:
BZ#838276: vds_installer.py - force del deployUtil
http://gerrit.ovirt.org/#/c/6356/

Downstream:
http://git.engineering.redhat.com/?p=users/oschreib/ovirt-engine;a=commit;h=6801c0e4421718e87518e544e02448554226201d

Comment 4 Itamar Heim 2012-08-27 08:27:19 UTC
this was acked on the wrong component - vds_installer.py is in ovirt-engine - moving to right product.