Commit Graph

14141 Commits

Author SHA1 Message Date
Jenkins 75cd4642db Merge "Fix Multi_Scheduler to process host capabilities" 2012-05-18 22:32:22 +00:00
Jenkins 129795c890 Merge "fixed_ip_get_by_address read_deleted from context" 2012-05-18 22:06:15 +00:00
Jenkins a76f08b971 Merge "Fix for Quantum LinuxBridge Intf driver plug call" 2012-05-18 18:30:23 +00:00
Jenkins dae5b2c6f7 Merge "Add version to consoleauth rpc API." 2012-05-18 18:22:15 +00:00
Jenkins df89399c78 Merge "Implement get_hypervisor_hostname for libvirt." 2012-05-18 18:12:24 +00:00
Jenkins e025f0ea80 Merge "Add version to the cert rpc API." 2012-05-18 18:04:37 +00:00
Armando Migliaccio 3ae69ebcc5 Fix Multi_Scheduler to process host capabilities
To fix bug #1000403, make sure that each driver held by the
Multi Scheduler gets called during update_service_capabilities.

Change-Id: Iee8141f1a6dcfa24101640626d209d2d65776339
2012-05-18 16:07:44 +01:00
Jenkins b4a64da192 Merge "Remove unused _get_target code from xenapi" 2012-05-18 15:03:00 +00:00
John Tran c1e54e1968 fixed_ip_get_by_address read_deleted from context
Fixes bug 996482. by default fixed_ip_get_by_address
always sets read_deleted='yes'.  Changed it to accept
read_deleted value from context.
updated .mailmap to rewrite my old email to new email

Change-Id: If94251972df7bbcfdeebc226613edac0a3f41186
2012-05-18 07:15:31 -07:00
Jenkins 51e745fc1d Merge "Add unit test coverage for bug 1000261." 2012-05-17 23:32:29 +00:00
Jenkins 5cee511dbb Merge "make get_all_bw_usage() signature match for fake virt driver." 2012-05-17 23:22:53 +00:00
Sumit Naiksatam 7e845f4af6 Fix for Quantum LinuxBridge Intf driver plug call
The current implementation of the plug operation tries to assign an IP
address to a bridge even if it already has one. The fix is to do this
only when a new device is created. The check for a new device was
already being performed however the IP address was being set outside
that check. That's being corrected here, minor fix.

bug 1000580

Change-Id: I45215a3ca87a32ef4c2a2f76bab9b743eabb525e
2012-05-17 16:20:22 -07:00
Jenkins 70f40b8816 Merge "use a RequestContext object instead of context module" 2012-05-17 22:54:41 +00:00
Jenkins 0472976c97 Merge "Add base support for rpc API versioning." 2012-05-17 22:13:35 +00:00
Jenkins b140b34d0f Merge "get instance details results in volumes key error" 2012-05-17 22:02:02 +00:00
Rick Harris adb11a00cc Add additional logging to compute filter
Change-Id: I3cca70ea81be12cc5a47d492f49a30774f902c91
2012-05-17 16:33:11 -05:00
Jenkins 911775ed11 Merge "Add configurable timeout to Quantum HTTP connections." 2012-05-17 21:01:44 +00:00
Jenkins 289a1088f3 Merge "Add eventlet backdoor to facilitate troubleshooting." 2012-05-17 20:51:50 +00:00
Yun Mao 975a2064a1 use a RequestContext object instead of context module
Change-Id: Ib3ef1602838daee8e9453a2ded2fbb4b17d36935
2012-05-17 16:39:21 -04:00
Jenkins 5a9e678cc0 Merge "Modify vm_vdi_cleaner to handle -orig." 2012-05-17 20:36:37 +00:00
Yun Mao 2fd869e9ec make get_all_bw_usage() signature match for fake virt driver.
Change-Id: Ia96349275321f25da55845d73b212bb7c820f3d4
2012-05-17 16:34:37 -04:00
Jenkins 16873e10d0 Merge "Add aliases to .mailmap for comstud and belliott." 2012-05-17 20:26:54 +00:00
Russell Bryant 8fbde4936d Add unit test coverage for bug 1000261.
The fix for bug 1000261 updated some parsing code to handle updated
output from qemu-img.  This test case exercises this parsing code.

Change-Id: I5c9592478823464317cc6d521b3240913e4ded92
2012-05-17 16:17:56 -04:00
Jenkins 12ea7e4ded Merge "Moving network tests into the network folder." 2012-05-17 19:08:03 +00:00
Rick Harris 3e4925b36f Moving network tests into the network folder.
Change-Id: Ic8f20967fb999cc67f74bd5ef751c7bb23129604
2012-05-17 12:05:41 -05:00
Russell Bryant 9ec9fdce62 Add version to consoleauth rpc API.
Part of blueprint versioned-rpc-apis.

Change-Id: I9682bdbd06d744141b94385992b37cd2e55b8f5e
2012-05-17 12:16:14 -04:00
Russell Bryant 1b6aa2d1af Add version to the cert rpc API.
Part of blueprint versioned-rpc-apis.

Change-Id: Iea00a2e82eef7ca7b3ffef438e81e5b4fcca7751
2012-05-17 12:16:12 -04:00
Russell Bryant 8ed3059cb4 Add base support for rpc API versioning.
Part of blueprint versioned-rpc-apis.

This commit includes the base support for versioned RPC APIs.  It
introduces the RpcProxy and RpcDispatcher classes that have common code
for handling versioning on the client and server sides, respectively.

RPC APIs will be converted one at a time using this infrastructure.

