lp://qastaging/~rackspace-titan/nova/osapi-servers-cleanup-p1

Created by Brian Lamar and last modified
Get this branch:
bzr branch lp://qastaging/~rackspace-titan/nova/osapi-servers-cleanup-p1
Members of Titan can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Titan
Project:
OpenStack Compute (nova)
Status:
Development

Recent revisions

1187. By Brian Lamar

Clean-up, pep8 fixes, and minor HTTP status code changes.

1186. By Brian Lamar

Adds 'joinedload' statements where they need to be to prevent access of a 'detached' object.

1185. By Sandy Walsh

novaclient changed to support projectID in authentication. Caused some minor issues with distributed scheduler. This fixes them up.

1184. By Johannes Erdfelt

The Xen driver supports running instances in PV or HVM modes, but the method it uses to determine which to use is complicated and doesn't work in all cases. The result is that images that need to use HVM mode (such as FreeBSD 64-bit) end up setting a property named 'os' set to 'windows'.

This branch adds checks for a new property called 'vm_mode'. This can be set to 'pv' or 'hvm' and select the appropriate mode. If the property doesn't exist, the existing logic is still used to determine which mode to use.

1183. By Rick Harris

Adds code to run_tests.py which:

  * Prints the time taken to run each test
  * Prints the 5 slowest tests at the end of the test-run
  * Adds --hide-elapsed option to suppress elapsed time output

1182. By Dan Prince

Updated so that we use a 'tmp' subdirectory under the Xen SR when staging migrations. Fixes an issue where you would get a 'File exists' error because the directory under 'images' already existed (created via the rsync copy).

1181. By Alex Meade

Changed requests with malformed bodies to return a HTTP 400 Bad Request instead of a HTTP 500 error.

1180. By Sandy Walsh

Phew ... ok, this is the last dist-scheduler merge before we get into serious testing and minor tweaks. The heavy lifting is largely done.

This branch adds an OS API POST /zone/boot command which returns a reservation ID (unlike POST /servers which returns a single instance_id).

This branch requires v2.5 of python-novaclient

Additionally GET /servers can now take an optional reservation_id parameter, which will return all the instances with that reservation ID across all zones.

1179. By Alex Meade

Changed requests with malformed bodies to return a HTTP 400 Bad Request instead of a HTTP 500 error.

1178. By Alex Meade

Cleaned up pep8 errors using the current version of pep8 located in pip-requires. This is to remove the cluttered output when using the virtualenv to run pep8 (as you should). This will make development easier until the virtualenv requires the latest version of pep8 (see bug 721867).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/~hudson-openstack/nova/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers