Bug 768014 - katello-configure with answer-file org_name fails
Summary: katello-configure with answer-file org_name fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello-configure
Version: 1.0.0
Hardware: Unspecified
OS: Linux
urgent
urgent
Target Milestone: beta
: 1.0
Assignee: Bryan Kearney
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: 703617 katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-15 14:27 UTC by Eric Sammons
Modified: 2012-04-27 00:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
headpin
Last Closed: 2012-04-27 00:22:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 788560 0 low CLOSED RFE: Support for package group categories in TDL 2021-02-22 00:41:40 UTC

Description Eric Sammons 2011-12-15 14:27:30 UTC
Description of problem:
When configuring (deployment=headpin) with a custom answer file, specified org_name is _not_ configured.

Version-Release number of selected component (if applicable):
katello-headpin-all-0.1.116-2.el6.noarch

Steps to Reproduce:
1. cp default-answer-file /tmp/answer-file and edit.
   Specify custom user_name, user_pass, and org_name.
2. katello-configure --deployment=headpin --answer-file=/tmp/answer-file
3. Navigate to http://[servername]/headpin
  
Actual results:
ACME_Corporation is installed / configured v. the specified org_name.

Expected results:
Specified org_name should be the only org installed / configured.

Comment 1 Eric Sammons 2011-12-15 15:28:47 UTC
Further investigation, turns out that org_name went into the Description field of ACME_Corporation.

Comment 7 Garik Khachikyan 2012-02-01 13:39:05 UTC
A scenario: katello-configure --deployment=headpin --org-name Garik-n-co

works fine with preparing default org: Garik-n-co

will try the other one (taking value from answer file).

Comment 8 Garik Khachikyan 2012-02-02 11:39:30 UTC
# REOPEN

so the option with providing --org-name in the cli installer - WORKS
the one in answer_file - NOT

---
katello-configure --deployment=headpin --answer-file=/tmp/answer-file
<snip>
# Katello initial Organization (default: ACME_Corporation)
org_name = GarikOrg
</snip>

checked against packages:
---
katello-headpin-all-0.1.129-1.el6.noarch
katello-configure-0.1.58-1.el6.noarch

Comment 9 Lukas Zapletal 2012-02-07 11:48:29 UTC
Is anybody working on this one? It's on my name. If not, I will start working on it tomorrow.

Comment 10 Lukas Zapletal 2012-02-08 13:38:00 UTC
It would be much easier to implement this in ImageFactory, but I am not sure if this is technically possible. Categories are maybe not visible to yum.

https://bugzilla.redhat.com/show_bug.cgi?id=788560

Comment 11 Bryan Kearney 2012-02-08 13:45:15 UTC
I think this was the wrong bz :)

Comment 12 Lukas Zapletal 2012-02-08 14:21:40 UTC
Damn, sorry, discard C-10.

Comment 13 Lukas Zapletal 2012-02-09 14:30:01 UTC
Race condition when executing puppet in headpin deployment.

commit 5e4fe62863eb6b5d2bc7b9727668106aae50f39f


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