summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge "Sync gettextutils fixes from openstack-common."Jenkins2012-07-147-0/+7
|\ \ \ \ \
| * | | | | Sync gettextutils fixes from openstack-common.Russell Bryant2012-07-137-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit c80bfb563626200f7587c7ca52433c59a303b469 Author: Eric Windisch <eric@cloudscaling.com> Date: Thu Jun 28 00:32:52 2012 -0400 Fix missing gettextutils in several modules. Fixes bug 1021453. Change-Id: I98758a088911cc422b61abd02b3be6cc6d6a472b
* | | | | | Merge "network manager returns empty list, not raise an exception"Jenkins2012-07-141-1/+4
|\ \ \ \ \ \
| * | | | | | network manager returns empty list, not raise an exceptionAlessio Ababilov2012-07-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug #1023805 Change-Id: I9ddb10db127375ad37a7760b53e44782b392c2e3
* | | | | | | Merge "add network creation call to network.api.API"Jenkins2012-07-141-0/+6
|\| | | | | |
| * | | | | | add network creation call to network.api.APIAlessio Ababilov2012-07-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug #1022470 Change-Id: Iccbbf086fb499e574c86a0f6ffceedfa07e1acf0
* | | | | | | Merge "Use all deps for tools/hacking.py tests in tox"Jenkins2012-07-131-1/+0
|\ \ \ \ \ \ \
| * | | | | | | Use all deps for tools/hacking.py tests in toxJoe Gordon2012-07-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tools/hacking needs pip modules to accuratly run nova_import_module_only Change-Id: I19eb624cc32a15438666e5710394a77d13b50763
* | | | | | | | Merge "overriden VlanManager.create_networks must return a result"Jenkins2012-07-131-1/+2
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | overriden VlanManager.create_networks must return a resultAlessio Ababilov2012-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug #1022469 Change-Id: Iaaa016ea61dd8d26dcd66603abb6f66d22a15bb5
* | | | | | | | Merge "bug 1024557"Jenkins2012-07-133-2/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | bug 1024557Troy Toman2012-07-133-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-dupes the list of DNS IPs that is put in the xenstore for network configuration Added a duplicate DNS IP in the fake_network to create a valid test. Change-Id: I25a00c7e47578b1667992aa4bad879667198465a
* | | | | | | | | Merge "Always attempt to delete entire floating IP range."Jenkins2012-07-131-2/+5
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Always attempt to delete entire floating IP range.Russell Bryant2012-07-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 1021222. This patch tweaks nova-manage to always attempt to delete all addresses in the specified IP range, even if an error is encountered. This is an easy way to handle a case where a range was created, but then a subset of that range was deleted. Otherwise, deleting the rest of the range is a pain. An example of this would be: # nova-manage floating create --ip_range=1.1.1.0/24 # nova-manage floating delete 1.1.1.1 # nova-manage floating delete 1.1.1.0/24 Previously this would fail. Now it works. Change-Id: Ia01c04dee5383f597976c6a79d9a0d9e19985898
* | | | | | | | | | Merge "Raise HTTP 500 if service catalog is not json."Jenkins2012-07-132-1/+12
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Raise HTTP 500 if service catalog is not json.Dan Prince2012-07-122-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the Nova API auth middleware so that it returns a HTTP 500 error if invalid JSON is found. Adds a unit test. Change-Id: I236ced13bac2164e103060e78845a410ceb6cdd4
* | | | | | | | | | | Merge "Expose over-quota exceptions via native API."Jenkins2012-07-133-9/+47
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Expose over-quota exceptions via native API.Eoghan Glynn2012-07-103-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug LP 1021373. Previously an over-quota condition would be exposed via the EC2 API, but hidden in the corresponding call via the native API (in the sense of the exception detail being replaced with a generic 500 Server Error response). We now report any NovaException declared to be safe. In this patch, the set of safe exception types includes any subclass of QuotaError, but in subsequent patches the net should be widened to include exceptions that do not expose senstive information. Change-Id: I3cc36337c7e67cf487ca49de646c437c217ae538
* | | | | | | | | | | Merge "Janitorial: Catch rpc up with a change in common"Jenkins2012-07-134-10/+11
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | |
| * | | | | | | | | | Janitorial: Catch rpc up with a change in commonAndrew Bogott2012-07-084-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Common rpc now uses jsonutils instead of json; this patch moves that change into nova. Change-Id: Iba45e473ae875b0973dbe6f752602b58c7980578
* | | | | | | | | | | Merge "Fix spelling in docstrings"Jenkins2012-07-131-4/+5
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix spelling in docstringsJoe Gordon2012-07-131-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I45b913e701c3902e16a73a99fff01c115f63c2a9
* | | | | | | | | | | | Merge "Fix snapshots tests failing bug 1022670"Jenkins2012-07-131-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Fix snapshots tests failingGhe Rivero2012-07-101-0/+1
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 1022670 When running snapshot test, FLAGS.instances_path is defined as '', with snapshot_directory='/snapshots' which will fail to to permissions errors. Modified class LibvirtConnTestCase to use libvirt_snapshots_directory='' Change-Id: I930e4f30ddffcf66c58312e92f0ae368e770e438
* | | | | | | | | | | Merge "Fix SADeprecationWarning: useexisting is deprecated"Jenkins2012-07-131-1/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix SADeprecationWarning: useexisting is deprecatedJoe Gordon2012-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 941951 Change-Id: I941df9260a4fbb27f5776f582ad8f59a1e32ea8b
* | | | | | | | | | | | Merge "Extension to show usage of limited resources in /limits response."Jenkins2012-07-132-0/+202
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | |
| * | | | | | | | | | | Extension to show usage of limited resources in /limits response.Alex Meade2012-07-132-0/+202
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extension add information such as the total amount of ram being used by a user to the /limits response in order to be used by the client/user. Change-Id: Ia23c1858bda31cf28209d5a593774e53e79d8ccf
* / / / / / / / / / / Attach ISO as separate disk if given proper instruction.Josh Kearney2012-07-131-0/+9
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives the option to attach the ISO as a separate drive, like we do in XenServer, and boot from that instead of replacing the root drive. Fixes bug 914484. Change-Id: I0e0560f5fcbc361b60ff1284e7369997dd770fd9
* | | | | | | | | | Merge "Fix RuntimeWarning nova_manage not found"Jenkins2012-07-131-1/+1
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix RuntimeWarning nova_manage not foundJoe Gordon2012-07-131-1/+1
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix bug 1024516 Change-Id: Ia24cc5c48f15f033c2cf610b8c68a3fd14fbd257
* | | | | | | | | | Merge "Use explicit destination user in xenapi rsync call"Jenkins2012-07-131-1/+2
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Use explicit destination user in xenapi rsync callJohannes Erdfelt2012-07-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of xenserver use a newer, but buggy, version of rsync that will attempt to parse out the username and fail if it isn't in the destination. So, add it to the destination to ensure this works with both older and newer versions of rsync. Change-Id: I9b7f05a8ea5cf5b7fae1a55a2b8557b2bfe5b865
* | | | | | | | | | | Merge "Exclude openstack-common from pep8 checks."Jenkins2012-07-132-2/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Exclude openstack-common from pep8 checks.Dan Prince2012-07-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates tox.ini and run_tests.sh to exclude openstack-common code from pep8 checks. Fixes LP Bug #1020792 Change-Id: I6bb9747f86f7677f0e9c4169c04d6f3fbd4b3480
* | | | | | | | | | | | Merge "Sync importutils from openstack-common."Jenkins2012-07-131-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | |
| * | | | | | | | | | | Sync importutils from openstack-common.Russell Bryant2012-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 8c74b37f5bdf1141b8c3724c8df460e6562d1985 Author: Russell Bryant <rbryant@redhat.com> Date: Tue Jun 19 17:08:35 2012 -0400 Improve exception from importutils.import_class(). The ImportError raised by import_class() attempted to tell you what the original error was by just doing str() on the original exception. Sometimes that's helpful, but sometimes a full traceback is needed. This patch includes a traceback for debugging purposes. Change-Id: I83b167baf99feacef1a3f91089b758c6cf9531d3
* | | | | | | | | | | | Merge "Change base rpc version to 1.0 in compute rpcapi."Jenkins2012-07-1312-45/+57
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Change base rpc version to 1.0 in compute rpcapi.Russell Bryant2012-07-1212-45/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent patch change the RPC_API_VERSION in compute/rpcapi.py to 1.1. This change was the right thing to do in compute/manager.py, but not compute/rpcapi.py. This patch changes it back to 1.0, and changes the code to only specify that 1.1 is required for the new method. This version in the rpcapi modules is used as the default version to set in a message. The version sent in a message is the minimum version required to be implemented on the manager side for the message to be successfully processed. For most messages, that is just 1.0. In the case of the new method, it's 1.1. This patch also changes the name of his variable in the rpcapi modules from RPC_API_VERSION to BASE_RPC_API_VERSION to help clarify this a bit more. Change-Id: I2bb4602845869bd44b39531eeb4f1e7c0c4c20c2
* | | | | | | | | | | | Merge "associate_floating_ip an ip already in use"Jenkins2012-07-132-3/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | associate_floating_ip an ip already in useJohn Tran2012-07-102-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 10014860 to be compliant w/ AWS EC2 spec instead of return exception.FloatingIpAssociated, disassociate from old fixed_ip and associate to new fixed_ip. Change-Id: I54ab3492092940dbb01f2787cc329a0162698568
* | | | | | | | | | | | Merge "Sync cfg from openstack-common."Jenkins2012-07-131-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Sync cfg from openstack-common.Russell Bryant2012-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 3af0786b6d2ce0d088db7a9754ba8f35acb175c9 Author: Vincent Untz <vuntz@suse.com> Date: Thu Jul 5 14:51:26 2012 +0200 cfg: Fix typo in documentation with with -> with Change-Id: I83494403435aaf980827adba707d6229786d8653
* | | | | | | | | | | | Merge "Remove VDI chain limit for snapshots."Jenkins2012-07-134-176/+153
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Remove VDI chain limit for snapshots.Rick Harris2012-07-124-176/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Snapshots and migrations were coded with a simplifying assumption that the maximum length of a VDI chain would be 3. Now that fast-cloning has been added, this assumption no longer holds. The goal of this patch is to remove the restriction for snapshots. A follow-on patch will remove the restriction for migrations. This patch changes the image-format for XenAPI images. Instead of naming the VHDs, 'base', 'image', and 'snap', they are now numbered staring with 0 as the leaf and going to N as the base-copy (root). Old-style images are still supported. Change-Id: Ieb073b42dc25db7cee4dfca7ff6525f7e7f46e8e
* | | | | | | | | | | | | Merge "Remove unnecessary logging from API"Jenkins2012-07-131-5/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Remove unnecessary logging from APIJohannes Erdfelt2012-07-131-5/+0
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When retrieving a list with a lot of instances (thousands), a significant part of the time is spent logging debug messages. These messages don't provide much value anymore and just slow things down unnecessarily. Change-Id: I52cbec2b236bac587776c8a56e0f8dcae05294cf
* | | | | | | | | | | | | Merge "Sync a commit from openstack-common."Jenkins2012-07-131-0/+39
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Sync a commit from openstack-common.Russell Bryant2012-07-131-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 62c19c105e9c273692f37d033ffd405c5dda68aa Author: Russell Bryant <rbryant@redhat.com> Date: Fri Jul 13 11:35:15 2012 -0400 Add more rpc version docs. This patch adds some additional documentation, including some examples, on making changes to versioned RPC APIs. Change-Id: I51f2bc48c3a3f731e9426f7541bc6c9157e00c2f
* | | | | | | | | | | | | | Merge "Add SKIP_WRITE_GIT_CHANGELOG to setup.py."Jenkins2012-07-131-17/+25
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | |