Commit Graph

23875 Commits

Author SHA1 Message Date
He Jie Xu 80374ffbbc Add V3 API samples for consoles
Partially implements blueprint v3-api-unittests

Change-Id: I84ee6ca7d7c7113e97b7eadde6eeac104bffb6ff
2013-10-05 00:11:26 +00:00
Jenkins b35d0f95be Merge "Catch volume errors during local delete" 2013-10-04 23:17:21 +00:00
Jenkins a9333730a2 Merge "Host aggregate configuration throws exception" 2013-10-04 22:35:29 +00:00
Jenkins 743a23ee72 Merge "Code change for regex filter matching" 2013-10-04 22:34:07 +00:00
Jenkins eef0c5402c Merge "VMware: Check for the propSet attribute's existence before using" 2013-10-04 22:33:34 +00:00
Jenkins cb529b3ad9 Merge "plug_vif raise NotImplementedError instead of pass" 2013-10-04 22:30:42 +00:00
Jenkins 1865c67363 Merge "Fixes the usage of PowerVMFileTransferFailed class" 2013-10-04 21:25:42 +00:00
Chris Behrens bb2c3c5825 Fix races in cells extension tests
A global was used for a cell list and tests would update this global and
fail depending on order run, etc.

Fixes bug 1235399

Change-Id: Ib06cfc89076e87ac3cfedd796687059862f20406
2013-10-04 18:49:00 +00:00
Jenkins 9facffe836 Merge "Fix the wrong params of attach/detach interface for compute driver" 2013-10-04 18:09:18 +00:00
Jenkins 125101d375 Merge "Fixes several misc typos in scheduler code" 2013-10-04 18:08:44 +00:00
Jenkins 9d66301237 Merge "Make rbd.libvirt_info parent class compatible" 2013-10-04 18:05:41 +00:00
Jenkins 5fec8df325 Merge "Resource limits check sometimes enforced for forced scheduling" 2013-10-04 17:56:56 +00:00
Jenkins d2c5ecf266 Merge "Make LiveMigrateTask use build_request_spec()" 2013-10-04 17:56:23 +00:00
Jenkins a5567324c7 Merge "Ensure image property not set to None in build_request_spec()" 2013-10-04 17:55:50 +00:00
Jenkins a28979f292 Merge "Fix type is overwritten when UPDATE cell without type specified" 2013-10-04 17:53:30 +00:00
Jenkins 513a13f2ef Merge "VMware: Handle cases when there are no hosts in cluster" 2013-10-04 17:19:11 +00:00
Zhongyue Luo e5fc28adda Replace assert_ with assertTrue
The method assert_ has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

This patch is a mere sed replace of one-liner assert_ to assertTrue.

grep -lR "assert_(" nova/tests/* | \
xargs sed -ri 's/(\W+self.assert)_(\()(.+)(\)$)/\1True\2\3\4/'

Change-Id: I64b9764e1607a46877dad466a4be81e07bdf6f9a
2013-10-04 07:29:40 +09:00
Alex Glikson 721709a9d1 Fixes several misc typos in scheduler code
Change-Id: Id7d86e3be34b650a63679ba086abcb13dfac2eb8
Closes-bug: #1234902
2013-10-03 21:47:52 +02:00
Jenkins 18bfe4993d Merge "Add Docstring to some scheduler/driver.py methods" 2013-10-03 18:52:24 +00:00
Jenkins 47eed5ea97 Merge "Remove unused dict functions from utils" 2013-10-03 18:45:18 +00:00
Jenkins c64aeee362 Merge "Fix libvirt test on systems with real iSCSI devices" 2013-10-03 18:23:06 +00:00
Jenkins cec57d2b6b Merge "Log if a quota_usages sync updates usage information" 2013-10-03 17:23:17 +00:00
Dan Smith 3891692191 Fix libvirt test on systems with real iSCSI devices
The test_libvirt_kvm_iser_volume_with_multipath_getmpdev() test
expects a system with no real iSCSI devices. It actually triggers
an os.walk() of /dev/disk/by-path/ip-*, which will return any
iSCSI devices on the system. Since the test expects none, this
will cause the test to fail.

This patch just stubs that out to return an empty list always.

Change-Id: Ibb3fd18207d013c35487a3eebb336b5f288b703a
Closes-bug: #1234834
2013-10-03 10:17:15 -07:00
Jenkins f3205d4858 Merge "Reserve 10 migrations for backports" 2013-10-03 16:26:43 +00:00
Russell Bryant ab2c467da9 Reserve 10 migrations for backports
Reserve 10 migrations so that we have the option of backporting fixes
that include a db migration to the stable/havana branch.  We did this
same thing to allow backports to stable/grizzly in
b52a2157be.

The choice of 10 migrations is just a magic number.  We haven't used any
of the 10 reserved for stable/grizzly backports, so 10 seems to be
enough.

Implements blueprint backportable-db-migrations-icehouse

Change-Id: I2c5f2e5a966cfffa4a3e54e17fde07a52295f658
2013-10-03 11:30:34 -04:00
Jenkins 723c80984f Merge "Remove utils.debug" 2013-10-03 15:05:48 +00:00
Rick Harris a342c0c555 Remove unused dict functions from utils
These aren't used any more.

Change-Id: Iffb4954691c288c2729171182fd5ee21f8613d2b
2013-10-03 14:58:59 +00:00
Jenkins 98648054b0 Merge "Avoid mutable default args in _test_populate_filter_props" 2013-10-03 14:50:23 +00:00
David Ripton daec659129 Avoid mutable default args in _test_populate_filter_props
Using [] as an argument means that any changes to that argument
will stick across multiple calls to the method.  In this case,
this is surprising behavior that may lead to confusion as we
reuse this method in more tests.  Instead, set it to None, which
is non-mutable, and later assign it to [] inside method scope.

Change-Id: I9cc07b8917ad096c5efea9282bae08c41d15f1cf
2013-10-03 09:23:12 -04:00
Bob Ball 24fd331b8c XenAPI: Add versioning for plugins
Because the plugins live on a host seperate to Nova we need an interface
to test whether they are the expected version.  We can't use pip or other
requirement systems as they are cross-machine.

Closes bug 1226622

Change-Id: I58ab669061f51bd87071e2cf0d93d33021001309
2013-10-03 13:08:56 +00:00
Inbar 816cc36fbe Add Docstring to some scheduler/driver.py methods
Add/fix the Docstring of "handle_scheduler_error" and
"instance_update_db" methods

Fix bug 1233546

Change-Id: I133c569fc9496f6d727a72b6d8e4844774cd983d
2013-10-03 13:46:58 +02:00
OpenStack Jenkins 026edcd686 Merge "Updated from global requirements" 2013-10-03 09:08:40 +00:00
Jenkins 31aa52f15c Merge "Replace OpenStack LLC with OpenStack Foundation" 2013-10-03 09:08:08 +00:00
Jenkins ecc5fb78ab Merge "Remove unecessary get_boolean function" 2013-10-03 07:08:01 +00:00
Jenkins 26f6b9d6d5 Merge "Prefix utils.get_root_helper with underscore" 2013-10-03 07:07:29 +00:00
Jenkins f4ea7fa11d Merge "Remove utils.last_octet" 2013-10-03 06:31:14 +00:00
Jenkins 0dc5040cf7 Merge "Make Instance.refresh() extra careful about recursive loads" 2013-10-03 06:28:47 +00:00
Jenkins 208494a6da Merge "Avoid spamming conductor logs with object exceptions" 2013-10-03 00:31:02 +00:00
Jenkins c24ab92f63 Merge "Open Icehouse development" 2013-10-02 23:14:16 +00:00
Andrew Laski 5aef264967 Log if a quota_usages sync updates usage information
There's some periodic quota_usages syncing that can occur to help
correct any drift that may happen.  It would be useful to log when that
occurs as it may indicate an issue somewhere.

Change-Id: I5b90ab42059ae8ebd0c3890accafb98e70ed037e
2013-10-02 17:19:05 -04:00
Jenkins 96d828fb69 Merge "Skip test if sqlite3 not installed" 2013-10-02 21:17:40 +00:00
Jenkins aab7c1317c Merge "Remove utils.parse_mailmap" 2013-10-02 19:34:38 +00:00
OpenStack Jenkins 5c04d56474 Merge "Imported Translations from Transifex" 2013-10-02 19:34:08 +00:00
Jenkins 03c2bb9ede Merge "Disable lazy gettext" 2013-10-02 19:29:34 +00:00
Thierry Carrez 2a970b76f5 Open Icehouse development
This should be accepted/merged once all the RC1 bugfixes are in.

This bumps the target version to 2014.1, effectively opening the master
branch to Icehouse development, ending the feature freeze.

The Havana release branch is cut from the previous commit in master.

Change-Id: Ia3a41177e3c91bd75b38833761f9f8af2b503e4b
2013-10-02 17:21:24 +02:00
Jenkins f7015618f1 Merge "VMWare: Disabling linked clone doesn't cache images" 2013-10-02 10:33:43 +00:00
Jenkins 9deb3c7fc9 Merge "xenapi: reduce impact of errors during SR.scan" 2013-10-02 10:30:47 +00:00
He Jie Xu 67414604a0 Fix the wrong params of attach/detach interface for compute driver
The reason of attach_interface failed is current code passing VIF object
to attach_interface, but it expected NetworkInfo object. And as the
comment of attach/detach_interface, they should only accept one
interface to instance. So correct the interface signature only accept
an VIF object. And correct the fake driver behavior, make the test running
correctly.

Change-Id: Id0d28c39fb543853bd710fcb3c3b611306b4fb8f
Close-bug: #1233504
2013-10-02 15:09:19 +08:00
OpenStack Jenkins f72a16e6ef Imported Translations from Transifex
Change-Id: Ifee5371180accad28370cb3c474a2263ff136b74
2013-10-02 06:06:26 +00:00
Jenkins 0eca71e628 Merge "Use system locale for default request language" 2013-10-02 00:55:57 +00:00