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 1361114 - Can't access foreman location parameters
Summary: Can't access foreman location parameters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Organizations and Locations
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On: 1221710
Blocks: 1256461
TreeView+ depends on / blocked
 
Reported: 2016-07-28 11:15 UTC by Tomas Strachota
Modified: 2019-06-13 21:25 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1221710
Environment:
Last Closed: 2016-09-27 09:03:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1938 0 normal SHIPPED_LIVE Satellite 6.1.10 bug fix update 2016-09-27 12:56:10 UTC

Comment 1 Tomas Strachota 2016-07-28 11:17:23 UTC
Cloning for 6.1.z

Comment 3 jcallaha 2016-09-21 20:48:37 UTC
Verified in Satellite 6.1.10 Snap 1.1. 
You can now see the parameters for a location when using the parameters path. However, you cannot view the parameters when visiting the base path. As this issue does not stop us from viewing the parameters, I will not fail this bug, instead a new one will be filed.

GET https://rhsm-qe-1.rhq.lab.eng.bos.redhat.com/api/v2/locations/3/parameters/
{
  "total": 2,
  "subtotal": 2,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "id": 3,
      "name": "param1",
      "value": "first test parameter",
      "priority": null,
      "created_at": "2016-09-21T20:38:04Z",
      "updated_at": "2016-09-21T20:38:04Z"
    },
    {
      "id": 4,
      "name": "param2",
      "value": "second test parameter",
      "priority": null,
      "created_at": "2016-09-21T20:38:04Z",
      "updated_at": "2016-09-21T20:38:04Z"
    }
  ]
}



GET https://rhsm-qe-1.rhq.lab.eng.bos.redhat.com/api/v2/locations/3
{
  "id": 3,
  "name": "Brand New Location",
  "title": "Default Location/Brand New Location",
  "created_at": "2016-09-20T19:31:12Z",
  "updated_at": "2016-09-21T20:38:34Z",
  "select_all_types": [
    "ConfigTemplate",
    "Hostgroup"
  ],
  "description": "",
  "parameters": [
    {},
    {}
  ],
  "users": [],
  "smart_proxies": [],
  "subnets": [],
  "compute_resources": [],
  "media": [],
  "config_templates": [],
  "domains": [],
  "environments": [],
  "hostgroups": [],
  "organizations": []
}

Comment 5 errata-xmlrpc 2016-09-27 09:03:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1938


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