Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1056295

Summary: Support registration to Red Hat Satellite in openshift.ks
Product: OpenShift Container Platform Reporter: Luke Meyer <lmeyer>
Component: InstallerAssignee: Luke Meyer <lmeyer>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.0.0CC: bleanhar, jialiu, libra-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-13 12:48:52 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:

Description Luke Meyer 2014-01-21 22:27:10 UTC
Description of problem:
If a user wishes to register to Satellite, apparently all they need to do is add --serverUrl SERVER_URL to the rhnreg_ks command. We should have a configurable option for this.

While we are at it, there's a similar option --serverurl=SERVER_URL for subscription-manager register. So, just a single conf option should set the server url for either.

Additional info:
There are quite a lot of options that someone might want to add both to rhnreg_ks or to subscription-manager register. It might be better to just have a catch-all CONF_REGISTER_OPTIONS or something that can encompass everything non-essential that people might want, rather than having to go back later and add options for --insecure, --sslCACert, --org, etc... And for that matter that could replace the activation key option we have now.

Comment 3 Luke Meyer 2014-02-19 22:40:10 UTC creates CONF_RHN_REG_OPTS for this purpose.

Comment 4 Johnny Liu 2014-02-20 10:36:12 UTC
Verified this bug, and PASS.

For RHN:

During installation, could see the following, CONF_RHN_REG_OPTS is already attached to rhnreg_ks command:
rhnreg_ks --force --profilename='' --username 'xxx' --serverUrl=

CONF_RHN_REG_OPTS=" --baseurl="

During installation, could see the following, CONF_RHN_REG_OPTS is already attached to subscription-manager command:
OpenShift: Register with RHSM
subscription-manager register --force --username='xxx' --name '' --baseurl=

After installation, app creation succeed.