summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2011-09-21 22:14:15 +0000
committerTarmac <>2011-09-21 22:14:15 +0000
commitd865a2a97c013a811c2c6baad00fa1eb95406c8d (patch)
treee8a8881f91717d2f16b4de995f774e92f168e7b5 /bin/stack
parent221509abcdef0077e8c592c5e0a6ae3add78b007 (diff)
parent4fb602fcbc2a7b0681e79454fe7c3f01110b1f0e (diff)
downloadnova-d865a2a97c013a811c2c6baad00fa1eb95406c8d.tar.gz
nova-d865a2a97c013a811c2c6baad00fa1eb95406c8d.tar.xz
nova-d865a2a97c013a811c2c6baad00fa1eb95406c8d.zip
This patch adds instance progress which is used by the OpenStack API to indicate how far along the current executing action is (BUILD/REBUILD, MIGRATION/RESIZE).
For the first cut, we decided to keep it simple and compute progress by counting discrete steps. This is not ideal since some steps, in particular, steps which involve transferring large amounts of data over the network, take *much* longer than others. A better approximation would account for the data-transferred to the destination host, since in most cases, this dominates the time spent. In addition to adding progress, this patch: - Allows resizes to use same host for source and destination which is useful for dev environments without a second host. This is enabled by the --allow_resize_to_same_host flag. - Fixes a bug in the glance and migration XenAPI plugins where the VHDs were being copied into the SR in the wrong order. Before the base-copy was copied first meaning it was possible for snapwatchd to see the base-copy before the dependent cow was present. It was treat the base_copy as an unreferenced parent, and GC it. - Additional refactoring and cleanups.
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions