summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | nova-manage: allow use of /32 IP rangeJulien Danjou2012-03-071-2/+16
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current code does not allow to add an IP range which is /32, because netaddr considers that there's no host in such a network. While this is probably debatable, it disallow to add specific IP address in a pool, which is really handy and was possible before. This patch fix that by treating the /32 subnet as a special case. Change-Id: I38685e6f1a3541519d1f2a9ec8d3b00dd522b44a
* | | | Merge "api-paste.ini: Add /1.0 to default urlmap"Jenkins2012-03-071-0/+1
|\ \ \ \
| * | | | api-paste.ini: Add /1.0 to default urlmapAdam Gandelman2012-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The metadata handler lists 1.0 as a supported version, but there is no mapping for /1.0 to the meta pipeline in the default paste config, resulting in requests to 169.254.169.254/1.0/ re-serving the metaversions pipeline instead. Fixes bug 948595 Change-Id: Ib9cb54a04170ad86bbcbbb59557be97f05de13f9
* | | | | Merge "Make test_compute console tests more robust"Jenkins2012-03-071-37/+59
|\ \ \ \ \
| * | | | | Make test_compute console tests more robustChris Behrens2012-03-071-37/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: remove unused variables.. _assert_state method was duplicated so 1 of them was removed. Change-Id: Id88f7dd13382c2cd6253b773542318c0d5d8f5c4
* | | | | | Merge "test_compute stubs same thing multiple times"Jenkins2012-03-071-81/+5
|\| | | | |
| * | | | | test_compute stubs same thing multiple timesChris Behrens2012-03-071-81/+5
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Cleans up test_compute stubbing of network API's get_instance_nw_info Change-Id: I70126220343fade4b4cba40d9a4e22b4567cfa35
* | | | | Merge "Clear created attributes when tearing down tests"Jenkins2012-03-074-16/+32
|\ \ \ \ \
| * | | | | Clear created attributes when tearing down testsJohannes Erdfelt2012-03-074-16/+32
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unittest will keep each test case around after completion pinning any objects references by attributes on the test case. This can bloat the memory used during a full test suite run to the point where the test suite will require much more memory than running all of the services does. On systems witout lots of memory, test suite failures will occur as test cases cannot fork to execute programs. Clearing out __dict__ of any attributes that don't start with a _ (since some are needed by unittest itself) reduces memory significantly. This does require the super class tearDown to be called last in some cases however. Change-Id: I0e660b6c2a77c5613c5a523ba0a64c3d7f6dd128
* | | | | Merge "HACKING fixes, all but sqlalchemy."Jenkins2012-03-0767-370/+387
|\ \ \ \ \
| * | | | | HACKING fixes, all but sqlalchemy.Yuriy Taraday2012-03-0767-370/+387
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like this fixes all HACKING problems that were around. Thanks to Dina Belova and Alexander Kovalev for this work. Change-Id: I8157f0d4890184c1216aab63ef7180ee8b7a184d
* | | | | Merge "bug 944145: race condition causes VM's state to be SHUTOFF"Jenkins2012-03-072-8/+52
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | bug 944145: race condition causes VM's state to be SHUTOFFArmando Migliaccio2012-03-072-8/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ensure we close down the contention window between _sync_power_states and live migration/host evacuation. Change-Id: Ie6cbd9bf2eee206b4a821a4b77a6dced409f3983
* | | | | Merge "Cleanup some test docstrings"Jenkins2012-03-074-10/+5
|\ \ \ \ \
| * | | | | Cleanup some test docstringsJoe Gordon2012-03-064-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id5ad29de31027cd30870d2782012356a48dc6e50
* | | | | | Merge "Fix bug 948611. Fix 'nova-manage logs errors'"Jenkins2012-03-071-1/+1
|\ \ \ \ \ \
| * | | | | | Fix bug 948611. Fix 'nova-manage logs errors'Joe Gordon2012-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ica0de2bebfbadbaede698ae0e9db9bff208c358c
* | | | | | | Merge "Adds nova-manage command to convert a flagfile"Jenkins2012-03-071-0/+18
|\ \ \ \ \ \ \
| * | | | | | | Adds nova-manage command to convert a flagfileVishvananda Ishaya2012-03-061-0/+18
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I80edabc99f8934168956c8687103d8870c5137e7
* | | | | | | Merge "Don't use _ for variable name"Jenkins2012-03-077-8/+8
|\ \ \ \ \ \ \
| * | | | | | | Don't use _ for variable nameJohannes Erdfelt2012-03-077-8/+8
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _ is reserved for gettext use and using _ for variable names can result in runtime failures when trying to lookup string translations Change-Id: I8835142fd19ba5f395ddef959c38167f4144b813
* | | | | | | Merge "remove undocumented, unused mpi 'extension' to ec2 metadata"Jenkins2012-03-071-20/+1
|\ \ \ \ \ \ \
| * | | | | | | remove undocumented, unused mpi 'extension' to ec2 metadataJesse Andrews2012-03-061-20/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: I06fc99964ebfc6210bf6b462bc576a23ca3a01d9
* / / / / / / Remove trailing whitespaces in regular fileHengqing Hu2012-03-0722-693/+693
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #945346 Change-Id: I07a303c2e503e50d7138585c683e0d1310339276
* | | | | | Merge "Ignore InstanceNotFound when trying to set instance to ERROR"Jenkins2012-03-072-6/+31
|\ \ \ \ \ \
| * | | | | | Ignore InstanceNotFound when trying to set instance to ERRORChris Behrens2012-03-072-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 948632 There's a race condition where an instance can be deleted from an API call... immediately before some other error occurs during build. Also: compute tests should not test raising quantum exceptions, as those could never possibly make it back to us. rpc.call only raises RemoteError... so use that instead. Change-Id: Iacfe511a37e937eaec1d6213bf73153aa4d4e9bf
* | | | | | | Cleans up the create_conf toolVishvananda Ishaya2012-03-064-19/+1116
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makes it adhere to the config file format * Puts the sample output in etc/nova/nova.conf.sample * Updating sample is as easy as ./tools/conf/generate_sample.sh Change-Id: I01e72cb58dd598a74f50c2c17f102d24df325f2e
* | | | | | Merge "Setup and teardown networks during migration"Jenkins2012-03-078-35/+204
|\ \ \ \ \ \
| * | | | | | Setup and teardown networks during migrationTrey Morris2012-03-068-35/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes lp939060 * live migration and resize nova appropriately setup and teardown networking related to network hosts * deallocate_fixed_ip is now run on the correct host resulting in the network structures being torn down correctly Change-Id: I2c86989ab7c6593bf346611cde8c043116d55bc5
* | | | | | | Merge "fix restructuredtext formatting in docstrings that show up in the ↵Jenkins2012-03-0731-338/+395
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | developer guide"
| * | | | | | | fix restructuredtext formatting in docstrings that show up in the developer ↵Doug Hellmann2012-03-0531-339/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | guide blueprint sphinx-doc-cleanup bug 945160 - Correct parameter declarations, list formatting, cross-references, etc. - We don't need "let" in generate_autodoc_index.sh since we aren't doing math. - Change conf.py to not prefix class and function names with full namespace in generated output to save width on the screen. Change-Id: I9adc8681951913fd291d03e7142146e9d46841df
* | | | | | | | Merge "Fix test_attach_volume_raise_exception"Jenkins2012-03-071-2/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix test_attach_volume_raise_exceptionJohannes Erdfelt2012-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The arguments for attach_volume have changed, but the test failure was being masked by an overly broad check for the Exception type. Change-Id: I0a54efaee8520d734357e867e2fec0fc9be2cec6
* | | | | | | | | Merge "Fix nova-manage floating create docs."Jenkins2012-03-072-4/+6
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
| * | | | | | | | Fix nova-manage floating create docs.Lorin Hochstein2012-02-242-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix RST docs that describe nova-manage floating create syntax. Change-Id: I743a750b55b2007cc756cfd3c1b34d07c479fb5a
* | | | | | | | | Merge "Add missing directive to tox.ini."Jenkins2012-03-071-0/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add missing directive to tox.ini.Monty Taylor2012-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib6d178af62f631de76e66c2bb6c07fd6b277fa97
* | | | | | | | | | Merge "Cleans up a bunch of unused variables in XenAPI."Jenkins2012-03-075-32/+28
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Cleans up a bunch of unused variables in XenAPI.Josh Kearney2012-03-065-32/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes a bug in XenAPI where xml.parsers.expat was not imported, but was being used to catch an exception. Change-Id: Idfb3b94317ecc13210fa221396c6f2dc10be3ac9
* | | | | | | | | | | Merge "Fix references to novncproxy_base_url in docs."Jenkins2012-03-071-2/+5
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix references to novncproxy_base_url in docs.Anthony Young2012-03-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add note about nova-console, to avoid confusion with nova-consoleauth Change-Id: Ic064e70836d0c31f43b6459cce81e28f821769b5
* | | | | | | | | | | | Merge "Replaces pipelines with flag for auth strategy"Jenkins2012-03-079-35/+38
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Replaces pipelines with flag for auth strategyVishvananda Ishaya2012-03-069-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forcing deployers to modify a paste config file to change auth strategies is very fragile. This simplifies things by keying pipeline construction off of a single flag. Note that this will require a small change to devstack. Change-Id: I49728c356266e6084ecafb6c59542390137f89e9
* | | | | | | | | | | | | Merge "Add support for lxc consoles."Jenkins2012-03-072-3/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Add support for lxc consoles.Chuck Short2012-03-052-3/+10
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add lxc console support. Similar to how we get console on libvirt-xen domains. This fixes bug 853602. Change-Id: Ib39953b804dc3284132651f29f33ad5783d1959a Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | | | | | | | Merge "Do not invoke kill dnsmasq if no pid file was found."Jenkins2012-03-072-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Do not invoke kill dnsmasq if no pid file was found.JC Martin2012-03-022-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes Bug 943690 Change-Id: I2b1f5cc66ba6ef02219c0d4445487bdd3a541f4b
* | | | | | | | | | | | | Merge "Reset instance to ACTIVE when no hosts found"Jenkins2012-03-075-51/+226
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Reset instance to ACTIVE when no hosts foundAndrew Clay Shafer2012-03-065-51/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 928521 modified nova/scheduler/manager.py to reset vm_state to ACTIVE and set task_state to None when prep_resize raises a NoHostsFound refactored run_instance and prep_resize so they don't go through _schedule and now must be implemented in driver Changed behavior to set vm_state to error on any other exception in prep_resize. Change behavior to change instance vm_state to ERROR on exceptions Added tests that the vm_state gets updated Added tests that schedule_prep_resize and schedule_run_instance have no implementation in the Driver base class Had to adjust methods and tests for Multi scheduler to reflect the new Scheduler contract Change-Id: Ibcac7ef0df3456793a2132beb7a711849510da80
* | | | | | | | | | | | | | Merge "Distinguish rootwrap Authorization vs Not found errors"Jenkins2012-03-072-5/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \