Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1127576

Summary: Build default PXE menu shall be POST request instead of GET
Product: Red Hat Satellite Reporter: Peter Vreman <peter.vreman>
Component: APIAssignee: Tomas Strachota <tstrachota>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: low Docs Contact:
Priority: medium    
Version: 6.0.3CC: dcleal, sghai, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6976
Whiteboard: Verified in Upstream
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 08:43:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1122832    

Description Peter Vreman 2014-08-07 07:53:09 UTC
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:

Comment 1 Dominic Cleal 2014-08-07 07:57:07 UTC
Created redmine issue http://projects.theforeman.org/issues/6976 from this bug

Comment 3 Bryan Kearney 2015-06-10 18:02:13 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6976 has been closed
-------------
Anonymous
Applied in changeset commit:9250d8b4eb1173b7bfd3eed9bb69ba6a6da4eb5b.

Comment 4 Sachin Ghai 2015-10-20 09:58:59 UTC
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.

Comment 7 errata-xmlrpc 2016-07-27 08:43:21 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:1500