summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Fix to correctly report memory on Linux 3.X.Mandell Degerness2011-12-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If sys is compiled on a Linux 3.X system, it returns LINUX3 instead of LINUX2 for sys.platform.upper(). Change-Id: I78dae37d4facbaf6513c0eab651b1a06b93949b2
* | | | | | | Merge "Convert get_lock in compute to use uuids"Jenkins2011-12-023-86/+66
|\ \ \ \ \ \ \
| * | | | | | | Convert get_lock in compute to use uuidsAlex Meade2011-12-013-86/+66
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: I547e4c5c06d761c2d7c6c7635fd365834b3c5347
* / / / / / / Replace more cases of instance ids with uuidsAlex Meade2011-12-012-317/+288
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Remove instance_id references in tests change tests in test_compute to use _create_fake_instance instead of _create_instance in order to save a db lookup and not depend on id Make tests in test_compute more readable Change-Id: Icbfa12c5e29468a06176a9958f80ba3ce414ac7b
* | | | | | Merge "Remove VIF<->Network FK dependancy"Jenkins2011-12-018-51/+209
|\ \ \ \ \ \
| * | | | | | Remove VIF<->Network FK dependancyJason Kölker2011-11-308-51/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint untie-nova-network-models. Depends-On: I665f402fe0ab1b301ab6761e80b11b101656065e Change-Id: I9bfb957effe0a2420c312add1cca5d7af509579d
* | | | | | | Make run_instance only support instance uuids.Mark Washenberger2011-12-018-320/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. This patchset also attempts a major overhaul of run_instance so that the code is cleaner and easier to understand (no more global-style variables!) Change-Id: I2289f3c253c6246ea51395b2dcfccee2256a2813
* | | | | | | Merge "Fixing get_info method implementations in virt drivers to accept ↵Jenkins2011-12-013-9/+9
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | instance_name instead of instance_id. The abstract class virt.ComputeDriver defines get_info as: def get_info(self, instance_name). blueprint: internal-uuids"
| * | | | | | Fixing get_info method implementations in virt drivers to acceptNaveed Massjouni2011-11-303-9/+9
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instance_name instead of instance_id. The abstract class virt.ComputeDriver defines get_info as: def get_info(self, instance_name). blueprint: internal-uuids Change-Id: Ibe5e19f038e66f12711654eab48ba620aae4ace6
* | | | | | Merge "Remove unused ec2.action_args"Jenkins2011-12-011-4/+2
|\ \ \ \ \ \
| * | | | | | Remove unused ec2.action_argsMark McLoughlin2011-11-301-4/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These args are now just part of APIRequest since commit 2491c2484. Change-Id: I5983681d993735bd8891dc3a6a3a3530d41a6790
* | | | | | Merge "Remove boot-from-volume unreachable code path (#894172)"Jenkins2011-12-011-11/+0
|\ \ \ \ \ \
| * | | | | | Remove boot-from-volume unreachable code path (#894172)Mark McLoughlin2011-11-241-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In http://review.openstack.org/1834 it was discovered that a bool-from-volume code path in nova/compute/manager.py can never be reached. The code is basically: if ((bdm['snapshot_id'] is not None) and (bdm['volume_id'] is None)): vol = volume_api.create(context, ...) ... bdm['volume_id'] = vol['id'] if ((bdm['snapshot_id'] is not None) and (bdm['volume_id'] is None)): ... raise exception.ApiError(...) (after applying De Morgan's laws to the expression in the second if statement, that is) It's obvious that the code path can only be reached if the volume API's create() method can return a volume with id=None, but it can't ever do this. From: https://code.launchpad.net/~yamahata/nova/boot-from-volume-0/+merge/62419 it looks like the author originally had this check as an assertion, which makes more sense, but changed it to the current code following a review comment. Change-Id: I9f85028675f5dac8ab23bd150869eca421fc2fd0
* | | | | | | Merge "Fixes bug 767947"Jenkins2011-12-012-1/+27
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fixes bug 767947Alvaro Lopez Garcia2011-11-302-1/+27
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If libvirt was restarted, a libvirt.libvirtError was raised with error domain libvirt.VIR_FROM_RPC when trying to use the existing connection. Change-Id: Ib3d4ff23aadf5a0c93dde0c37c5686bf404ce9de
* | | | | | Merge "Fix QuantumManager update_dhcp calls"Jenkins2011-12-012-4/+10
|\ \ \ \ \ \
| * | | | | | Fix QuantumManager update_dhcp callsBrad Hall2011-11-292-4/+10
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The syntax recently changed to add another parameter (context) Change-Id: I984294064f26bd49facd75ca4bf4634c9ff61bc8
* | | | | | Adds missing image_meta to rescue's spawn() calls.Josh Kearney2011-11-306-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id769c217611011d77abafa529c306f780475aaf4
* | | | | | split rxtx_factor into network and instance_typeAaron Lee2011-11-3014-52/+331
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes a migration and a change to the flavors extension. update1: removing tabs from the sql files & a quick refactoring update2: Fixing whitespace problem in the sqlite upgrayedd Change-Id: I665f402fe0ab1b301ab6761e80b11b101656065e
* | | | | Merge "Fix typo: priviledges -> privileges."Jenkins2011-11-301-1/+1
|\ \ \ \ \
| * | | | | Fix typo: priviledges -> privileges.Ewan Mellor2011-11-291-1/+1
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I6953844bc05fb967ec8c8f792a68b97b649f1513
* / | | | Convert compute manager delete methods to objectsBrian Waldon2011-11-295-151/+147
|/ / / / | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids Change-Id: I781995b95fd3fb794ad5d775e1e5822a82db9fb1
* | | | Merge "Removing line dos line endings in vmwareapi_conn.py"Jenkins2011-11-291-392/+392
|\ \ \ \
| * | | | Removing line dos line endings in vmwareapi_conn.pyNaveed Massjouni2011-11-291-392/+392
| |/ / / | | | | | | | | | | | | Change-Id: Ib5e68ef07f83298a53083a4b7856244afcdbca4a
* | | | Merge "Use uuids for file injection."Jenkins2011-11-293-11/+20
|\ \ \ \
| * | | | Use uuids for file injection.Mark Washenberger2011-11-293-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: I35f2a4c5cafde7ed8831a01cb7a2816ccbc39808
* | | | | Merge "reboot & rebuild to use uuids in compute manager"Jenkins2011-11-293-50/+74
|\ \ \ \ \
| * | | | | reboot & rebuild to use uuids in compute managerAlex Meade2011-11-293-50/+74
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: I24aedb283493fd9128f3aa67ecb47c3b52a35844
* | | | | Merge "Use uuids for compute manager agent update."Jenkins2011-11-292-10/+20
|\ \ \ \ \
| * | | | | Use uuids for compute manager agent update.Mark Washenberger2011-11-292-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: Ib4406f7fd4e5d91852d63785f596014cc3979fd2
* | | | | | Merge "Fix for bug 887712"Jenkins2011-11-293-7/+47
|\ \ \ \ \ \
| * | | | | | Fix for bug 887712Adrian Smith2011-11-293-7/+47
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check weather the instance_id passed into instance_update() is a model id or a UUID. Change-Id: Ic361299cdbfa5c3786815753c47a8e4f3ba6d494
* | | | | | Merge "Fix RPC responses to allow None response correctly."Jenkins2011-11-2915-75/+295
|\ \ \ \ \ \
| * | | | | | Fix RPC responses to allow None response correctly.Chris Behrens2011-11-2915-75/+295
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 897155 Also adds a new fake rpc implementation that tests use by default. This speeds up the test run by ~10% on my system. We can decide to ditch fake_rabbit at some point later.. Change-Id: I8877fad3d41ae055c15b1adff99e535c34e9ce92
* | | | | | Merge "removed logic of throwing exception if no floating ip"Jenkins2011-11-293-18/+8
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | removed logic of throwing exception if no floating ipJesse Andrews2011-11-283-18/+8
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | fixes 897089 Change-Id: Iaa03c7b75abf67c78b4605c29ef1770c96c6a199
* | | | | power_on/power_off in compute manager to use uuidsAlex Meade2011-11-293-15/+65
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Changes power_on and power_off of instances to use uuids. Also, fixes a test for get_actions to be more accurate. Later a migration will need to be written for instance_get_actions to use uuids instead of ids. Change-Id: Id0896f4bf3f0c64a77ac9c421bad702073f2fc50
* | | | Merge "Templatize extension handling."Jenkins2011-11-291-37/+37
|\ \ \ \ | |/ / / |/| | |
| * | | Templatize extension handling.Kevin L. Mitchell2011-11-281-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to bug 852141: Converts extensions.py to using XML templates instead of the classic XML serializer. Change-Id: I41c9db8eb984f06222e7b42d5040afdf1e1101e8
* | | | Merge "Fix deprecation warnings"Jenkins2011-11-291-5/+5
|\ \ \ \
| * | | | Fix deprecation warningsLorin Hochstein2011-11-241-5/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some warnings like this: DeprecationWarning: docutils.nodes.Element.set_class deprecated; append to Element['classes'] list attribute directly lists[i].set_class('todo_list') Change-Id: I94e564f561f95a66e6e98767ccfaa78769b5c0f1
* | | | Makes rpc_allocate_fixed_ip return properlyVishvananda Ishaya2011-11-282-1/+34
| |_|/ |/| | | | | | | | | | | | | | | | | * Fixes bug 855030 * Includes test Change-Id: If5b874fb0e4abd567445e67141d61942866cc5ec
* | | Merge "Updating {add,remove}_fixed_ip_from_instance in compute.api and ↵Jenkins2011-11-283-21/+21
|\ \ \ | | | | | | | | | | | | compute.manager to use instance uuid instead of instance id. blueprint internal-uuids"
| * | | Updating {add,remove}_fixed_ip_from_instance in compute.api and compute.managerNaveed Massjouni2011-11-283-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to use instance uuid instead of instance id. blueprint internal-uuids Change-Id: I0db18fcbfce24d0cf1b8b9e7c8d10f657ceded0f
* | | | Merge "start/stop in compute manager to use uuids"Jenkins2011-11-283-32/+48
|\ \ \ \
| * | | | start/stop in compute manager to use uuidsAlex Meade2011-11-283-32/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Changes stop_instance and start_instance in compute manager to expect uuids. Change-Id: Ic7bdd694a4ecfb64abf5cc40a290a2a2a42465f0
* | | | | Merge "Updating {add,remove}_security_group in compute.api to use instance ↵Jenkins2011-11-284-25/+33
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | uuids instead of instance ids. blueprint internal-uuids"
| * | | | Updating {add,remove}_security_group in compute.api to use instanceNaveed Massjouni2011-11-224-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uuids instead of instance ids. blueprint internal-uuids Change-Id: I7ba998c67a6b42961657876a8eaa797aa8c29896
* | | | | Merge "reset/inject network info in compute to use uuid"Jenkins2011-11-283-24/+59
|\ \ \ \ \
| * | | | | reset/inject network info in compute to use uuidAlex Meade2011-11-233-24/+59
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: I88a3eadf0fb07b0a827039db757d00498dd1cd9c