Commit Graph

40195 Commits

Author SHA1 Message Date
Jenkins 8d8f44657a Merge "Config options: centralize utils libvirt options (5)" 2016-05-08 06:24:30 +00:00
Jenkins b7b8a5b6e1 Merge "VMware: Use datastore copy when the image is already in vSphere" 2016-05-07 11:28:10 +00:00
Jenkins 31972f8cbe Merge "Fix database poison warnings, part 8" 2016-05-06 21:36:58 +00:00
Jenkins e49717dd71 Merge "Config options: centralize lvm libvirt options (4)" 2016-05-06 21:17:57 +00:00
Jenkins eaa72fdd73 Merge "Fix typo in support-matrix.ini: re(set)=>(re)set" 2016-05-06 18:32:14 +00:00
Jenkins 38a5170adc Merge "Trivial: dead code" 2016-05-06 18:31:13 +00:00
Jenkins 0f27c16b46 Merge "Fix database poison warnings, part 7" 2016-05-06 18:30:12 +00:00
Jenkins ee0723474d Merge "Fix database poison warnings, part 6" 2016-05-06 18:29:09 +00:00
Jenkins a1b2df06fe Merge "Fix database poison warnings, part 4" 2016-05-06 18:28:12 +00:00
Jenkins c38259f0c8 Merge "Fix database poison warnings, part 5" 2016-05-06 18:22:41 +00:00
Jenkins 5f394ade4e Merge "Remove legacy v2 unit tests[q-v]" 2016-05-06 14:04:26 +00:00
Jenkins 2e10db9a69 Merge "Remove legacy v2 unit tests[f-n]" 2016-05-06 13:57:34 +00:00
Hieu LE 27fcf2a6cf Config options: centralize utils libvirt options (5)
The config options of the "nova.conf" section "libvirt" got
moved to the new central location "nova/conf/libvirt.py".
Subsequent patches will then move another options in libvirt section.
This is the 5th patch in a long-chain patchs.

Change-Id: Iba3a4a487b73eb09fe67988e614c4811514e932f
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:28:52 +00:00
Hieu LE 51ab83cec7 Config options: centralize lvm libvirt options (4)
The config options of the "nova.conf" section "libvirt" got
moved to the new central location "nova/conf/libvirt.py".
Subsequent patches will then move another options in libvirt section.
This is the 4th patch in a long-chain patchs.

Change-Id: Iaec928d77949cae222a4c94ec0bbe445264a2012
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:28:36 +00:00
Jenkins 8a93fd1378 Merge "Config options: centralize imagecache libvirt options (3)" 2016-05-06 08:11:30 +00:00
Jenkins 89e3c3cfeb Merge "Remove Limits dependency of legacy v2 API code" 2016-05-06 07:10:04 +00:00
Jenkins 49486d994a Merge "Config options: centralize imagebackend libvirt options (2)" 2016-05-06 06:12:20 +00:00
Ken'ichi Ohmichi de67ca52c5 Remove legacy v2 unit tests[q-v]
There are two implementation code for similar API in Nova repository.
One is newer: v2.1 API, another is legacy: v2 API. v2.1 API has been
used as the default API since Liberty and legacy v2 API has been marked
as deprecated. We have used and tested v2.1 API so well and now is nice
time to remove legacy API code based on the consensus of the design
summit of Austin. This patch removes unit tests of legacy v2 API[q-v].

Partially implements blueprint remove-legacy-v2-api-code

Change-Id: I7fd86265ffa4d5bf3d4350a98b48685258947e43
2016-05-06 13:58:40 +09:00
Ken'ichi Ohmichi 7eb7a3dbb2 Remove legacy v2 unit tests[f-n]
There are two implementation code for similar API in Nova repository.
One is newer: v2.1 API, another is legacy: v2 API. v2.1 API has been
used as the default API since Liberty and legacy v2 API has been marked
as deprecated. We have used and tested v2.1 API so well and now is nice
time to remove legacy API code based on the consensus of the design
summit of Austin. This patch removes unit tests of legacy v2 API[f-n].

Partially implements blueprint remove-legacy-v2-api-code

Change-Id: I543bc2a9c068aae2c755f8159c7d2a9fff2c67ee
2016-05-06 13:58:40 +09:00
Ken'ichi Ohmichi a2e6a55a0d Remove Limits dependency of legacy v2 API code
In api-paste.ini, legacy_ratelimit has been unused since the patch
I1476b2e364032d7c98f71df0cd61f1d1c19e005d. And there is a dependency
of limits module on legacy v2 API code because the legacy_ratelimit
remains.
This patch removes these code for removing the dependency.

Partially implements blueprint remove-legacy-v2-api-code

Change-Id: I4ecf1c9bd8b419769d474ddbb8116fe834199843
2016-05-06 13:58:40 +09:00
Jenkins a2ac0fbc4e Merge "Remove the legacy v2 API entry from api-paste.ini" 2016-05-06 01:30:12 +00:00
Jenkins 2c92ae2352 Merge "UEFI - instance terminates after boot" 2016-05-06 00:30:21 +00:00
Jenkins e01b364424 Merge "Add os-interface functional negative tests" 2016-05-06 00:05:04 +00:00
Jenkins 5ee293ffcd Merge "Add pycrypto explicitly" 2016-05-05 20:30:25 +00:00
Davanum Srinivas 82b525f1fa Add pycrypto explicitly
Running "tox -e pip-missing-reqs" was broken around the
time of the Mitaka release and we missed this requirement.

nova/crypto.py:29 dist=pycrypto module=Crypto.PublicKey.RSA

Essentially, since we are constrained using upper-constraints.txt
and the upper-constraints.txt has an entry for pycrypto, we
do not see a problem anywhere.

The dependency was introduced in:
If88beeb3983705621fe736995939ac20b2daf1f3

Closes-Bug: #1578047
Change-Id: I12978a6ca49524aa2256930617a259023e6908eb
2016-05-05 10:29:21 -04:00
Jenkins 5ddda6712a Merge "Remove legacy v2 API functional tests" 2016-05-05 11:37:35 +00:00
Jenkins ef43123fdd Merge "Fix unit tests for v2.1 API" 2016-05-05 11:23:36 +00:00
Hieu LE 1ad0ab6b96 Config options: centralize imagecache libvirt options (3)
The config options of the "nova.conf" section "libvirt" got
moved to the new central location "nova/conf/libvirt.py".
Subsequent patches will then move another options in libvirt section.
This is the third patch in a long-chain patchs.

Change-Id: Ie1e9b16ba3bb702ff5a8712a94fca0afdcbbd80b
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-05 11:21:47 +00:00
Hieu LE d39778d5ce Config options: centralize imagebackend libvirt options (2)
The config options of the "nova.conf" section "libvirt" got
moved to the new central location "nova/conf/libvirt.py".
Subsequent patches will then move another options in libvirt section.
This is the second patch in a long-chain patchs.

Change-Id: I3e452172e366b87b373eff33c454472c6be8f1f2
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-05 11:21:23 +00:00
Jenkins 7d4ce9e73f Merge "Remove legacy v2 unit tests[a-e]" 2016-05-05 11:16:49 +00:00
He Jie Xu 5a64f57824 Remove the legacy v2 API entry from api-paste.ini
The api sample tests and functional tests already stopped to
run against with legacy v2 API. This patch removes the legacy
V2 API entry from api-paste.ini, it stops user from using
legacy V2 API. This patch also adds deprecated report in pipeline
factory method to notice the user update their api-paste.ini
after upgrade code.

Partially implements blueprint remove-legacy-v2-api-code

Change-Id: I1476b2e364032d7c98f71df0cd61f1d1c19e005d
2016-05-05 19:04:02 +08:00
Hieu LE dda676c80b Config options: centralize driver libvirt options (1)
The config options of the "nova.conf" section "libvirt" got
moved to the new central location "nova/conf/libvirt.py".
Subsequent patches will then another options in libvirt section.
This is the first patch in a long-chain patchs.

