Bug 844284 - katello-configure --help fails
katello-configure --help fails
Product: Subscription Asset Manager
Classification: Red Hat
Component: katello-configure (Show other bugs)
x86_64 Linux
high Severity medium
: rc
: ---
Assigned To: Katello Bug Bin
Og Maciel
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2012-07-30 04:16 EDT by Tazim Kolhar
Modified: 2017-06-26 16:41 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-06-26 16:41:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tazim Kolhar 2012-07-30 04:16:59 EDT
Description of problem:
The command katello-configure --help fails.
It should display possible options,parameters that can be used along
with the command

Version-Release number of selected component (if applicable):
[root@nec-em16 ~]# rpm -qa | grep katello

How reproducible:
yum install -y katello-all thumbslug
katello-configure --deployment=headpin

Steps to Reproduce:
1.$katello-configure --help

Actual results:
[root@nec-em16 ~]# katello-configure --help
can't convert nil into String
/usr/lib/ruby/1.8/optparse.rb:395:in `+': can't convert nil into String (TypeError)
	from /usr/lib/ruby/1.8/optparse.rb:395:in `summarize'
	from /usr/lib/ruby/1.8/optparse.rb:637:in `summarize'
	from /usr/lib/ruby/1.8/optparse.rb:634:in `reverse_each'
	from /usr/lib/ruby/1.8/optparse.rb:634:in `summarize'
	from /usr/lib/ruby/1.8/optparse.rb:1418:in `send'
	from /usr/lib/ruby/1.8/optparse.rb:1418:in `visit'
	from /usr/lib/ruby/1.8/optparse.rb:1417:in `reverse_each'
	from /usr/lib/ruby/1.8/optparse.rb:1417:in `visit'
	from /usr/lib/ruby/1.8/optparse.rb:970:in `summarize'
	from /usr/lib/ruby/1.8/optparse.rb:977:in `to_s'
	from /usr/sbin/katello-configure:259:in `puts'
	from /usr/sbin/katello-configure:259

Expected results:
the command should display possible options,parameter to be used 
Additional info:
Comment 1 Eric Sammons 2012-08-09 09:51:16 EDT
Appears fixed in katello-1.0
Comment 5 Og Maciel 2012-10-09 16:38:41 EDT
# katello-configure --help
Usage: /usr/sbin/katello-configure [options]
           Path of the answer file
           Katello administrative user (default: admin)
           Katello user's password (default: admin)
           Katello user's email (default: root@localhost)
           Katello initial Organization (default: ACME_Corporation)
           HTTP Proxy URL (example:
           HTTP Proxy port (default: 3128)
           HTTP Proxy user (proxy username, if auth is required)
           HTTP Proxy pass (proxy password, if auth is required)
           Katello database name
           Katello database user
           Katello database password
           Candlepin database user
           Candlepin databse password
           Candlepin database name
           Deployment type (one of "katello", "headpin", "cfse", "sam")
           Non-interactive installer mode
           SSL CA password
           SSL CA country
           SSL CA state
           SSL CA city
           SSL CA organization
           SSL CA organization unit
           SSL CA common name
           SSL CA e-mail address
           SSL certificate expiration (in days)
           SSL CA password file path
           Candlepin CA password file path
           Keystore password file path for Candlepin
           NSS db password file path
           NSS database path
           PKCS12 password file path
           Authentication method (database, ldap)
           LDAP server hostname
           LDAP server hostname
           LDAP server type (:posix, :active_directory, :free_ipa)
           Encryption method used in communication with LDAP server (<empty>, start_tls)
           Base DN for users accounts
           Base DN for users groups
           Use LDAP for roles membership definition (true, false)
           Allow anonymous queries (true, false) for AD or FreeIPA
           Service username for non-anon queries (IPA, AD)
           Service password for non-anon queries (IPA, AD)
           Domain for AD LDAP queries
           ElasticSearch ES_MIN_MEM java heap setting
           ElasticSearch ES_MAX_MEM java heap setting
           PostgreSQL superuser password (NONE for no password)
           OAuth token file
           Pulp user password file
           Set to 'YES' to erase all databases
           Set to 'YES' to erase RPM packages from Pulp
           Background job workers (default 1)
           Katello thin workers (the default is computed from system resources)
           Foreman thin workers (the default is computed from system resources)
           Do not show progress bars and output puppet log instead
           Print more debugging information to on the stdout (use with -b)
           Print the resulting configuration and exit
           Show this short summary (more in the man page)
Comment 6 Og Maciel 2012-10-09 16:39:11 EDT

* candlepin-0.7.12-1.el6_3.noarch
* candlepin-tomcat6-0.7.12-1.el6_3.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.1.8-1h.el6_3.noarch
* katello-cli-common-1.1.10-1h.el6_3.noarch
* katello-cli-headpin-0.2.2-1.el6_2.noarch
* katello-common-1.1.14-2h.el6_3.noarch
* katello-configure-1.1.11-1h.el6_3.noarch
* katello-glue-candlepin-1.1.14-2h.el6_3.noarch
* katello-headpin-1.1.14-2h.el6_3.noarch
* katello-headpin-all-1.1.14-2h.el6_3.noarch
* katello-selinux-1.1.2-1h.el6_3.noarch
Comment 8 Bryan Kearney 2017-06-26 16:41:25 EDT
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!

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