Bug 875795 - RHSC - Add new host failing due to installation failure.
Summary: RHSC - Add new host failing due to installation failure.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: vdsm
Version: 2.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Bala.FA
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks: 956396
TreeView+ depends on / blocked
 
Reported: 2012-11-12 15:27 UTC by Shruti Sampat
Modified: 2015-11-23 02:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 956396 (view as bug list)
Environment:
Last Closed: 2013-09-23 22:25:57 UTC
Embargoed:


Attachments (Terms of Use)
Engine logs (5.62 MB, text/x-log)
2012-11-12 15:27 UTC, Shruti Sampat
no flags Details
Bootstrap logs from storage node being added (26.30 KB, text/x-log)
2012-11-12 15:28 UTC, Shruti Sampat
no flags Details

Description Shruti Sampat 2012-11-12 15:27:01 UTC
Created attachment 643570 [details]
Engine logs

Description of problem:
------------------------------------------------------------------------------

Unable to add a new host from the Console. 

The following message is seen in the events tab - 
------------------------------------------------------------------------------
Host server23 installation failed. SSH command failed while executing at host 'root.35.219', refer to logs for further information.
Failed to install Host server23. Step: GLUSTER PACKAGES; Details: Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories. Setting up Install Process No package r available. Error: Nothing to do 
Host server23 installation in progress . Step: GLUSTER PACKAGES; Details: package v is not installed (v).

The following is seen in the engine logs - 
------------------------------------------------------------------------------
2012-11-12 18:07:54,033 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='v' message='package v is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,045 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='d' message='package d is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,048 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='s' message='package s is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,059 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='m' message='package m is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,070 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='-' message='package - is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,082 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='g' message='package g is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,094 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='l' message='package l is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,106 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='u' message='package u is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,118 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='s' message='package s is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,130 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='t' message='package t is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,141 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='e' message='package e is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:54,153 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='WARN' result='r' message='package r is not installed '/>. FYI. (Stage: Running first installation script on Host)
2012-11-12 18:07:56,246 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-191) Installation of 10.70.35.219. Received message: <BSTRAP comp
onent='GLUSTER PACKAGES' status='FAIL' result='r' message='Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-
based repositories. Setting up Install Process No package r available. Error: Nothing to do '/>. FYI. (Stage: Running first installation script on Hos
t)

The folowing is seen in the bootstrap log of the node being added - 
------------------------------------------------------------------------------
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'sanlock-python']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 sanlock-python-2.2-1.el6.x86_64

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='VDS PACKAGES' status='OK' result='sanlock-python' message='sanlock-python-2.2-1.el6.x86_64 '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'v']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package v is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='v' message='package v is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'd']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package d is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='d' message='package d is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 's']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package s is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='s' message='package s is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'm']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package m is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='m' message='package m is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', '-']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package - is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='-' message='package - is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'g']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package g is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='g' message='package g is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'l']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package l is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='l' message='package l is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'u']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package u is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='u' message='package u is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 's']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package s is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='s' message='package s is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 't']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package t is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='t' message='package t is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'e']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package e is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='e' message='package e is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/bin/rpm', '-q', 'r']
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 144 package r is not installed

Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 145 
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='WARN' result='r' message='package r is not installed '/>
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 570 Install GLUSTER packages ... ['v', 'd', 's', 'm', '-', 'g', 'l', 'u', 's', 't', 'e', 'r']
Mon, 12 Nov 2012 18:07:53 DEBUG    vds_bootstrap 448 Installing r 0
Mon, 12 Nov 2012 18:07:53 DEBUG    deployUtil 136 ['/usr/bin/yum', '-y', 'install', 'r']
Mon, 12 Nov 2012 18:07:55 DEBUG    deployUtil 144 Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
No package r available.

Mon, 12 Nov 2012 18:07:55 DEBUG    deployUtil 145 Error: Nothing to do

Mon, 12 Nov 2012 18:07:55 DEBUG    vds_bootstrap 212 <BSTRAP component='GLUSTER PACKAGES' status='FAIL' result='r' message='Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-based repositories. Setting up Install Process No package r available. Error: Nothing to do '/>
Mon, 12 Nov 2012 18:07:55 ERROR    vds_bootstrap 908 installGlusterPackages failed
Mon, 12 Nov 2012 18:07:55 DEBUG    vds_bootstrap 1018 <BSTRAP component='RHEV_INSTALL' status='FAIL'/>
Mon, 12 Nov 2012 18:07:55 DEBUG    vds_bootstrap 1020 **** End VDS Validation ****

Version-Release number of selected component (if applicable):
2.0.techpreview2-0.63.20121019gitffbe992.root.el6ev

How reproducible:
Always

Steps to Reproduce:
1.Try to add a new host from the Console.
  
Actual results:
Add host fails.

Expected results:
Host should get added successfully.

Additional info:

Comment 1 Shruti Sampat 2012-11-12 15:28:54 UTC
Created attachment 643571 [details]
Bootstrap logs from storage node being added

Comment 3 Bala.FA 2012-11-14 12:10:13 UTC
Fix is merged in rhs-vdsm downstream

Comment 4 Shruti Sampat 2012-11-26 09:45:41 UTC
Fix has been verified in version - rhsc-2.1-qa18.el6ev.noarch

Comment 5 Scott Haines 2013-09-23 22:25:57 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. 

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1262.html


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