Logic in add_host_to_aggregate() is incorrect.
Bug #1208628 reported by
Matthew Treinish
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matthew Treinish |
Bug Description
The logic to check if the host being added to an availability zone is already a member of an availability zone in add_host_
Also there was no protection against the availability zone key not being in the database. So if if an aggregate was created without an availability zone this check would raise a KeyError when you tried to add a host to it.
Changed in nova: | |
assignee: | Matthew Treinish (treinish) → David Jia (jiataotj) |
Changed in nova: | |
assignee: | David Jia (jiataotj) → Matthew Treinish (treinish) |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/40424
Review: https:/