summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2012-11-05 11:01:14 -0800
committerDan Smith <danms@us.ibm.com>2012-11-08 11:34:33 -0800
commita51d60f2ba557926f982d7f6c735ed12e5deb5e9 (patch)
tree590e741f2418e40d21f6da6a0594125509f7a046 /bin/stack
parent53edd1ef81820f948ed2ba4818667836be50d0ea (diff)
downloadnova-a51d60f2ba557926f982d7f6c735ed12e5deb5e9.tar.gz
nova-a51d60f2ba557926f982d7f6c735ed12e5deb5e9.tar.xz
nova-a51d60f2ba557926f982d7f6c735ed12e5deb5e9.zip
Move host aggregate operations to VirtAPI
This patch moves the following virt driver host aggregate operations to the VirtAPI: aggregate_get_by_host() aggregate_metadata_get() aggregate_metadata_add() aggregate_metadata_delete() In the process, a bug was found in the xenapi/host.py code that raises an AggregateHostNotFound error in such a way that a KeyError is generated. This changes that behavior to raise a NotFound instead, since the former expects you to already know the aggregate_id, which we do not. This patch extends the XenAPI host_maintenance_mode test to exercise this error path, as well as the one where a host is not found within the returned aggregate. Related to bp/no-db-compute Change-Id: I006665bfb27774d2eeb713b79c188ca53f6fb00b
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions