~hudson-openstack/nova/trunk

  • Committer: Tarmac
  • Author(s): Rick Harris
  • Date: 2011-09-21 22:14:15 UTC
  • mfrom: (1561.2.14 server_progress)
  • Revision ID: tarmac-20110921221415-xv5njvvv03wlsksh
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.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 1 14 years ago Jesse Andrews initial commit Diff
bzrplugins 254.1.1 14 years ago Soren Hansen Better log formatter for Nova. It's just like gnuc Diff
contrib 386.2.26 14 years ago Todd Willey Nova quickstart: move vish's novascript into contr Diff
doc 157.3.1 14 years ago Monty Taylor Updated sphinx layout to a two-dir layout like swi Diff
etc 469.7.1 13 years ago Todd Willey Use paste.deploy for running the api server. Diff
nova 1 14 years ago Jesse Andrews initial commit Diff
plugins 145.3.2 14 years ago Ewan Mellor Move the xenapi top level directory under plugins, Diff
po 645.3.1 13 years ago jaypipes at gmail Merge Distutils.Extra changes for automating trans Diff
smoketests 139 14 years ago Soren Hansen Merge with -core's diverged trunk. Diff
tools 139 14 years ago Soren Hansen Merge with -core's diverged trunk. Diff
.bzrignore 1168.8.19 13 years ago Lvov Maxim merge with trunk, resolve conflicts 218 bytes Diff Download File
.gitignore 182 14 years ago Tarmac Got the tree set for debian packaging. 125 bytes Diff Download File
.mailmap 1522.1.18 13 years ago Johannes Erdfelt Merge with trunk 2.7 KB Diff Download File
Authors 1598.2.2 13 years ago bmcconne at rackspace added to authors cuz trey said I cant patch otherw 4.5 KB Diff Download File
File builddeb.sh 139 14 years ago Soren Hansen Merge with -core's diverged trunk. 787 bytes Diff Download File
HACKING 1343.2.12 13 years ago Brian Waldon typo 4.5 KB Diff Download File
LICENSE 1 14 years ago Jesse Andrews initial commit 9.9 KB Diff Download File
MANIFEST.in 1559.1.1 13 years ago Thierry Carrez Update MANIFEST.in to match directory moves from r 1.5 KB Diff Download File
pylintrc 815.6.3 13 years ago Justin Santa Barbara Don't warn about C0111 (No docstrings) While docs 1.2 KB Diff Download File
README 468.2.2 13 years ago Anne Gentle Minor spellchecking fixes 837 bytes Diff Download File
run_tests.py 1443.3.40 13 years ago Brian Lamar Another attempt at fixing hanging test. 12.6 KB Diff Download File
File run_tests.sh 1499.3.1 13 years ago Ewan Mellor Bug #835952: pep8 failures do not cause the tests 4.2 KB Diff Download File
setup.cfg 1198.1.5 13 years ago Brian Lamar Cleanup of the cleanup. 372 bytes Diff Download File
setup.py 1413 13 years ago Tarmac These fixes are the result of trolling the pylint 4.5 KB Diff Download File