Project

General

Profile

Actions

Bug #867

closed

updating a host to belong to a null hostgroup doesn't work

Added by Corey Osman over 13 years ago. Updated over 13 years ago.

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

Description

when I call http://foreman/hosts/update_multiple_hostgroup with some json code where the hostgroup_id is set to "". The api call completes but it doesn't seem to update the host.
If I were to update the host through http://foreman/hosts/FQDN and pass in hostgroup_id="" the command would complete successfully and set the hostgroup to "blank" hostgroup. I also don't see a method to select a "blank" hostgroup when using the webui multiedit function either. I'll need this feature in order to unset a host from a hostgroup from my mobile app


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #892: submit button is missing when host has no hostgroup and is managedClosedAmos Benari05/09/2011Actions
Actions

Also available in: Atom PDF