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

Bug 1114693

Summary: Rubygem-Staypuft: rhel-osp-installer exits with error when the installation media isn't changed
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: rhel-osp-installerAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: ajeain, mburns, mlopes, rhos-maint, sclewis
Target Milestone: ga   
Target Release: Installer   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhel-osp-installer-0.0.25-6.el6ost Doc Type: Bug Fix
Doc Text:
internal only, no doc text needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-21 18:04:55 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:

Description Alexander Chuzhoy 2014-06-30 16:44:04 UTC
Rubygem-Staypuft: rhel-osp-installer exits with error when the installation media isn't changed

Environment:
rhel-osp-installer-0.0.25-5.el6ost.noarch
openstack-puppet-modules-2014.1-18.el6ost.noarch
openstack-foreman-installer-2.0.10-2.el6ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-7.el6ost.noarch

Steps to reproduce:
1. Run rhel-osp-installer.
2. When asked to set the RHEL repo path (default http://), select "3" to skip this step.

Results:
Starting to seed provisioning data
/usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:74:in `seed': undefined method `[]' for nil:NilClass (NoMethodError)
        from /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:65:in `each'
        from /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:65:in `seed'
        from /usr/share/foreman-installer/hooks/post/10-setup_provisioning.rb:29:in `load'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hook_context.rb:13:in `instance_exec'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hook_context.rb:13:in `execute'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hooking.rb:48:in `execute'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hooking.rb:47:in `each_pair'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hooking.rb:47:in `execute'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:339:in `run_installation'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/exit_handler.rb:24:in `call'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/exit_handler.rb:24:in `exit'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:122:in `exit'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:338:in `run_installation'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:109:in `execute'
        from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
        from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
        from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:116:in `run'
        from /usr/sbin/rhel-osp-installer:54

Comment 1 Alexander Chuzhoy 2014-06-30 16:45:31 UTC
Note: Fixing the installation media on subsequent execution of rhel-osp-installer results in successful installation.

Comment 12 Alexander Chuzhoy 2014-08-06 17:28:32 UTC
Verified:rhel-osp-installer-0.1.6-5.el6ost.noarch

Works now:

1. Set RHEL repo path (http or https URL): http://
2. Proceed with configuration
3. Skip this step (provisioning won't work)
3

Enter your subscription manager credentials:
1. Subscription manager username:
2. Subscription manager password:
3. Comma separated repositories:        rhel-7-server-openstack-5.0-rpms
4. Subscription manager pool (optional):
5. Proceed with configuration
6. Skip this step (provisioning won't subscribe your machines)
6
Starting to seed provisioning data
Installation medium for RedHat not found, provisioning will not work for hostgroup base_RedHat_6 unless you create it manually
Installation medium for RedHat not found, provisioning will not work for hostgroup base_RedHat_7 unless you create it manually
Use 'base_RedHat_7' hostgroup for provisioning
  Success!
  * Foreman is running at https://livecd.example.com
      Default credentials are 'admin:changeme'
  * Foreman Proxy is running at https://livecd.example.com:8443
  * Puppetmaster is running at port 8140
  The full log is at /var/log/foreman-installer/foreman-installer.log
[root@livecd ~]#

Comment 13 errata-xmlrpc 2014-08-21 18:04:55 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-2014-1090.html