Project

General

Custom queries

Profile

Actions

Bug #12089

closed

Unable to Associate OS to Provisioning Templates via API

Added by Ryan Dyer over 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

this is in regards to this thread: https://groups.google.com/forum/#!topic/foreman-dev/6wOeQeuJX5o

I am unable to associate an OS to a provisioning template via the API. The GET of a config_template has an operatingsystems field (hash), but the PUT expects an operatingsystem_ids (array). When I PUT the os_ids array, it succeeds from a server response perspective, but there is no actual association that occurs. In 1.6 I achieved this using a PUT of operatingsystems as a hash. I do not know which release changed this behavior.

#2

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 91
#3

Updated by Tomáš Strachota over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
#8

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2851 added
  • Pull request deleted ()
#10

Updated by Anonymous over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF