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 1379006 - API post to provisioning_templates give a 505 Internal Server Error is the wrong template_kind_type is provided
Summary: API post to provisioning_templates give a 505 Internal Server Error is the wr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.2.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-23 22:10 UTC by Rick Dixon
Modified: 2020-04-15 14:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13704 0 None None None 2016-10-06 06:39:46 UTC
Foreman Issue Tracker 16813 0 None None None 2016-10-06 06:34:52 UTC

Comment 2 Marek Hulan 2016-10-06 06:34:49 UTC
Created redmine issue http://projects.theforeman.org/issues/16813 from this bug

Comment 3 Marek Hulan 2016-10-06 06:39:47 UTC
This needs patches from both linked redmine issues 13704 and 16813

Comment 4 Bryan Kearney 2016-10-06 08:08:12 UTC
Upstream bug assigned to mhulan

Comment 5 Bryan Kearney 2016-10-06 08:08:16 UTC
Upstream bug assigned to mhulan

Comment 6 Bryan Kearney 2016-10-07 12:08:13 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16813 has been resolved.

Comment 7 Stanislav Tkachenko 2017-01-24 15:58:44 UTC
Verified on Satellite 6.3 Snap 8.0 / Foreman 1.13.2.2-1

> 2017-01-24 17:56:33 - nailgun.client - DEBUG - Making HTTP POST request to https://sat6.com/api/v2/provisioning_templates with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"provisioning_template": {"template_kind_name": "QLvGEXWyaG", "snippet": false, "template_kind_id": 1, "template": "\ud85f\udf0c\uac67\ub6d6\ud867\udfed\ud840\ude71\ud855\udf53\u1152\uff22\ud840\udc85\u659e\ud128\ud868\udff0\ud862\ude1f\ud84b\udfe3\ud847\udff5\ud855\udd35\ud843\ude35\ud85d\udcb2\ud85f\udf72\ud845\udfe5\ud842\udc20\u7554\ud866\uddc8", "name": "DzsDgbGsjrfo"}}.

> 2017-01-24 17:56:34 - nailgun.client - WARNING - Received HTTP 404 response: {"message":"Could not find template_kind with name: QLvGEXWyaG"}

Comment 8 Satellite Program 2018-02-21 16:54:17 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/RHSA-2018:0336


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