Bug 921545 - Openstack Installer: RHN, Satellite and subscription manager related attributes should be removed.
Summary: Openstack Installer: RHN, Satellite and subscription manager related attribut...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-packstack
Version: 18
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Derek Higgins
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 927645 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-14 12:13 UTC by Nir Magnezi
Modified: 2013-06-24 15:16 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-2013.1.1-0.7.dev580
Clone Of:
Environment:
Last Closed: 2013-06-24 15:08:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nir Magnezi 2013-03-14 12:13:44 UTC
Description of problem:
=======================
In the Upstream version of packstack, RHN, Satellite and subscription manager related attributes should not be available.


Version-Release number of selected component (if applicable):
=============================================================
openstack-packstack-2012.2.3-0.1.dev454.fc18.noarch


How reproducible:
=================

Steps to Reproduce:
===================
1. Repo baseurl=http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-17/
2. yum install openstack-packstack
3. packstack --gen-answer-file=ans.txt
4. Redhat Related attributes:


Actual results:
===============
$ grep -E "CONFIG_RH|CONFIG_SATELLITE" ans.txt | grep -v "#"
CONFIG_RH_USER=
CONFIG_RH_PW=
CONFIG_RH_BETA_REPO=n
CONFIG_SATELLITE_URL=
CONFIG_SATELLITE_USER=
CONFIG_SATELLITE_PW=
CONFIG_SATELLITE_AKEY=
CONFIG_SATELLITE_CACERT=
CONFIG_SATELLITE_PROFILE=
CONFIG_SATELLITE_FLAGS=
CONFIG_SATELLITE_PROXY=
CONFIG_SATELLITE_PROXY_USER=
CONFIG_SATELLITE_PROXY_PW=


Expected results:
=================
No RHN, Satellite and subscription manager related attributes should be avalible.

Comment 1 Sandro Mathys 2013-03-26 12:01:26 UTC
*** Bug 927645 has been marked as a duplicate of this bug. ***

Comment 2 Justin Clift 2013-03-26 12:24:54 UTC
It's not just having the attributes available in the answer file afterwards.  The main packstack installer also asks questions like RHN subscription and similar.

Neither should be in upstream packstack otherwise packstack looks like a marketing ploy. :(

Comment 3 Dave Neary 2013-04-03 08:47:52 UTC
Derek?

I'm fine with having RHN options in the answer file, and being able to enable RHN subscriptions for hosts post-install, but I agree that this doesn't look good if you're running the installer in interactive mode on Fedora or CentOS. Would it be possible to skip these questions in the interactive install?

Justin: If you *are* running on RHEL, then having Packstack manage RHN subscriptions is helpful to the user - I think it's OK to have this here.

Comment 4 Justin Clift 2013-04-03 08:54:12 UTC
Yeah, when running RHEL the questions are appropriate.

But IMHO they shouldn't be asked for people running anything else.

It's not like it's hard for the scripting to check first. :)

Comment 5 Sandro Mathys 2013-04-03 10:11:44 UTC
Proposed a simple solution:

https://review.openstack.org/25993


Note You need to log in before you can comment on or make changes to this bug.