Bug 1127576 - Build default PXE menu shall be POST request instead of GET
Summary: Build default PXE menu shall be POST request instead of GET
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard: Verified in Upstream
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
Reported: 2014-08-07 07:53 UTC by Peter Vreman
Modified: 2019-09-26 17:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-27 08:43:21 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6976 0 Normal Closed Build default PXE menu should be POST request instead of GET 2020-06-10 13:39:53 UTC
Red Hat Product Errata RHBA-2016:1500 0 normal SHIPPED_LIVE Red Hat Satellite 6.2 Base Libraries 2016-07-27 12:24:38 UTC

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:

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
Applied in changeset commit:9250d8b4eb1173b7bfd3eed9bb69ba6a6da4eb5b.

Comment 4 Sachin Ghai 2015-10-20 09:58:59 UTC
Verified with latest upstream build:


[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.


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