Bug 1093006

Summary: [Openstack-Staypuft]: katello-installer should have dependency to correct rubygem-kafo package, otherwise installer fails with 'uninitialized constant Kafo::KafoConfigure (NameError) '
Product: Red Hat OpenStack Reporter: Omri Hochman <ohochman>
Component: rubygem-staypuftAssignee: Mike Burns <mburns>
Status: CLOSED WONTFIX QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: aberezin, mburns, mlopes, morazi, rhos-maint, yeylon
Target Milestone: z4Keywords: ZStream
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ruby193-rubygem-staypuft-0.0.13 Doc Type: Bug Fix
Doc Text:
Prior to this update, an incorrect dependency was listed in the installer RPM. Consequently, errors would appear during the installation process; for example: "uninitialized constant". This update moves to the new foreman-installer-staypuft installer package which requires the right version of rubygem-kafo. The result is that the "uninitialized constant" errors are no longer present.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-15 16:59:26 UTC Type: Bug
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: 1093126    

Description Omri Hochman 2014-04-30 12:08:55 UTC
[Openstack-Staypuft]:  katello-installer should have dependency to the correct rubygem-kafo package, otherwise installer fails with uninitialized constant Kafo::KafoConfigure (NameError)   

Environment (Havana A4 puddle 2014-04-25.2):
---------------------------------------------
ruby193-rubygem-staypuft-0.0.11-5.el6ost.noarch
openstack-foreman-installer-1.0.6-2.el6ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-6.el6ost.noarch
openstack-puppet-modules-2013.2-9.el6ost.noarch
puppet-3.3.2-2.el6.noarch
puppet-server-3.3.2-2.el6.noarch
katello-installer-0.0.33-1.el6sat.noarch

Steps:
------
(1) yum install foreman ruby193-rubygem-staypuft openstack-foreman-installer openstack-puppet-modules katello-installer foreman-discovery-image foreman-proxy livecd-tools

(2) rpm -q rubygem-kafo
rubygem-kafo-0.0.14-1.el6sat.noarch


(3)katello-installer --foreman-authentication=false

Results:
---------
/usr/sbin/katello-installer:8: uninitialized constant Kafo::KafoConfigure (NameError)

Workaround:
-------------
(1) yum update rubygem-kafo

---> Package rubygem-kafo.noarch 0:0.0.14-1.el6sat will be updated
---> Package rubygem-kafo.noarch 0:0.3.16-1.el6sat will be an update


(2) katello-installer --foreman-authentication=false

Installing             Done                                               [100%] [...............................................................................................................................]

Comment 3 Mike Burns 2014-05-15 12:15:44 UTC
We've dropped our use of katello-installer and instead are shipping the staypuft-installer in the foreman-installer-staypuft package.  This new package has proper Requires.

Comment 5 Omri Hochman 2014-05-23 18:56:01 UTC
(In reply to Mike Burns from comment #3)
> We've dropped our use of katello-installer and instead are shipping the
> staypuft-installer in the foreman-installer-staypuft package.  This new
> package has proper Requires.

Verified kattelo-installer is not available any more  
when using: foreman-installer-staypuft-0.0.13-2.el6ost.noarch