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 1099529 - lifecycle environments api not returning results
Summary: lifecycle environments api not returning results
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Adam Saleh
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-20 14:32 UTC by Tom McKay
Modified: 2016-04-22 15:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-26 11:41:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5825 0 None None None 2016-04-22 15:15:05 UTC

Description Tom McKay 2014-05-20 14:32:39 UTC
http://localhost:3000/katello/api/v2/environments?organization_id=3&library=true

With or without library results in no results.

<pre>
{
    "total": 0,
    "subtotal": 0,
    "page": 1,
    "per_page": 20,
    "search": null,
    "sort": {
        "by": null,
        "order": null
    },
    "results": []
}
</pre>

Comment 1 Tom McKay 2014-05-20 14:32:41 UTC
Created from redmine issue http://projects.theforeman.org/issues/5825

Comment 3 Bryan Kearney 2014-05-21 17:53:54 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5825 has been closed

Comment 5 Adam Saleh 2014-05-26 11:41:11 UTC
https://qetello02.usersys.redhat.com/katello/api/v2/environments?organization_id=1

now returns:

{"total":1,"subtotal":1,"page":1,"per_page":20,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"name":"Library","label":"Library","description":null,"organization":{"name":"ACME_Corporation","label":"ACME_Corporation"},"created_at":"2014-05-23T12:32:58Z","updated_at":"2014-05-23T12:32:58Z","library":true,"prior":null,"permissions":{"readable":true,"editable":true,"deletable":true,"promotable_or_removable":true}}]}


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