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 1202917 - GET /katello/api/v2/systems/:id does not return all attributes
Summary: GET /katello/api/v2/systems/:id does not return all attributes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-17 17:02 UTC by jaudet
Modified: 2016-08-25 17:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-25 17:53:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jaudet 2015-03-17 17:02:43 UTC
Description of problem:
An HTTP GET /katello/api/v2/systems/:id returns a hash of information about a system. The "facts" and "type" keys are missing from this hash.

Version-Release number of selected component (if applicable):
Tested against Satellite-6.1.0-RHEL-6-20150311.1 and Satellite-6.1.0-RHEL-7-20150311.1.

How reproducible:
Always.

Steps to Reproduce:
1. Make an HTTP GET call to /katello/api/v2/systems/:id
2. Look at the keys of the JSON response payload.

Actual results:

These are the keys in the returned hash:

    [
        u'activation_keys',
        u'autoheal',
        u'checkin_time',
        u'content_overrides',
        u'content_view',
        u'content_view_id',
        u'created',
        u'customInfo',
        u'description',
        u'distribution',
        u'entitlementStatus',
        u'environment',
        u'errata_counts',
        u'host',
        u'hostCollections',
        u'href',
        u'id',
        u'installedProducts',
        u'katello_agent_installed',
        u'location',
        u'name',
        u'organization_id',
        u'permissions',
        u'products',
        u'registered_by',
        u'release',
        u'release_ver',
        u'service_level',
        u'uuid',
    ]

Expected results:
Same as above, but with the "type" and "facts" keys present.

Additional info:

Comment 2 RHEL Program Management 2015-03-17 17:13:09 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 4 jaudet 2015-03-17 17:31:55 UTC
An automated test for this issue will be added to QE's test suite shortly. See https://github.com/SatelliteQE/robottelo/pull/1984

Comment 6 Bryan Kearney 2016-08-04 20:09:55 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 8 Justin Sherrill 2016-08-25 17:53:44 UTC
This api is being removed in 6.3. Closing as wontfix


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