Commit Graph

40209 Commits

Author SHA1 Message Date
He Jie Xu e7bf2d7dc6 Complete method verification of os-quotas
Adjust the order of method and correct the error status code. Also
add missing method of detail.

Part of bp:api-ref-in-rst

Change-Id: I394e906c05475d133a89d098e8282e047ebc6c31
2016-05-09 10:09:40 +00:00
He Jie Xu 2f4f098c64 Add api-sample test for showing quota detail
The method of showing quota detail is missing the api sample test.
This patch adds that.

Part of bp:api-ref-in-rst

Change-Id: I943af1d856f890eab4c34674d251f698ee84a836
2016-05-09 10:49:22 +08:00
Jenkins 84952371aa Merge "pci: Allow to assign pci devices in pci device list" 2016-05-08 20:36:08 +00:00
Jenkins e533a7456f Merge "Config options: centralize iscsi libvirt options (10)" 2016-05-08 18:33:15 +00:00
Jenkins 30252578f5 Merge "Config options: centralize glusterfs libvirt options (9)" 2016-05-08 18:32:46 +00:00
Jenkins 539d9ffbd6 Merge "Config options: centralize aoe vol libvirt options (8)" 2016-05-08 18:32:16 +00:00
Jenkins e0c154f15f Merge "Config options: centralize volume libvirt options (7)" 2016-05-08 18:31:46 +00:00
Jenkins 2f1b7fcb02 Merge "Config options: centralize vif libvirt options (6)" 2016-05-08 18:31:15 +00:00
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 00eccf56d0 Config options: centralize iscsi libvirt options (10)
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 10th patch in a long-chain patchs.

Change-Id: Iffd21940c8396460392e96e79d4ba98142fa39cc
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:30:07 +00:00
Hieu LE 463f854af1 Config options: centralize glusterfs libvirt options (9)
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 9th patch in a long-chain patchs.

Change-Id: I0f6c9c2ecbf053a64c4af6ec2877d637b6506cb0
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:29:51 +00:00
Hieu LE e691edf52e Config options: centralize aoe vol libvirt options (8)
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 8th patch in a long-chain patchs.

Change-Id: I8a071d24ba3e523fd269ddadfa8f2922b7ba0089
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:29:22 +00:00
Hieu LE 43caf37084 Config options: centralize volume libvirt options (7)
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 7th patch in a long-chain patchs.

Change-Id: I421d418d4b10d23f8ab640b6fc015611545322e8
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:29:13 +00:00
Hieu LE 15abb39ef2 Config options: centralize vif libvirt options (6)
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 6th patch in a long-chain patchs.

Change-Id: I9c182f49711a54e140c6321aa56c72850bc4d1a3
Co-Authored-by: Markus Zoeller <mzoeller@de.ibm.com>
Implements: blueprint centralize-config-options-newton
2016-05-06 08:29:03 +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