Bug 905368

Summary: Support for RHN Hosted and Satellite
Product: Red Hat OpenStack Reporter: Derek Higgins <derekh>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Nir Magnezi <nmagnezi>
Severity: high Docs Contact:
Priority: high    
Version: 2.0 (Folsom)CC: aortega, derekh, jhenner, mmagr, sgordon, ykaul
Target Milestone: snapshot4Keywords: Triaged
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2012.2.3-0.1.dev454 Doc Type: Release Note
Doc Text:
Feature: Packstack can now if configured to do so, register with rhn classic or a satellite server. Reason: User requirement, so support additional subscription models Result (if any): 10 new answerfile directives have been created # To subscribe each server with RHN Satellite,fill Satellite's URL # here. Note that either satellite's username/password or activtion # key has to be provided/ CONFIG_SATELLITE_URL= # Username to access RHN Satellite CONFIG_SATELLITE_USERNAME= # Password to access RHN Satellite CONFIG_SATELLITE_PASSWORD= # Activation key for subscription to RHN Satellite CONFIG_SATELLITE_AKEY= # Specify a path or URL to a SSL CA certificate to use CONFIG_SATELLITE_CACERT= # If required specify the profile name that should be used as an # identifier for the system in RHN Satellite CONFIG_SATELLITE_PROFILE= # Specify a HTTP proxy to use with RHN Satellite CONFIG_SATELLITE_PROXY= # Specify a username to use with an authenticated HTTP proxy CONFIG_SATELLITE_PROXY_USERNAME= # Specify a password to use with an authenticated HTTP proxy. CONFIG_SATELLITE_PROXY_PASSWORD= # Comma separated list of flags passed to rhnreg_ks. Valid flags are: # novirtinfo, norhnsd, nopackages CONFIG_SATELLITE_FLAGS=
Story Points: ---
Clone Of:
: 911349 (view as bug list) Environment:
Last Closed: 2013-03-21 18:25:33 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: 911349    

Description Derek Higgins 2013-01-29 09:27:50 UTC
Packstack should support deployments using RHN Hosted and Satellite, it currently only supports subscription manager.

Comment 3 Martin Magr 2013-02-14 11:40:31 UTC
openstack-packstack-2012.2.2-0.9.dev406

Comment 5 Stephen Gordon 2013-02-19 20:02:06 UTC
I found that even when I entered no value for "To subscribe each server with RHN Satellite enter RHN Satellite server URL: " I was asked to answer all of the Satellite related questions (and there are a lot of them).

I think this needs to be fixed/changed so that if no value is provided for Satellite URL then we skip the rest of the Satellite questions.

To subscribe each server with RHN Satellite enter RHN Satellite server URL: 
Enter RHN Satellite username or leave plain if you will use activation key instead: 
Enter RHN Satellite password or leave plain if you will use activation key instead :
Enter RHN Satellite activation key or leave plain if you used username/password instead :
Specify a path or URL to a SSL CA certificate to use :
If required specify the profile name that should be used as an identifier for the system in RHN Satellite :
Specify a HTTP proxy to use with RHN Satellite :
Specify a username to use with an authenticated HTTP proxy :
Specify a password to use with an authenticated HTTP proxy. :
Enter comma separated list of flags passed to rhnreg_ks :

Version:

openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch

Comment 6 Stephen Gordon 2013-02-19 20:32:04 UTC
Actually now that I think of it I would say the same thing about the HTTP proxy questions, if I entered a Satellite URL and authentication values but not a HTTP proxy URL then I probably don't have HTTP proxy authentication details either.

Comment 7 Yaniv Kaul 2013-02-19 20:32:04 UTC
(In reply to comment #5)
> I found that even when I entered no value for "To subscribe each server with
> RHN Satellite enter RHN Satellite server URL: " I was asked to answer all of
> the Satellite related questions (and there are a lot of them).
> 
> I think this needs to be fixed/changed so that if no value is provided for
> Satellite URL then we skip the rest of the Satellite questions.

I'm pretty sure it also happens with other options as well (for example, I opted not to install Cinder - so no need to ask me about creation of the volume).

Comment 12 Nir Magnezi 2013-03-14 13:08:35 UTC
Verified NVR: openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarch

1. Configured packstack answers file relevant attributes[1] with Satellite configuration
2. Ran packstack using the answers file mentioned in step #1
3. Verified Satellite configuration:
   $ grep serverURL= /etc/sysconfig/rhn/up2date
   serverURL=http://<SERVER>//XMLRPC
4. Used 'yum update' to verify Satellite updates are functional
5. As for Comment #5, Now packstack doesn't ask for Satellite User/pass if the URL is left blank.

[1] CONFIG_SATELLITE_URL, CONFIG_SATELLITE_USER, CONFIG_SATELLITE_PW

Comment 15 errata-xmlrpc 2013-03-21 18:25:33 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-2013-0671.html