Project

General

Profile

Actions

Bug #13789

closed

Unable to update service_level, release_ver and last_checkin using API.

Added by Ranjan Kumar almost 9 years ago. Updated over 6 years ago.

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

Description

Updating service_level using curl is failing
  1. curl -k -u username:password -X PUT https://localhost/katello/api/v2/systems/<host-ID> -d '{"service_level": "standard"}' -H 'Content-Type: application/json' | json_reformat
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload Upload Total Spent Left Speed
100 111 0 82 100 29 540 191 --:--:-- --:--:-- --:--:-- 543 {
"displayMessage": "Missing values for system.",
"errors": [
"key not found: system"
]
}
Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5791 added
Actions #2

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release set to 86
Actions #3

Updated by The Foreman Bot almost 9 years ago

  • Pull request https://github.com/Katello/katello/pull/5816 added
Actions #4

Updated by Ranjan Kumar almost 9 years ago

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

Also available in: Atom PDF