Marty Sweet created CLOUDSTACK-4969:
---------------------------------------
Summary: Cannot change Host OS preference from xyz -> None
Key: CLOUDSTACK-4969
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4969
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API, UI
Affects Versions: 4.2.0
Reporter: Marty Sweet
Using the API (or Web Interface) users are unable to change Hosts OS Preference
away from an OS to None.
This functionality doesn't work when manipulating the API commands either.
The following requests are sent from the WebUI:
Changing to Ubuntu:
client/api?command=updateHost
&id=864e1675-92e3-45cd-a184-54d65e61d3da
&hosttags=
&osCategoryId=47c65292-32f7-4000-8786-1eb722072cb4
&response=json
Request sent changing to None:
client/api?command=updateHost
&id=864e1675-92e3-45cd-a184--4d65e61d3da
&hosttags=
&response=json
It appears that osCategoryId should contain the UUID for the
`guest_os_category`, when this is set to 11 (as set for 'None' in my DB), it
does not work either. The JSON response from the API simply returns the old
value with no errors.
--
This message was sent by Atlassian JIRA
(v6.1#6144)