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 1017238

Summary: Systems cannot be found via uuid through the API
Product: Red Hat Satellite Reporter: Eric Helms <ehelms>
Component: APIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: cwelton, jmontleo
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: 2014-07-02 14:14:40 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 Eric Helms 2013-10-09 13:21:13 UTC
Description of problem:
The API does not allow finding a system by UUID. This is used in some places by the CLI.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
query the API: https://<server>/katello/api/organizations/ACME_Corporation/systems?uuid=<system_uuid>

Actual results:
No systems

Expected results:
A list of systems with 1 system having the specified UUID.

Additional info:

Comment 1 Eric Helms 2013-10-09 13:28:17 UTC
https://github.com/Katello/katello/pull/3142

Comment 5 Mike McCune 2013-10-17 21:06:29 UTC
Moving this to be tested during MDP3, not critical for MDP2 success story

Comment 6 Corey Welton 2014-04-24 17:39:10 UTC
QE Verified in Satellite-6.0.3-RHEL-6-20140423.0

# curl https://admin:changeme@`hostname`/katello/api/organizations/ACME_Corporation/systems?uuid=5173d76a-e5a0-4341-910e-d8a6c6f0d54a --insecure
[{"content_view_id":1,"created_at":"2014-04-24T17:31:21Z","description":"Initial Registration Params","environment_id":1,"id":1,"location":"None","name":"cloud-qe-13.idm.lab.bos.redhat.com","updated_at":"2014-04-24T17:31:23Z","uuid":"5173d76a-e5a0-4341-910e-d8a6c6f0d54a","serviceLevel":"","environment":{"id":1,"name":"Library","description":null,"library":true,"organization_id":1,"created_at":"2014-04-23T18:02:50Z","updated_at":"2014-04-23T18:02:50Z","label":"Library","prior":null,"prior_id":null,"organization":"ACME_Corporation"},"activation_key":[],"content_view":{"id":1,"name":"Default Organization View","label":"Default_Organization_View","description":null,"organization_id":1,"default":true,"created_at":"2014-04-23T18:02:51Z","updated_at":"2014-04-23T18:02:51Z","composite":null,"next_version":1,"organization":"ACME_Corporation","environments":["Library"],"versions":[1],"versions_details":[{"version":1,"published":"2014-04-23 18:02:51 UTC","environments":["Library"]}]},"ipv4_address":"10.16.96.102","guests":[],"compliance":{"date":"2014-04-24T17:37:47.006+0000","compliantUntil":"2014-04-24T17:37:47.006+0000","nonCompliantProducts":["69"],"compliantProducts":{},"partiallyCompliantProducts":{},"partialStacks":{},"reasons":[{"key":"NOTCOVERED","message":"Not supported by a valid subscription.","attributes":{"product_id":"69","name":"Red Hat Enterprise Linux Server"}}],"compliant":false,"status":"invalid"},"registered":"2014-04-24T17:31:21.830+0000","checkin_time":"2014-04-24T13:31:27-04:00","distribution":"Red Hat Enterprise Linux Server 6.5"}]

Comment 7 Bryan Kearney 2014-07-02 14:09:48 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 8 Bryan Kearney 2014-07-02 14:09:58 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 9 Bryan Kearney 2014-07-02 14:14:40 UTC
This was delivered in the Satellite 6 Beta (6.0.3)