Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1095410

Summary: Hammer subscription command should support org searching
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: HammerAssignee: Dustin Tsang <dtsang>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: jmontleo, jsherril, mmccune, omaciel
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5794
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 17:58:21 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 Bryan Kearney 2014-05-07 15:55:33 UTC
Most commands allow me to pass in more than just organization-id. They also take name and few others. The subscription command should be augmented to support this feature.

Comment 1 RHEL Program Management 2014-05-07 16:06:11 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dustin Tsang 2014-05-19 14:29:42 UTC
redmine issue created

Comment 4 Bryan Kearney 2014-05-27 20:47:32 UTC
*** Bug 1101657 has been marked as a duplicate of this bug. ***

Comment 5 Bryan Kearney 2014-06-04 13:02:37 UTC
I am going to re-pupose this bug to track the fact the subscription upload command is not being expanded. This is the only part of the issue not covered by 

http://projects.theforeman.org/issues/5794

Comment 6 Dustin Tsang 2014-06-05 18:07:24 UTC
organization upload is expanding with the latest changes in upstream.

    hammer subscription upload [OPTIONS]

Options:
    --async                       Do not wait for the task
    --file MANIFEST               Subscription manifest file
    --organization ORGANIZATION_NAME  
    --organization-id ORGANIZATION_ID Organization id
    --organization-label ORGANIZATION_LABEL  
    --repository-url REPOSITORY_URL repository url
    -h, --help                    print help

Comment 7 Jason Montleon 2014-06-06 19:07:34 UTC
http://projects.theforeman.org/issues/5794 is giving me a 404 error when I try to view. Is there a PR I need to merge or is what's needed already in downstream?

Comment 8 Dustin Tsang 2014-06-09 17:58:21 UTC
Jason, sorry for not mentioning a PR.
Closing as WONTFIX since compose 8-2 already has the fix in place.