Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 692173

Summary: aeolus-configure needs to verify/install libvirtd before trying to start it
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Mo Morsi <mmorsi>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: deltacloud-maint, morazi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 13:47:32 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:
Bug Depends On:    
Bug Blocks: 684278    

Description wes hayutin 2011-03-30 15:49:16 UTC
Description of problem:

[root@dhcp231-29 ~]# rpm -qa | grep aeolus
aeolus-configure-2.0.0-5.fc14.2011033093316gitecf8f95.noarch
[root@dhcp231-29 ~]# 


root@dhcp231-29 yum.repos.d]# ls
fedora-aeolus-internal.repo  fedora-aeolus.repo  fedora-aeolus-testing.repo  fedora.repo  fedora-updates.repo  fedora-updates-testing.repo
[root@dhcp231-29 yum.repos.d]# yum -y install aeolus-configure
fedora-aeolus                                                                                                                                     | 1.3 kB     00:00     
fedora-aeolus/primary                                                                                                                             | 5.3 kB     00:00     
fedora-aeolus                                                                                                                                                      11/11
fedora-aeolus-internal                                                                                                                            | 1.3 kB     00:00     
fedora-aeolus-internal/primary                                                                                                                    | 2.4 kB     00:00     
fedora-aeolus-internal                                                                                                                                               6/6
fedora-aeolus-noarch                                                                                                                              | 1.3 kB     00:00     
fedora-aeolus-noarch/primary                                                                                                                      | 7.8 kB     00:00     
fedora-aeolus-noarch                                                                                                                                               33/33
fedora-aeolus-noarch-internal                                                                                                                     | 1.3 kB     00:00     
fedora-aeolus-noarch-internal/primary                                                                                                             | 1.3 kB     00:00     
fedora-aeolus-noarch-internal                                                                                                                                        3/3
fedora-aeolus-noarch-testing                                                                                                                      | 1.3 kB     00:00     
fedora-aeolus-noarch-testing/primary                                                                                                              | 2.8 kB     00:00     
fedora-aeolus-noarch-testing                                                                                                                                         9/9
fedora-aeolus-testing                                                                                                                             | 1.3 kB     00:00     
fedora-aeolus-testing/primary                                                                                                                     | 9.6 kB     00:00     
fedora-aeolus-testing                                                                                                                                              28/28
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package aeolus-configure.noarch 0:2.0.0-5.fc14.2011033093316gitecf8f95 set to be installed
--> Processing Dependency: puppet for package: aeolus-configure-2.0.0-5.fc14.2011033093316gitecf8f95.noarch
--> Running transaction check
---> Package puppet.noarch 0:2.6.6-1.fc14 set to be installed
--> Processing Dependency: ruby(abi) = 1.8 for package: puppet-2.6.6-1.fc14.noarch
--> Processing Dependency: facter >= 1.5 for package: puppet-2.6.6-1.fc14.noarch
--> Processing Dependency: ruby >= 1.8.1 for package: puppet-2.6.6-1.fc14.noarch
--> Processing Dependency: ruby-shadow for package: puppet-2.6.6-1.fc14.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-2.6.6-1.fc14.noarch
--> Processing Dependency: ruby-augeas for package: puppet-2.6.6-1.fc14.noarch
--> Processing Dependency: /usr/bin/ruby for package: puppet-2.6.6-1.fc14.noarch
--> Running transaction check
---> Package facter.noarch 0:1.5.8-1.fc14 set to be installed
---> Package libselinux-ruby.x86_64 0:2.0.96-6.fc14.1 set to be installed
---> Package ruby.x86_64 0:1.8.7.334-1.fc14 set to be installed
---> Package ruby-augeas.x86_64 0:0.3.0-1.fc12 set to be installed
--> Processing Dependency: augeas-libs >= 0.5.1 for package: ruby-augeas-0.3.0-1.fc12.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.8.0)(64bit) for package: ruby-augeas-0.3.0-1.fc12.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.1.0)(64bit) for package: ruby-augeas-0.3.0-1.fc12.x86_64
--> Processing Dependency: libaugeas.so.0()(64bit) for package: ruby-augeas-0.3.0-1.fc12.x86_64
---> Package ruby-libs.x86_64 0:1.8.7.334-1.fc14 set to be installed
--> Processing Dependency: libreadline.so.5()(64bit) for package: ruby-libs-1.8.7.334-1.fc14.x86_64
---> Package ruby-shadow.x86_64 0:1.4.1-13.fc12 set to be installed
--> Running transaction check
---> Package augeas-libs.x86_64 0:0.8.0-1.fc14 set to be installed
---> Package compat-readline5.x86_64 0:5.2-17.fc12 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================
 Package                           Arch                    Version                                                  Repository                                      Size
=========================================================================================================================================================================
Installing:
 aeolus-configure                  noarch                  2.0.0-5.fc14.2011033093316gitecf8f95                     fedora-aeolus-noarch-internal                   38 k
Installing for dependencies:
 augeas-libs                       x86_64                  0.8.0-1.fc14                                             updates                                        336 k
 compat-readline5                  x86_64                  5.2-17.fc12                                              fedora                                         124 k
 facter                            noarch                  1.5.8-1.fc14                                             fedora                                          56 k
 libselinux-ruby                   x86_64                  2.0.96-6.fc14.1                                          updates                                         99 k
 puppet                            noarch                  2.6.6-1.fc14                                             fedora-aeolus-noarch-testing                   801 k
 ruby                              x86_64                  1.8.7.334-1.fc14                                         updates                                        343 k
 ruby-augeas                       x86_64                  0.3.0-1.fc12                                             fedora                                          19 k
 ruby-libs                         x86_64                  1.8.7.334-1.fc14                                         updates                                        1.9 M
 ruby-shadow                       x86_64                  1.4.1-13.fc12                                            fedora                                          11 k