Change-Id: I3c66c6e211a35eeefadc07b9dae74764419ee7f4
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-05 03:52:16 +00:00
Chung Chih, Hung 647a022bac UEFI - instance terminates after boot
When nvram element had specify template attribute which is path to boot
loader variable, libvirt will copy the file into libvirt's nvram
folder. Then qemu will boot with boot loader and boot loader variable.

Nova will specify boot loader to template attribute in nvram element
instead of specify boot loader variable. This will cause RAM execute
failed at qemu process.

Qemu config have variable named nvram which save location of master
nvram file. Therefore we didn't need to assign variable store file, just
let libvirt process to find relative variable store file with OVMF code file.

Change-Id: Ib589507967742334ad93c6a68de4ee8d3bb42eec
Closes-Bug: #1574558
2016-05-05 02:25:55 +00:00
Jenkins 38033b9b2f Merge "Add ppc64le architecture to some libvirt unit tests" 2016-05-05 02:13:34 +00:00
Jenkins a62e9df74a Merge "Make compute rpcapi 'live_migration' backward compatible" 2016-05-05 02:10:52 +00:00
Jenkins 3304f1924c Merge "fix wrong key name in test code" 2016-05-05 01:55:34 +00:00
Jenkins a5dcd64b39 Merge "Remove the legacy v2 API test scenarios from API sample tests" 2016-05-04 21:56:18 +00:00
Ken'ichi Ohmichi 852c9df40b Fix unit tests for v2.1 API
VolumeApiTestV21 is a test class for v2.1 API as the name, but the
class tested v2.0 API because the module of v2.0 API was used.
In addition, the specified request bodies also were wrong because
the parameter "size" is required on JSON-Schema.
This patch fixes these problems.

In addition, this patch renames an internal method of the related
test because the method name was difficult to understand the purpose.

Change-Id: Ibe165f00eb2e15a1a2d9466c1af48db2e6883916
2016-05-04 10:29:03 -07:00
Ken'ichi Ohmichi b5ec25d6ab Remove legacy v2 unit tests[a-e]
There are two implementation code for similar API in Nova repository.
One is newer: v2.1 API, another is legacy: v2 API. v2.1 API has been
 used as the default API since Liberty and legacy v2 API has been marked
as deprecated. We have used and tested v2.1 API so well and now is nice
time to remove legacy API code based on the consensus of the design
summit of Austin.

This patch removes unit tests of legacy v2 API[a-e].

NOTE: Two test modules test_extended_rescue_with_image and
      test_extended_virtual_interfaces_net are just removed
      because the corresponding modules exist on legacy v2
      code only. These modules are merged into source modules
      on v2.1 code.

Partially implements blueprint remove-legacy-v2-api-code

Change-Id: Icd57f5b1718faef3ab7afe4acd34e56d4d29a3a8
2016-05-04 10:22:04 -07:00
Jenkins 4b6ab39393 Merge "Replace key manager with Castellan" 2016-05-04 17:15:55 +00:00
Jenkins 26a8155dd8 Merge "Complete Verification of os-virtual-interfaces" 2016-05-04 17:15:06 +00:00
Jenkins 84ce67ae1c Merge "Complete Method Verification of os-interface" 2016-05-04 17:14:11 +00:00
Jenkins 172d8eddfb Merge "Complet Method Verification of flavor-access" 2016-05-04 17:13:23 +00:00
Jenkins 54e66dd5a3 Merge "Complete Verification of os-flavor-extra-specs" 2016-05-04 17:12:16 +00:00
Jenkins a0cea4e5a3 Merge "Complet Method Verification of os-instance-actions" 2016-05-04 17:10:58 +00:00
Jenkins 7a5f1a804c Merge "Complet Method Verification of flavor" 2016-05-04 17:10:09 +00:00
Jenkins f39743a1e6 Merge "Complete Verification of os-hosts" 2016-05-04 16:45:13 +00:00
Jenkins bfca4bec87 Merge "Complete method Verification of consoles" 2016-05-04 15:59:02 +00:00
Jenkins d2bf3ef0a2 Merge "Complete Verification of os-server-password" 2016-05-04 15:57:56 +00:00
Jenkins ce46dc3823 Merge "complete Method Verification of aggregates" 2016-05-04 15:56:55 +00:00