summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | | | Bump the base rpc version of the network api to 1.7.Giampaolo Lauria2013-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change I2627e8b0f45c5c39bbbf1a4a12b448e1992fa4b4 bumped the RPC version of the API to 1.7 but did not bump the RPC version in the network manager. Change-Id: I1c719a1458ef5892e90aabee92a8b5e93cfa11c8
* | | | | | | | | | | | | | | | | | | | | Merge "Add REST api to manage bare-metal nodes"Jenkins2013-01-2337-0/+849
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Add REST api to manage bare-metal nodesArata Notsu2013-01-2337-0/+849
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * create/delete/list/show bare-metal nodes * add/remove interfaces to/from bare-metal nodes blueprint general-bare-metal-provisioning-framework Change-Id: I1e76f7e3f7f74087e844cfb23dc92154f4c3e127
* | | | | | | | | | | | | | | | | | | | | Merge "Remove duplicated tapdev creation code from libvirt VIF"Jenkins2013-01-232-31/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Remove duplicated tapdev creation code from libvirt VIFDaniel P. Berrange2013-01-222-31/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the 'create_tap_dev' method out of the linux_net class QuantumLinuxBridgeInterfaceDriver, to be a standalone method. Make the libvirt LibvirtOpenVswitchDriver call this method instead of duplicating the tapdev creation code Blueprint: libvirt-vif-driver Change-Id: Ib9b5fb3aed5e339464c4f367179911166f2cddfb Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | | Merge "Move helper APIs for OVS ports into linux_net"Jenkins2013-01-232-26/+32
|\| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Move helper APIs for OVS ports into linux_netDaniel P. Berrange2013-01-222-26/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libvirt vif driver impls have some helper APIs for creating and deleteing OVS bridge ports. These are not specific to libvirt, so move them into the linux_net class which holds other general Linux networking helper APIs. With this change LibvirtHybridOVSBridgeDriver no longer needs to inherit from LibvirtOpenVswitchDriver. Blueprint: libvirt-vif-driver Change-Id: I520c23f9dc9d64f834dec875fb49d17b43abd527 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | | Merge "Add 'ovs_interfaceid' to nova network VIF model"Jenkins2013-01-235-31/+87
|\| | | | | | | | | | | | | | | | | | | | | | |_|/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add 'ovs_interfaceid' to nova network VIF modelDaniel P. Berrange2013-01-225-31/+87
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of relying on the hypervisor VIF drivers to make up the correct 'interfaceid' parameter based on the VIF uuid, explicitly tell them what the ovs interfaceid value should be. Blueprint: libvirt-vif-driver Change-Id: I77bb1bcb8f38c8c6e20e9ccbbbd490b251f32fef Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | Merge "Map libvirt error to InstanceNotFound in get_instance_disk_info"Jenkins2013-01-232-1/+28
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Map libvirt error to InstanceNotFound in get_instance_disk_infoWangpan2013-01-102-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When getting instance disk info, the instance may be destroyed/deleted, and a libvirtError will be raised in XMLDesc method, so catching and mapping it to InstanceNotFound and the caller can handle it correctly. Fixes bug #1064581 Change-Id: I07fed3e82e10dad4cb84ae5c8650ada351c24e78
* | | | | | | | | | | | | | | | | | | | | Merge "Add Compute API validations for block device map"Jenkins2013-01-233-1/+56
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Add Compute API validations for block device mapRohit Karajgi2013-01-143-1/+56
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds validations to return 400 BadRequest to Create server(s) with block device mappings where appropriate and related unit tests Fixes bug 1094244 Change-Id: I778d3ed4b0871561774594e950ce98b6a1ecfcb9
* | | | | | | | | | | | | | | | | | | | | Merge "XenAPI: Fix volume detach"Jenkins2013-01-232-3/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | XenAPI: Fix volume detachMate Lakat2013-01-182-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug 1101229 The code-cleanup and code-move changes from this patch: https://review.openstack.org/#/c/19219/ introduced a problem: the volume_utils.find_sr_from_vbd method was called after the vbd has already been destroyed. This change fixes the issue by moving the sr discovery before the vbd destruction, and tests the call order by using side effects. Change-Id: Ide4f8ac810f98bb192909f5f0408affc940e7446
* | | | | | | | | | | | | | | | | | | | | | Merge "Remove network manager from compute manager."Jenkins2013-01-231-3/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | Remove network manager from compute manager.Russell Bryant2013-01-231-3/+0
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove an instance of the configured network manager from the compute manager. It's not used anywhere. This was also the only place the network_manager config option was used, so remove the config import as well. Change-Id: I8cfad16e96018e649dd223c3a7132a3860928c23
* | | | | | | | | | | | | | | | | | | | | | Merge "xenapi: Add cleanup_sm_locks script"Jenkins2013-01-231-0/+123
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | xenapi: Add cleanup_sm_locks scriptRick Harris2013-01-221-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XenServer 5.6 and 6.0 don't appear to be cleaning up sm locks when using a FileSR. When enough locks accumulate, this causes image related operations to fail. This cleanup script is a stop-gap solution that can be run against all of the dom0's in the cluster to prevent too many locks from accumulating. We can remove this script when the root-cause is fixed upstream. References 1103158 Change-Id: I798bcfeb727a59003910b82d331fdbe031c4a2b4
* | | | | | | | | | | | | | | | | | | | | | | Merge "Ensure service's servicegroup API is created first."Jenkins2013-01-231-2/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | Ensure service's servicegroup API is created first.Russell Bryant2013-01-221-2/+8
| | |/ / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to make sure to create the servicegroup API instance early, before creating other things such as the manager, that will also create a servicegroup API instance. Internally, the servicegroup only allocates a single instance of the driver API and we want to make sure that the service's value of db_allowed is there when it gets created. For that to happen, when the service class creates a servicegroup API instance, it needs to be the first thing to do so. Part of bp no-db-compute. Change-Id: I41df39d34c4920fcbfcd50c8f0344ee1dd5547d1
* | | | | | | | | | | | | | | | | | | | | | | Merge "Fixed nova-manage argument parsing error"Jenkins2013-01-231-2/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | Fixed nova-manage argument parsing errorTony NIU2013-01-231-2/+7
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the dictionary CATEGORIES of file nova-manage, both 'flavor' and 'instance_type' refer to InstanceTypeCommands, so the category would be handled twice by add_command_parsers(). It would mess the arguments if a command category is handled more than once by function add_command_parsers(). Added a check to avoid the mess. Change-Id: I7a314a9b389b3dea848a7111cedfc762bbb6b30e Fixes: bug #1098733
* | | | | | | | | | | | | | | | | | | | | | | Merge "Adds SSL support for API server."Jenkins2013-01-237-5/+297
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | Adds SSL support for API server.Ilya Alekseyev2013-01-237-5/+297
| | |_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of code in test for accessing with ipv6 and part of ssl socket wrapping developed by Davanum Srinivas. Original patch could be found here: https://review.openstack.org/#/c/19559 DocImpact Fixes bug 869884. Change-Id: I6d60df77c3fb49552e597f94abae7f4d6f54044d
* | | | | | | | | | | | | | | | | | | | | | | Merge "don't clear the database dicts in the tearDown method"Jenkins2013-01-231-6/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | don't clear the database dicts in the tearDown methodIonuț Arțăriși2013-01-091-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is superfluous as the two dicts (self.engines and self.test_databases) are re-initialised during setUp anyway and aren't used in between Change-Id: Icafa9bdf3b0193f31752e6104ecac0e49476c812
* | | | | | | | | | | | | | | | | | | | | | | | Merge "Correct a format string in virt/baremetal/ipmi.py"Jenkins2013-01-231-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | Correct a format string in virt/baremetal/ipmi.pyArata Notsu2013-01-231-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "%(err)%s" to "%(err)s" Change-Id: I5ef1d3218c6121fed7c5d2b4d318da7c6d884776
* | | | | | | | | | | | | | | | | | | | | | | Merge "Adding REST API to show all availability zones of an region"Jenkins2013-01-2310-27/+549
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Adding REST API to show all availability zones of an regionzhiyanliu2013-01-2310-27/+549
| |/ / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returns a summary or detailed list of availability zone to client. To keep consistent result with EC2 API and de-duplicate, I have refactored EC2 cloud controllor code. Implement one workitem for bp:show-availability-zone Change-Id: I6c9c673c757c6c319a1cdd94d7420b8983f92bbb Signed-off-by: zhiyanliu <zhiyanl@cn.ibm.com>
* | | | | | | | | | | | | | | | | | | | | | Merge "Go back to the original branch after pylint check"Jenkins2013-01-231-5/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | Go back to the original branch after pylint checkYun Mao2013-01-171-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we save the current commit hash before running lintstack. This is no problem for Jenkins but not very friendly if we run lintstack locally. Every time after it's done, git is in detached HEAD mode. This patch remembers the current branch name and automatically go back to the branch if available. Otherwise we fall back to the commit hash. Part of blueprint lintstack Change-Id: I145df3027022fc9a8302bc6da9ab300f677f3386
* | | | | | | | | | | | | | | | | | | | | | | Merge "Ignore auto-generated files by lintstack"Jenkins2013-01-231-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | Ignore auto-generated files by lintstackYun Mao2013-01-171-0/+2
| |/ / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of blueprint lintstack Change-Id: I6ca0ec71c7fa083a86920a7ae055ef8e9d19c512
* | | | | | | | | | | | | | | | | | | | | | | Merge "Run_as_root to ensure resize2fs succeed for all image backends"Jenkins2013-01-234-5/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | Run_as_root to ensure resize2fs succeed for all image backendsunicell2013-01-194-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike other file based image backend, operation over LVM logical volumes requires root to functioning correctly. Resize2fs on logical volumes also need run_as_root. Otherwise, when running nova-compute as non-root user, instance creation with flavor disk size larger than image size would fail. Caused by resize2fs failure. Fixes LP# 1101137 Change-Id: I16a2aa4382be58843270ff23e11bfb1e20c568d2
* | | | | | | | | | | | | | | | | | | | | | | | Merge "Refactor: extract method: driver_dict_from_config"Jenkins2013-01-233-5/+75
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | Refactor: extract method: driver_dict_from_configMate Lakat2013-01-183-5/+75
| | |_|_|_|_|_|_|/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint xenapi-volume-drivers Extract method to create driver registries, so that it could be re-used in xenapi for a similar purpose. Change-Id: Ifd25d12335ac96a15dfea4c5ab7f315ff7ddfd8b
* | | | | | | | | | | | | | | | | | | | | | | | Merge "Fix state sync logic related to the PAUSED VM state"Jenkins2013-01-231-4/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | Fix state sync logic related to the PAUSED VM stateYun Mao2013-01-111-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A VM may get into the paused state not only because the user request via API calls, but also due to (temporary) external instrumentations. Before the virt layer can reliably report the reason, we simply ignore the state discrepancy. In many cases, the VM state will go back to running after the external instrumentation is done. Fix bug 1097806. Change-Id: I8edef45d60fa79d6ddebf7d0438042a7b3986b55
* | | | | | | | | | | | | | | | | | | | | | | | Merge "Sync latest cfg from oslo-incubator"Jenkins2013-01-238-152/+162
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | Sync latest cfg from oslo-incubatorMark McLoughlin2013-01-218-152/+162
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main change is: c5984ba Move logging config options into the log module Re-generate nova.conf.sample to reflect the options move. Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6
* | | | | | | | | | | | | | | | | | | | | | | | Merge "Use setup.py testr to run testr in run_tests.sh."Jenkins2013-01-231-4/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | Use setup.py testr to run testr in run_tests.sh.Clark Boylan2013-01-211-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the setup.py testr command in run_tests.sh will sync run_tests.sh up with the way tox currently runs the tests and collects coverage. Change-Id: I21e3965280b3242a860c6be49c4dca44f197b03a
* | | | | | | | | | | | | | | | | | | | | | | | | Merge "Fix the wrong datatype in task_log table."Jenkins2013-01-232-2/+54
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | Fix the wrong datatype in task_log table.Wenhao Xu2013-01-222-2/+54
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change period_begining and period_ending to Datetime type. Add the migration script. Change-Id: Ic5d61d6e7e847a1943825a0cb342b0b015bc0b70 Fixes: bug #1102477
* | | | | | | | | | | | | | | | | | | | | | | | Merge "Allow snapshots of paused and suspended instances"Jenkins2013-01-232-2/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | Allow snapshots of paused and suspended instancesRafi Khardalian2013-01-212-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1100556 Remove the restriction in the API of snapshotting instances which are in paused or suspended states and update the libvirt driver to deal with this accordingly. Other drivers may need to be updated accordingly. Change-Id: Iabeb44f843c3c04f767c4103038fcf6c52966ff3
* | | | | | | | | | | | | | | | | | | | | | | | | Merge "fix misspellings in logs, comments and tests"Jenkins2013-01-2325-45/+44
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \