Bug 1073087

Summary: [RFE] Use subscription-manager in kickstart template, not rhnreg_ks
Product: Red Hat OpenStack Reporter: Hugh Brock <hbrock>
Component: openstack-foreman-installerAssignee: Jiri Stransky <jstransk>
Status: CLOSED ERRATA QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: aberezin, acathrow, breeler, cpelland, dcleal, jguiditt, jstransk, morazi, rhos-maint, sputhenp, sreichar, tdunnon, yeylon
Target Milestone: z4Keywords: FutureFeature, OtherQA, ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/3842
Whiteboard:
Fixed In Version: openstack-foreman-installer-1.0.6-1.el6ost Doc Type: Enhancement
Doc Text:
Feature: Allow use of subscription-manager to register provisioned host. Reason: The previous method using rhnreg_ks has been deprecated. Result: To register a provisioned host using subscription-manager, make sure that the host has these parameters present and configured before provisioning: * "subscription_manager" is set to "true" * "subscription_manager_username" is set to subscription account user name * "subscription_manager_password" is set to subscription account password * "subscription_manager_repos" is a comma-separated list of repositories to enable on the host
Story Points: ---
Clone Of: 1039910 Environment:
Last Closed: 2014-05-29 20:31:19 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: 1039910    
Bug Blocks: 1040649    

Comment 1 Hugh Brock 2014-03-05 18:12:26 UTC
This is fixed in Foreman but also needs to be fixed in Foreman Installer, which is what this bug is for.

Comment 3 Jiri Stransky 2014-04-04 16:57:08 UTC
Pull request upstream:

https://github.com/redhat-openstack/astapor/pull/153

This depends on a workaround [1] for a RHEL 6.4 bug (bug 1008016) which needs to be present in Foreman's redhat_register kickstart snippet. Dominic is doing a new build of Foreman RPMs with the workaround [1] included.

[1] https://github.com/theforeman/community-templates/commit/6a66f3908b2c8729d311507ec5e56ee2f34e01c7

Comment 4 Jiri Stransky 2014-04-14 11:41:13 UTC
Merged upstream.

Comment 10 Jason Guiditta 2014-05-23 20:57:22 UTC
verified that snippet template used by RHEL Default Kickstart uses subscription manager.

Comment 12 errata-xmlrpc 2014-05-29 20:31:19 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/RHSA-2014-0517.html