Description of problem: Build default PXE menu is an action that modifies data. Therefor the API request shall be a POST request instead of GET request. This makes it also consistent with the import_puppetclases API call that needs a POST request Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created redmine issue http://projects.theforeman.org/issues/6976 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/6976 has been closed ------------- Anonymous Applied in changeset commit:9250d8b4eb1173b7bfd3eed9bb69ba6a6da4eb5b.
Verified with latest upstream build: foreman-release-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch [root@cloud-qe-XX ~]# curl -k -u admin:changeme -H "Content-Type: application/json" -X POST 'https://foreman-server/api/v2/config_templates/build_pxe_default' {"message":"PXE Default file has been deployed to all Smart Proxies"}[root@cloud-qe-XX ~]# Now build default pxe is now a POST request.
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:1500