Description of problem: We were trying to access API documentation for virt-who configuration and its sub commands, but didn't found found . Version-Release number of selected component (if applicable): sat 6.3 snap 10 How reproducible: always Steps to Reproduce: 1. Navigate to https://$HOST/apidoc/v2 2. Search for virt-who configs. Actual results: API documentation link for virt-who configs https://$HOST/apidoc/v2/configs /index.html and its sub commands not found. Expected results: API documentation link for virt-who configs https://$HOST/apidoc/v2/configs /index.html and its sub commands should show results. Additional info:
On a 6.3 instance, snap 12, I see the following on "configs": { "List of virt-who configurations": "/foreman_virt_who_configure/api/configs", "Show a virt-who configuration": "/foreman_virt_who_configure/api/configs/:id", "Renders a deploy script for the specified virt-who configuration": "/foreman_virt_who_configure/api/configs/:id/deploy_script", "Create a virt-who configuration": "/foreman_virt_who_configure/api/configs", "Update a virt-who configuration": "/foreman_virt_who_configure/api/configs/:id", "Delete a virt-who configuration": "/foreman_virt_who_configure/api/configs/:id" }, Is that what you're looking for? Setting this to failed triage for the moment..
(In reply to Daniel Lobato Garcia from comment #1) > On a 6.3 instance, snap 12, I see the following on > > "configs": { > > "List of virt-who configurations": > "/foreman_virt_who_configure/api/configs", > "Show a virt-who configuration": > "/foreman_virt_who_configure/api/configs/:id", > "Renders a deploy script for the specified virt-who configuration": > "/foreman_virt_who_configure/api/configs/:id/deploy_script", > "Create a virt-who configuration": > "/foreman_virt_who_configure/api/configs", > "Update a virt-who configuration": > "/foreman_virt_who_configure/api/configs/:id", > "Delete a virt-who configuration": > "/foreman_virt_who_configure/api/configs/:id" > > }, > > Is that what you're looking for? Setting this to failed triage for the > moment.. Hi, Yeah, you are correct. But when tried to look for info regarding each option, is not found. Issue is about doc regarding create, update, delete which is available for all other features. for ex : Doc for create virt-who configuration returns no result. curl -s -X GET -k -u admin:<password> 'https://$HOST/apidoc/v2/configs/update.html'
As a simple workaround, run > foreman-rake apipie:cache
*** Bug 1479900 has been marked as a duplicate of this bug. ***
*** Bug 1500277 has been marked as a duplicate of this bug. ***
The apipie cache needs to be pre-built during package build. I'll fix the packaging.
Created redmine issue http://projects.theforeman.org/issues/21455 from this bug
Upstream bug assigned to mhulan
This has been delivered in foreman_virt_who_configure-0.1.8-2 which did not make it into beta build since the upstream issue was not auto-closed after merge.
VERIFIED Version Tested: Satellite-6.3 Snap 27 Found API docs available for virt-who config and its sub-commands.
Created attachment 1364052 [details] API doc for virt-who config
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/RHSA-2018:0336