Bug 1219206

Summary: katello-installer fails with "ERROR: Unrecognised option '--profile'"
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: InstallationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: jcallaha
Severity: urgent Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, cwelton, jcallaha, sghai, stbenjam, sthirugn
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:00: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:

Description Jan Hutař 2015-05-06 20:13:17 UTC
Description of problem:
katello-installer fails with "ERROR: Unrecognised option '--profile'"


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150506.0-Satellite-x86_64


How reproducible:
always


Steps to Reproduce:
1. # katello-installer --foreman-admin-email 'root@localhost' --foreman-admin-username '<user>' --foreman-admin-password '<pass>' --capsule-parent-fqdn <fqdn> --capsule-dns true --capsule-dns-forwarders <ip1> --capsule-dns-forwarders <ip2>  --capsule-dns-interface virbr1 --capsule-dns-zone katellolabs.org --capsule-dhcp true --capsule-dhcp-interface virbr1 --capsule-tftp true --capsule-puppet true --capsule-puppetca true --capsule-register-in-foreman true --capsule-foreman-oauth-secret <hash> --capsule-pulp false


Actual results:
# katello-installer [...]
ERROR: Unrecognised option '--profile'

See: 'katello-installer --help'


Expected results:
Configuration of the product should start

Comment 4 Sachin Ghai 2015-05-07 08:24:22 UTC
I got similar issue while upgrading the sat6.0.8 with sat6.1 GA snap3.

[root@sat6 yum.repos.d]# katello-installer --upgrade
ERROR: Unrecognised option '--profile'

Comment 6 sthirugn@redhat.com 2015-05-07 12:27:27 UTC
Reopening this bug.  BZ 1205668 specifically talks about upgrade scenario only.

Sat 6.1 installation on rhel66 failed:

# katello-installer -d -v --capsule-tftp="true" --foreman-admin-password="changeme" --capsule-dhcp-interface="virbr1" --katello-proxy-password="redhat" --capsule-dns-interface="virbr1" --katello-proxy-port="3128" --capsule-dns="true" --capsule-register-in-foreman="true" --capsule-puppet="true" --capsule-puppetca="true" --capsule-dns-zone="***" --capsule-dhcp="true" --katello-proxy-url="***" --katello-proxy-username="***" --capsule-dns-forwarders="***" --capsule-dns-forwarders="***" --capsule-dns-forwarders="***"

ERROR: Unrecognised option '--profile'

Comment 7 Stephen Benjamin 2015-05-07 12:49:42 UTC
Well, there's nothing to do for this bug. It was introduced by an incorrect cherry-pick, the new MR, as I mentioned in the other BZ, is open.

I'm moving this to POST, and can be MODIFIED when the downstream MR is merged.

Comment 9 Sachin Ghai 2015-05-08 08:32:14 UTC
Looks like the reported issue has been fixed in snap3 compose2. 

Comamnd `katello-installer --upgrade` didn't throw

ERROR: Unrecognised option '--profile'

Comment 10 jcallaha 2015-05-08 19:59:41 UTC
Verified in Satellite 6.1 Snap 3

Comment 11 Bryan Kearney 2015-08-11 13:25:52 UTC
This bug is slated to be released with Satellite 6.1.

Comment 12 Bryan Kearney 2015-08-12 14:00:33 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.