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
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
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
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
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
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
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
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
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
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
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
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
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
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
This patch removes the functional tests which against on the legacy V2 API.
Partially implements blueprint remove-legacy-v2-api-code
Change-Id: Ie7189ddcb2b8bc103104045882055eb6b1fc8290
test_default_root_device_name() in
nova/tests/unit/virt/libvirt/test_driver.py,
'detination_type' should be 'destination_type'.
Change-Id: Iba73e582d36fa16f563a8e806073a06f857e1078
Closes-Bug: #1577758
This patches from the test scenarios for the legacy v2 from API
sample tests. There still have some codes for legacy v2 which should
be cleanup, but that can be done later patches. This patch just stop
the test on the legacy v2 API.
Partially implements blueprint remove-legacy-v2-api-code
Change-Id: I38626e5a4aa98cbfd7b65b5eb0edbcae96e5b3f2
This helps to make it clear that either you specified no API services,
or you specified all bad ones, or that you fat-fingered the thing
entirely. If we can't start any, we shouldn't start the process acting
like we did and then wait for you to figure out the hard way that we
aren't actually listening for any requests.
Change-Id: I864486a58cf3fde35647ae3b8d2ad917c809ea54
Related-Bug: #1572495