summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Imported Translations from TransifexOpenStack Jenkins2013-05-2326-10078/+9780
| | | | Change-Id: I0e289eba0a37f9d6068491aefb9261ac81968a02
* Merge "Fix UnboundLocalError in powervm lvm cleanup code"Jenkins2013-05-232-21/+102
|\
| * Fix UnboundLocalError in powervm lvm cleanup codeMatt Riedemann2013-05-232-21/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During spawn, if a local volume for the backing block device fails to be created, the cleanup operation for the volume can fail with a "UnboundLocalError: local variable 'disk_name' referenced before assignment" error. The fix is to assign to disk_name earlier and check for None before running cleanup. This patch also adds tests to cover the failure case. Fixes bug 1180955 Change-Id: I0f32df1586d7bd87eccb674fec2a9597b1ce351d
* | Merge "xenapi: Moving tests under tests/virt/xenapi/"Jenkins2013-05-237-401/+377
|\ \
| * | xenapi: Moving tests under tests/virt/xenapi/Rick Harris2013-05-227-401/+377
| | | | | | | | | | | | | | | | | | | | | | | | We have both a tests/xenapi/ and a tests/virt/xenapi/ directory which is confusing. This patch standardizes on tests/virt/xenapi/ which matches the nova/ directory layout. Change-Id: I324a4730e2477aa1863b17c7ea404ce2932a681c
* | | Merge "xenapi: Disable VDI size check when root_gb=0"Jenkins2013-05-232-12/+60
|\| |
| * | xenapi: Disable VDI size check when root_gb=0Rick Harris2013-05-222-12/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nova uses root_gb=0 to indicate that we should use the image as-is without trying to resize the root disk. Currently the xenapi virt-driver doesn't properly implement this behavior. This patch gets us a step closer by disabling the VDI size check when root_gb=0. We still need to ensure that the disk-resize code handle root_gb=0 as well. References bug 1155113 Change-Id: If91963e079e197a1315c48b8643f3419b42b0b2c
* | | Merge "Remove ImageTooLarge exception"Jenkins2013-05-239-19/+14
|\| |
| * | Remove ImageTooLarge exceptionRick Harris2013-05-229-19/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | InstanceTypeDiskTooSmall and ImageTooLarge are really two sides of the same coin; an image is larger than the root_gb of the instance_type. Rather than have two exceptions for this, this patch consolidates down to just InstanceTypeDiskTooSmall. Change-Id: I401205072c111a960beb2932c6c1889141ae03c3
* | | Merge "Move ImageTooLarge check to Compute API"Jenkins2013-05-235-174/+208
|\| |
| * | Move ImageTooLarge check to Compute APIRick Harris2013-05-225-174/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing ImageTooLarge check is in the compute manager, meaning that a validation error puts the instance into an ERROR state without the ability to communicate the fault back to the user. This patch moves the check to the API where we can return the appropriate error to the user. Change-Id: I2183449351e3b70f98d0552ea247184a3641d85a
* | | Merge "Remove locals() usage from nova.virt.libvirt.volume."Jenkins2013-05-231-13/+20
|\ \ \ | |_|/ |/| |
| * | Remove locals() usage from nova.virt.libvirt.volume.Michael Still2013-05-231-13/+20
| | | | | | | | | | | | Change-Id: Idda3c0c447bd1f6394805cd6230a32dc22bb6268
* | | Merge "Share checks between create and rebuild"Jenkins2013-05-231-31/+42
|\ \ \ | | |/ | |/|
| * | Share checks between create and rebuildRick Harris2013-05-221-31/+42
| | | | | | | | | | | | | | | | | | | | | DRYs up the checks between create and rebuild in preparation for additional checks going in. Change-Id: I04a8448f7a3a4e1176b40f943ea9c90c06ba8ece
* | | Merge "Rename requires files to standard names."Jenkins2013-05-237-8/+8
|\ \ \
| * | | Rename requires files to standard names.Ruby Loo2013-05-227-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename tools/pip-requires to requirements.txt and tools/test-requires to test-requirements.txt. These are standard files, and tools in the general world are growing intelligence about them. Change-Id: I68ece8406fb1d4e082a42db8e76e17b1aaa7e775 Fixes: bug #1179008
* | | | Merge "Added validation for networks parameter value"Jenkins2013-05-232-0/+24
|\ \ \ \
| * | | | Added validation for networks parameter valueSatyanarayana Patibandla2013-05-202-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A validation check is added for networks parameter value. In server create request body, if networks parameter value is not stored in a list then 'Bad networks format' error is thrown with bad request exception.A new test case is added to verify whether it is returning bad request exception when invalid syntax is used. Fixes: bug #1175683 Change-Id: I457a1626c56281f89d8c4a606ccc0d0e3aea05fa
* | | | | Merge "Remove locals() from scheduler filters"Jenkins2013-05-239-14/+27
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Remove locals() from scheduler filtersBelmiro Moreira2013-05-239-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just removed locals() and replaced it with an explicit dicionary. Change-Id: Id476a684abde36238b5abfe8ce4c3ddb0874423b
* | | | | Merge "Removed session from fixed_ip_*() functions."Jenkins2013-05-231-34/+35
|\ \ \ \ \
| * | | | | Removed session from fixed_ip_*() functions.Victor Sergeyev2013-05-221-34/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed session objects from public fixed_ip_*() functions in nova/db/sqlalchemy/api module. Minor code refactiring. blueprint db-session-cleanup Change-Id: Ic2a96270745799496e365aee0380ac079e1edeff
* | | | | | Merge "Imported Translations from Transifex"OpenStack Jenkins2013-05-2226-9859/+8759
|\ \ \ \ \ \
| * | | | | | Imported Translations from TransifexOpenStack Jenkins2013-05-2226-9859/+8759
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Change-Id: I84eada7abbc7f73514f2b92fc2024fcbd2736af7
* | | | | | Merge "Make nova-api use servicegroup.API.service_is_up()."Jenkins2013-05-222-5/+14
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Make nova-api use servicegroup.API.service_is_up().Akira Yoshiyama2013-05-192-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 1168861 Change-Id: I1e7e8f7519ec627b96736f74ee7123d101973544
* | | | | | Merge "Make it easier to add namespaced rpc APIs."Jenkins2013-05-222-2/+41
|\ \ \ \ \ \
| * | | | | | Make it easier to add namespaced rpc APIs.Russell Bryant2013-05-212-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an additional argument to the base create_rpc_dispatcher() method. When a manager wants to override create_rpc_dispatcher() to add more callbacks in their own rpc namespaces, it can just call the parent class with the additional APIs to include. Change-Id: I9cba8b176b35f55ba9d71365d0a8bf25d2ae311f
* | | | | | | Merge "powervm: Move tests under tests/virt/powervm"Jenkins2013-05-222-0/+16
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | powervm: Move tests under tests/virt/powervmRick Harris2013-05-212-0/+16
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Change-Id: I9c70a665bce416a46266ba203481b5eac2f62972
* | | | | | Merge "Catch InstanceNotFound in instance_actions GET"Jenkins2013-05-222-1/+13
|\ \ \ \ \ \
| * | | | | | Catch InstanceNotFound in instance_actions GETChris Yeoh2013-05-222-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Catch the InstanceNotFound exception in the instance_actions index function and handle the error gracefully so a stacktrace is not generated in the log files. This patch does not change the API Fixes bug 1182867 Change-Id: I0764f8abda7176deefe0d103bd86acd0af78780d
* | | | | | | Merge "set ERROR state when scheduler hits max attempts"Jenkins2013-05-222-5/+19
|\ \ \ \ \ \ \
| * | | | | | | set ERROR state when scheduler hits max attemptsRyan Moore2013-05-212-5/+19
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently when scheduler raises NoValidHost due to max attempts being reached, the instance remains in a build state. Exception handler for NoValidHost in manager.run_instance() needs request_spec[instance_uuids] to know which host to put into an error state in _set_vm_state_and_notify(). schedule_run_instances() was popping instance_uuids from the request_spec prior to a call to _schedule(). Changed pop of instance_uuids prior to call to _schedule() to be a get. Added pop of instance_uuids to beneath call to _schedule() as individual creates do not need them. Change-Id: I9654820e01d5611763e9e673f15f46b947d09e6d Fixes: bug #1182056
* | | | | | | Merge "Don't update API cell on get_nwinfo"Jenkins2013-05-224-21/+28
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Don't update API cell on get_nwinfoChris Behrens2013-05-224-21/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every call to get_instance_nw_info() updates an instance's info_cache. The purpose of this is to make sure we're constantly healing the info_cache table. However, this causes a lot of unneeded updates traveling up to the API cell. Cells has its own periodic task that heals all instance data. Fixes bug 1180304 Change-Id: I07774712a6358999fd1fdd0f5a90c6f05e3d8d6e
* | | | | | | Merge "Adds live migration support to cells API"Jenkins2013-05-222-3/+10
|\ \ \ \ \ \ \
| * | | | | | | Adds live migration support to cells APISam Morrison2013-05-222-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1153087 DocImpact: Cells now allows live migration within a cell, but not between cells. Change-Id: Ic8777c376883eaf6ff9cb4b379e0bacbfe5635b7
* | | | | | | | Merge "Fix resize when instance has no image"Jenkins2013-05-222-1/+21
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix resize when instance has no imageNikola Dipanov2013-05-202-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes it possible to resize an instance that has no image supplied (was booted from volume), by avoiding calling the image service and thus causing an uncaught exception, if there was no image suplied in the first place. Fixes bug: 1182114 blueprint: improve-boot-from-volume Change-Id: I67d63a7aef699b555897582c74b04e857db7aafb
* | | | | | | | | Merge "baremetal: Move tests under tests/virt/baremetal"Jenkins2013-05-2220-21/+21
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | baremetal: Move tests under tests/virt/baremetalRick Harris2013-05-2120-21/+21
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie066d5d4f53bc33338e160971af99ef637de7ad1
* | | | | | | | | Merge "libvirt: Moving tests under tests/virt/libvirt"Jenkins2013-05-2215-13/+30
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | libvirt: Moving tests under tests/virt/libvirtRick Harris2013-05-2115-13/+30
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8adfbb48fa0b05f999618b9f17cbca2b3ea04c93
* | | | | | | | | Merge "Use prettyxml output"Jenkins2013-05-221-0/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Use prettyxml outputJoe Gordon2013-05-161-0/+4
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minidom's toprettyxml doesn't render well so using etree instead Change-Id: Iad05d55cfb071b11cb6f6b30aa9f23f33fd8039c
* | | | | | | | | Merge "Add memorycache import into the oslo config."Jenkins2013-05-211-0/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | Add memorycache import into the oslo config.Michael Still2013-05-191-0/+1
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolves bug 1181633. Change-Id: I86af10a2bb0f8afa5e2cf0d14e1839b872c21c90
* | | | | | | | Merge "Adding tests for rebuild image checks"Jenkins2013-05-211-0/+81
|\ \ \ \ \ \ \ \