Project

General

Custom queries

Profile

Actions

Bug #6161

closed

Value of Smart Variables doesn't show up on Foreman UI when it sets using API call

Added by Priyanka Choudhary almost 11 years ago. Updated almost 7 years ago.

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

Description

Tried to use foreman api to set the values for smart variables in a hostgroup. The api did work and responded correctly.

This is the curl i used to set the variables in hostgroup:

curl -H 'content-type: application/json' -H 'Accept: application/json' -k -u '$USER:$PASS' $FOREMAN_URL/api/v2/smart_class_parameters/SMART_VARIABLE/override_values -X POST -d '{"override_value":{"value":"VALUE","match":"hostgroup=HOSTGROUP"}}'

Output : {"id":19858,"match":"hostgroup=HOSTGROUP","value":"VALUE","created_at":"2014-06-11T11:10:42Z","updated_at":"2014-06-11T11:10:42Z"}

Problem Statement:
The values of the smart variables doesn't show up on the Foreman UI

#1

Updated by Joseph Magen almost 11 years ago

  • Status changed from New to Assigned
  • Target version set to 1.8.2
#2

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.2 to 1.8.1
#3

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.1 to 1.8.0
#4

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.0 to 1.7.5
#5

Updated by Ori Rabin almost 11 years ago

  • Assignee set to Ori Rabin
#6

Updated by Tomer Brisker almost 11 years ago

  • Assignee changed from Ori Rabin to Tomer Brisker
#7

Updated by The Foreman Bot almost 11 years ago

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

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.7.5 to 1.7.4
#9

Updated by Dominic Cleal over 10 years ago

  • Translation missing: en.field_release set to 10
#10

Updated by Anonymous over 10 years ago

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

Updated by Daniel Lobato Garcia over 10 years ago

  • Translation missing: en.field_release changed from 10 to 21
#12

Updated by Dominic Cleal over 10 years ago

  • Translation missing: en.field_release changed from 21 to 10
Actions

Also available in: Atom PDF