Unable to create server with image that has hw_watchdog_action='disabled'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
This is from ocata devstack. Set the hw_watchdog_action image property with value 'disabled':
stack@osc:~$ openstack image set --property hw_watchdog_
stack@osc:~$ openstack image show -c properties cirros-
+------
| Field | Value |
+------
| properties | hw_watchdog_
+------
Then try to boot the server and it will fail:
stack@osc:~$ nova boot --poll --image c8af19ff-
ERROR (BadRequest): Invalid image metadata. Error: Field value disabled is invalid (HTTP 400) (Request-ID: req-488be9ab-
stack@osc:
commit 7a9eb10d0d15e53
Merge: b796673 951dee3
Author: Jenkins <email address hidden>
Date: Wed Oct 5 18:27:22 2016 +0000
Merge "Fix periodic-
The problem is the ImageMetaProps object in nova is using enums for the hw_watchdog_action field:
And that doesn't have 'disabled' as a value.
However, if you look at the glance metadef it's an option, so someone using Horizon could set this:
And the libvirt driver actually defaults to 'disabled':
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Matt Riedemann (mriedem) |
no longer affects: | nova/newton |
Fix proposed to branch: master /review. openstack. org/386221
Review: https:/