API to view location parameter fails to resolve the location name with its location ID in Red Hat Satellite 6.
Issue
-
API call to view location parameter fails to resolve the location name with its location ID and fails with the error mentioned below:
Location with id <ID> not found
-
Syntax for listing out parameters associated with a location is same in the
APIDOC
of both Red Hat Satellite 6.2 and Red Hat Satellite 6.3 :GET /api/locations/:location_id/parameters
-
In Red Hat Satellite 6.2 the API call somehow was able to resolve the name of the location to its id whereas in Red Hat Satellite 6.3 it is not doing the same thing.
- As a workaround use the location ID instead of location Name.
Environment
- Red Hat Satellite 6.3.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.