anti-affinity server boot failure shows stack trace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Balazs Gibizer |
Bug Description
If anti-affinity policy is set for two different servers, and only one host is available, a stack trace is shown instead of a error message. Failure is expected, but a message about why it failed would be helpful.
On a single node devstack setup:
nova server-group-create --policy anti-affinity aagroup
nova boot --flavor m1.nano --image cirros-
nova boot --flavor m1.nano --image cirros-
server1 boots fine
server2 has Status Error and Power State No State
Horizon shows:
Fault
Message
unsupported operand type(s) for |: 'list' and 'set'
Code
500
Details
File "/opt/stack/
Created
April 3, 2014, 1:58 p.m.
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
tags: | added: icehouse-backport-potential icehouse-rc-potential |
Changed in nova: | |
milestone: | none → icehouse-rc2 |
importance: | Undecided → High |
Changed in nova: | |
milestone: | icehouse-rc2 → 2014.1 |
tags: | removed: icehouse-rc-potential |
no longer affects: | horizon |
Fix proposed to branch: master /review. openstack. org/85401
Review: https:/