Transaction Summary
=========================================================================================================================================================================
Install      10 Package(s)

Total download size: 3.7 M
Installed size: 12 M
Downloading Packages:
(1/10): aeolus-configure-2.0.0-5.fc14.2011033093316gitecf8f95.noarch.rpm                                                                          |  38 kB     00:00     
(2/10): augeas-libs-0.8.0-1.fc14.x86_64.rpm                                                                                                       | 336 kB     00:00     
(3/10): compat-readline5-5.2-17.fc12.x86_64.rpm                                                                                                   | 124 kB     00:00     
(4/10): facter-1.5.8-1.fc14.noarch.rpm                                                                                                            |  56 kB     00:00     
(5/10): libselinux-ruby-2.0.96-6.fc14.1.x86_64.rpm                                                                                                |  99 kB     00:00     
(6/10): puppet-2.6.6-1.fc14.noarch.rpm                                                                                                            | 801 kB     00:00     
(7/10): ruby-1.8.7.334-1.fc14.x86_64.rpm                                                                                                          | 343 kB     00:00     
(8/10): ruby-augeas-0.3.0-1.fc12.x86_64.rpm                                                                                                       |  19 kB     00:00     
(9/10): ruby-libs-1.8.7.334-1.fc14.x86_64.rpm                                                                                                     | 1.9 MB     00:00     
(10/10): ruby-shadow-1.4.1-13.fc12.x86_64.rpm                                                                                                     |  11 kB     00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    3.0 MB/s | 3.7 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : augeas-libs-0.8.0-1.fc14.x86_64                                                                                                                  1/10 
  Installing     : compat-readline5-5.2-17.fc12.x86_64                                                                                                              2/10 
  Installing     : ruby-libs-1.8.7.334-1.fc14.x86_64                                                                                                                3/10 
  Installing     : ruby-1.8.7.334-1.fc14.x86_64                                                                                                                     4/10 
  Installing     : ruby-augeas-0.3.0-1.fc12.x86_64                                                                                                                  5/10 
  Installing     : ruby-shadow-1.4.1-13.fc12.x86_64                                                                                                                 6/10 
  Installing     : libselinux-ruby-2.0.96-6.fc14.1.x86_64                                                                                                           7/10 
  Installing     : facter-1.5.8-1.fc14.noarch                                                                                                                       8/10 
  Installing     : puppet-2.6.6-1.fc14.noarch                                                                                                                       9/10 
  Installing     : aeolus-configure-2.0.0-5.fc14.2011033093316gitecf8f95.noarch                                                                                    10/10 

Installed:
  aeolus-configure.noarch 0:2.0.0-5.fc14.2011033093316gitecf8f95                                                                                                         

Dependency Installed:
  augeas-libs.x86_64 0:0.8.0-1.fc14       compat-readline5.x86_64 0:5.2-17.fc12      facter.noarch 0:1.5.8-1.fc14           libselinux-ruby.x86_64 0:2.0.96-6.fc14.1     
  puppet.noarch 0:2.6.6-1.fc14            ruby.x86_64 0:1.8.7.334-1.fc14             ruby-augeas.x86_64 0:0.3.0-1.fc12      ruby-libs.x86_64 0:1.8.7.334-1.fc14          
  ruby-shadow.x86_64 0:1.4.1-13.fc12     

Complete!
[root@dhcp231-29 yum.repos.d]# aeolus-configure 
notice: /File[iptables-update]/ensure: defined content as '{md5}63469623ff9b6c6bd2fedcbf704bfa69'
err: /Stage[main]/Aeolus::Image-factory/Service[libvirtd]/ensure: change from stopped to running failed: Could not start Service[libvirtd]: Execution of '/sbin/service libvirtd start' returned 1:  at /usr/share/aeolus-configure/modules/aeolus_recipe/manifests/image-factory.pp:34
^C^C^CExiting

Comment 1 wes hayutin 2011-03-30 18:16:57 UTC
image-factory depends on oz, oz pulls in libvirt..

configure is not installing either in time for configure to work out of the box..
https://bugzilla.redhat.com/show_bug.cgi?id=692212

Comment 2 wes hayutin 2011-06-23 21:47:02 UTC
t[root@ibm-x3950m2-01 noarch]# rpm -q --whatrequires libvirt
oz-0.4.0-1.el6.x86_64
[root@ibm-x3950m2-01 noarch]# cat /var/log/aeolus-configure/aeolus-configure.log | grep -i libvirt
Wed Jun 22 20:37:49 -0400 2011 /Stage[main]/Aeolus::Image-factory/Service[libvirtd]/ensure (notice): ensure changed 'stopped' to 'running'
[root@ibm-x3950m2-01 noarch]# 


[root@ibm-x3950m2-01 noarch]# rpm -qa | grep aeolus
aeolus-conductor-0.3.0-0.el6.20110623205403git551632a.noarch
aeolus-configure-2.0.1-0.el6.20110622123902gitdf4ae05.noarch
aeolus-conductor-doc-0.3.0-0.el6.20110623205403git551632a.noarch
aeolus-all-0.3.0-0.el6.20110623205403git551632a.noarch
rubygem-aeolus-cli-0.0.1-1.el6.20110623205403git551632a.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110623205403git551632a.noarch
aeolus-conductor-devel-0.3.0-0.el6.20110623205403git551632a.noarch

Comment 3 wes hayutin 2011-08-01 19:53:35 UTC
release pending...

Comment 4 wes hayutin 2011-08-01 19:55:43 UTC
release pending...

Comment 6 wes hayutin 2011-12-08 13:47:32 UTC
perm close