summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | Use openstack.common.importutils.Russell Bryant2012-04-2851-146/+354
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use import_class(), import_object(), and import_module() from openstack-common's importutils module. The equivalent functions have been removed from nova.utils. A few modules had import order cleaned up in passing, as well. My initial motivation for this was to remove some more usage of nova bits from nova.rpc as another step towards being able to move nova.rpc import openstack-common. Since I was pulling importutils into nova, I went ahead and converted the whole thing. Change-Id: I7c7786cf0001bcd06db52b9a99ff4284a3f6c6fa
* | | | | | | | | | | Merge "Port types and extra specs to volume api"Jenkins2012-04-3017-50/+883
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Port types and extra specs to volume apiVishvananda Ishaya2012-04-1317-50/+883
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 979089 * Adds pollicy for new extensions * Fixes __init__ in testing directories * Cleans up existing volume types tests * Adds tests for type management * Adds tests for extra specs management * Removed unused Quota handling * Fixed typo in db volume_type_get Change-Id: Ic80190ecf1d6d6ad0229e5af642a50c7c53bbbf9
* | | | | | | | | | | Merge "Keep uuid with bandwidth usage tracking to handle the case where a ↵Jenkins2012-04-3010-22/+109
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAC address could be recycled between instances."
| * | | | | | | | | | | Keep uuid with bandwidth usage tracking to handle the case where a MAC ↵Brian Elliott2012-04-2710-22/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | address could be recycled between instances. Change-Id: Ibea25c2b7fcb13777ab35fdc47dd6e8178bf9e57
* | | | | | | | | | | | Merge "Remove unnecessary return statements"Jenkins2012-04-304-9/+0
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Remove unnecessary return statementsJohannes Erdfelt2012-04-304-9/+0
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If they're at the end of a function/method and don't return a value, then it's superfluous Change-Id: Ibd8d43a15ee83cf51c5b7cea0b1cb6ea13d1357d
* | | | | | | | | | | | Merge "Minor spelling fix"Jenkins2012-04-301-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Minor spelling fixJoe Gordon2012-04-301-1/+1
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icf0a677f0c2ff826db6d2239ab953bc7d1824400
* | | | | | | | | | | | Merge "support a configurable libvirt injection partition"Jenkins2012-04-302-6/+12
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | support a configurable libvirt injection partitionPádraig Brady2012-04-192-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful if all guest images have the same structure, and the root partition is not the first partition. This is also handy to enable inspection in libguestfs, which can handle disparate and complicated image layouts. In future we may change to a StrOpt to support searching by partition label. Change-Id: Ie94d61bec8fe4b41d6d2d6d3efa9a4364cf027fe
* | | | | | | | | | | | Merge "Adds better bookending and robustness around the instance audit usage ↵Jenkins2012-04-301-2/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generation"
| * | | | | | | | | | | | Adds better bookending and robustness around the instance audit usage generationMatt Dietz2012-04-301-2/+9
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib5f68ea0b8d4ed866b5dade268e63cf99241ce4b
* | | | | | | | | | | | Merge "Pass instance to resize_disk() to fix exception"Jenkins2012-04-302-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Pass instance to resize_disk() to fix exceptionJohannes Erdfelt2012-04-302-1/+2
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 992098 Change-Id: I844e153c2c7cb8ed4da6a4967537dd294377763c
* | | | | | | | | | | | Merge "Add libvirt get_console_output tests: pty and file"Jenkins2012-04-302-1/+83
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Add libvirt get_console_output tests: pty and fileDan Prince2012-04-272-1/+83
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add two new libvirt tests for the get_console_output: - test_get_console_output_pty - test_get_console_output_file Fixes LP Bug #990237. Change-Id: I308862c131c4c9c9c4accab1822039f8f5a775b4
* | | | | | | | | | | | Merge "Ignore common code in coverage calculations."Jenkins2012-04-301-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Ignore common code in coverage calculations.Lorin Hochstein2012-04-281-1/+2
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore nova/openstack/common code when calculating coverage. We do this because the unit tests for the common code are in a different repository. Change-Id: I0103b8acfc4cdaace68a18b1d1723a13595debe2
* | | | | | | | | | | Merge "Trivial spelling fix"Jenkins2012-04-301-1/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Trivial spelling fixJohannes Erdfelt2012-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib5ba181886a073742ace4a8927061f5d4dcd0773
* | | | | | | | | | | | Merge "Remove unnecessary references to resize_confirm_window flag"Jenkins2012-04-303-12/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Remove unnecessary references to resize_confirm_window flagMark McLoughlin2012-04-303-12/+9
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of the resize_confirm_window flag is passed into the poll_unconfirmed_resizes() method so there is no need to reference FLAGS.resize_confirm_window directly for logging. Change-Id: Ia9729cda4bf4408c2f5fce19709e9bdb474ad721
* | | | | | | | | | | Merge "Implements EC2 DescribeAddresses by specific PublicIp."Jenkins2012-04-302-23/+43
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Implements EC2 DescribeAddresses by specific PublicIp.MotoKen2012-04-252-23/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 988189 and add a test case to verify. Change-Id: I653c29cd99feee8d811c9f64dd280b6f49a5262c
* | | | | | | | | | | Merge "Make rebuilds with an emtpy name raise BadRequest."Jenkins2012-04-282-1/+15
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Make rebuilds with an emtpy name raise BadRequest.Alex Meade2012-04-182-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 973591 Change-Id: I87f189175c55a6922e7277857b85d526b9bfa6e1
* | | | | | | | | | | | Merge "Fix timeout in EC2 CloudController.create_image()"Jenkins2012-04-281-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Fix timeout in EC2 CloudController.create_image()Eoghan Glynn2012-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 989764 The timeout bounding the wait for the instance to stop is intended to be 1 hour, but the code incorrectly specifies 60 hours instead (no practical client is going to wait that long for a response). Change-Id: I7aa4b539393df15f3b2c950cf7aeca4691ed3d73
* | | | | | | | | | | | Merge "Do not allow blank adminPass attribute on set password"Jenkins2012-04-272-1/+11
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Do not allow blank adminPass attribute on set passwordAlex Meade2012-04-182-1/+11
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 985263 Change-Id: I846248a4b8cb22fcaca9e51cc477813f80f6d602
* | | | | | | | | | | | Merge "Fix instance delete notifications."Jenkins2012-04-273-14/+18
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix instance delete notifications.Monsyne Dragon2012-04-273-14/+18
| | |_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove extra exists event horking uptime calculations. Fix broken deleted_at time in notifications (was blank due to being pulled from the wrong field on the instance) Change-Id: I8ca05593031f03c284c17df9d6fca64b22b16baf
* | | | | | | | | | | | Merge "Added the validation for name check for rebuild of a server"Jenkins2012-04-271-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Added the validation for name check for rebuild of a serverNikhil Komawar2012-04-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 973591 Change-Id: I3fad8f92dc7aa9ec319fdfb8d1c8df247b84157d
* | | | | | | | | | | | | Merge "Disconnect stale instance VDIs when starting nova-compute"Jenkins2012-04-275-37/+79
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Disconnect stale instance VDIs when starting nova-computeJohannes Erdfelt2012-04-275-37/+79
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 989306 If nova-compute is killed, or the compute domU is shutdown uncleanly, instance VDIs can remain attached to the compute domU. This complicates cleaning up unused VDIs, but can also result in reaching a limit on the number of VBDs for the compute domU, preventing new instances from being built. Change-Id: Ie56e0561aa02178d6718b74a87bbb591fa869007
* | | | | | | | | | | | Merge "Add additional capabilities for computes"Jenkins2012-04-272-3/+58
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Add additional capabilities for computesMonsyne Dragon2012-04-272-3/+58
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows compute hosts to advertise additional capabilities for use by custom schedulers. This is an interim solution to provide this functionality until it is replaced by more general HostAggregate functionality later in Folsom. Change-Id: Ia288146fa92aec61f50641c2e4f7a3580ab03a32
* | | | | | | | | | | Merge "Refactor nova.rpc config handling."Jenkins2012-04-2716-259/+319
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Refactor nova.rpc config handling.Russell Bryant2012-04-2516-259/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does a couple of things: 1) Remove the dependency of nova.rpc on nova.flags. This is a step toward decoupling nova.rpc from the rest of nova so that it can be moved to openstack-common. 2) Refactor nova.rpc so that a configuration object is passed around as needed instead of depending on nova.flags.FLAGS. This was done by avoiding changing the nova.rpc API as much as possible so that existing usage of nova.rpc would not have to be touched. So, instead, a config object gets registered, cached, and then passed into the rpc implementations as needed. Getting rid of this global config reference in nova.rpc will require changing the public API and I wanted to avoid doing that until there was a better reason than this. Change-Id: I9a7fa67bd12ced877c83e48e31f5ef7263be6815
* | | | | | | | | | | Merge "Add instance to several log messages."Jenkins2012-04-271-2/+4
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Add instance to several log messages.Michael Still2012-04-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6e073effc628b1192c5289de224b3c36e61fdf39
* | | | | | | | | | | Merge "Add a force_config_drive flag"Jenkins2012-04-271-4/+21
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add a force_config_drive flagJustin Santa Barbara2012-04-261-4/+21
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Config drive can currently only be requested via the API. That doesn't play nice with horizon, and requires the caller to know what the image expects. Currently, only None or 'always' are documented (although any value is treated as 'always'). I expect we'll want 'never', 'byimage' etc in future. Bug #988556 Change-Id: I895a6a9fd3e6395bb00f54f26531b6faf0c9f4f1
* | | | | | | | | | | Merge "Make the filename that image hashes are written to configurable."Jenkins2012-04-272-5/+109
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Make the filename that image hashes are written to configurable.Michael Still2012-04-262-5/+109
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a baby step towards storing more than just a checksum in these files. The specific use case is I need to store whether or not the image was prefetched in here as well. Change-Id: Ia1d67ac1ac766f22c6ecb814182150a789c91095
* | | | | | | | | | | Merge "Fixes bug 989271, fixes launched_at date on notifications."Jenkins2012-04-272-12/+134
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Fixes bug 989271, fixes launched_at date on notifications.Monsyne Dragon2012-04-262-12/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds unittests to prevent regression of bug 984219, and adds missing backstop compute.instance.exists event. Change-Id: I77278009962ea7f7fb940704dbb7bba637aa8e96
* | | | | | | | | | | Merge "Imports to human alphabetical order"Jenkins2012-04-2712-14/+14
|\ \ \ \ \ \ \ \ \ \ \