Change-Id: I07bd82e9ff60c356123950e466caaffdfce79eba
2012-05-17 12:16:11 -04:00
Jenkins f00b4e0600 Merge "Bump XenServer plugin version" 2012-05-17 16:09:38 +00:00
Dan Wendlandt a5d06c2d12 fixes typo that completely broken Quantum/Nova integration
bug 1000887

fixes bug introduced in ba76b954e6 that
prevented the serializer in the Quantum client code from correctly
serializing request body data.  Instead, the serializer always returned
None, meaning that requests would have no body, causing the Quantum
server to return a 400.

Change-Id: I410fb408435da8774f418f0e62ffb59eac2354f3
2012-05-16 20:19:36 -07:00
Dan Prince efc3694a3a Make Iptables FW Driver handle dhcp_server None.
Updates the IptablesFirewallDriver so it doesn't set iptables rules
for the DHCP server if dhcp_server is None in network info.

Fixes LP Bug #1000522.

Change-Id: I08bcae49fb75f685c9eab4e10936fdab5b304e2b
2012-05-16 22:24:07 -04:00
Jenkins 7d1571bae1 Merge "Optional timeout for servers stuck in build" 2012-05-16 23:02:30 +00:00
Jenkins 5d90b39c36 Merge "Remove old flagfile support." 2012-05-16 22:27:36 +00:00
Chris Behrens 389764174e Add aliases to .mailmap for comstud and belliott.
Change-Id: Id12e0347b11784b9739ed9713d3e151a94cf8f10
2012-05-16 22:13:13 +00:00
Jenkins 3f9c617f6e Merge "Update nova's copy of image metadata on rebuild" 2012-05-16 22:01:48 +00:00
Johannes Erdfelt f799f77130 Add eventlet backdoor to facilitate troubleshooting.
This provides a FLAG to turn on Eventlet's builtin backdoor server which
allows you to connect over telnet and receive a Python prompt (which is
immensely helpful for debugging running systems).

Fixes bug 1000366

Change-Id: I779247a0796d34ba2a5478436d85b30ba76c4a01
2012-05-16 21:56:42 +00:00
Jenkins 27f5ec2754 Merge "Updated instance state on resize error." 2012-05-16 21:17:01 +00:00
Jenkins eb96b41a02 Merge "Add __repr__ to least_cost scheduler." 2012-05-16 20:21:40 +00:00
Jenkins 93cb89ebef Merge "Add s3_listen and s3_listen_port options." 2012-05-16 19:36:49 +00:00
Jenkins c5f9d86a3c Merge "handle updated qemu-img info output" 2012-05-16 19:17:01 +00:00
Jenkins 01f968e6c4 Merge "Remove XenAPI use of eventlet tpool" 2012-05-16 18:55:05 +00:00
Chris Behrens b1d5caf80a Update nova's copy of image metadata on rebuild
Fixes bug 999318

Change-Id: Ib2ea908466e5ee4f05e94e68aecd77247e3f4a15
2012-05-16 18:30:09 +00:00
Philip Knouff 7b75fe7f57 Optional timeout for servers stuck in build
Fixes bug 994786

Change-Id: Iae86c002073f45b48acde8eae07f9b0f62488f90
2012-05-16 13:53:14 -04:00
Johannes Erdfelt ed3bf4692f Add configurable timeout to Quantum HTTP connections.
Fixes bug 1000371

Change-Id: I02805d5607feb0b2443e71c30fe7e9042d9b062a
2012-05-16 12:49:49 -05:00
Chris Behrens ad5cf3e86b Modify vm_vdi_cleaner to handle -orig.
Also modifies the code to better handle various race conditions.

Fixes bug 1000359

Change-Id: I421b5827330da550810598cfbacc5bb679b477c7
2012-05-16 12:23:33 -05:00
Chris Behrens f50a5ec1fc Add __repr__ to least_cost scheduler.
Change-Id: I883dd5a734ef71cef915abf95a7125926e07f3d0
2012-05-16 12:10:47 -05:00
Antony Messerli bbdbd1b87b Bump XenServer plugin version
Change-Id: I7a9389a8b07b78dec083f2a39c0ca6d9f3705ad3
2012-05-16 12:06:24 -05:00
Jenkins e4d8b4824d Merge "Rearchitect quota checking to partially fix bug 938317." 2012-05-16 15:34:39 +00:00
Pádraig Brady 0624b7aab0 handle updated qemu-img info output
Originally `qemu-img info` always output an (actual path: ...)
even if it was duplicated with that already on the line.

 $ instances=/var/lib/nova/instances/
 $ qemu-img info $instances/instance-00000017/disk | grep 'backing'
 backing file: $instances/_base/24083... (actual path: $the_same)

Whereas after the change referenced at:
https://lists.gnu.org/archive/html/qemu-devel/2012-05/msg01468.html
It suppresses a duplicate (actual path:)

 $ instances=/var/lib/nova/instances/
 $ qemu-img info $instances/instance-00000017/disk | grep 'backing'
 backing file: $instances/_base/24083...

* nova/virt/libvirt/utils.py (get_disk_backing_file):
Avoid an indexError exception when parsing the newer format.
Fixes bug 1000261

Change-Id: Ie2889b6da8a5c93e0e874e7a330529f6e6e71b0b
2012-05-16 15:53:24 +01:00
Kevin L. Mitchell 406ff304bb Rearchitect quota checking to partially fix bug 938317.
This is a rearchitecting/rewriting of quota handling to correct the
quota atomicity issues highlighted by bug 938317.  Partially implements
blueprint quota-refactor as well.

This change is fairly substantial.  To make it easier to review, it has been
broken up into 3 parts.  This is the first part.

Change-Id: I805f5750c08de17487e59fe33fad0bed203188a6
2012-05-16 08:58:53 -05:00