Kashyap Chamarthy 403320bc99 libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION for "Rocky"
The last time we incremented versions for libvirt and QEMU was during
the "Pike" release (commit: b980df0, 11-Feb-2017); for "Queens" we
didn't do any.

The advertized NEXT_MIN_{LIBVIRT,QEMU} versions during
"Pike" release were set to: libvirt 1.3.1 and QEMU 2.5.0 -- but they
weren't actually bumped for "Queens".  So let's actually bump them for
the "Rocky" release.

Fix the affected functional tests.  And where applicable, use the
FAKE_{LIBVIRT, QEMU}_VERSION constants in tests, instead of hard-coding
versions.

Also fix the following live migration unit tests in the libvirt driver:

  - test_live_migration_update_graphics_xml
  - test_live_migration_update_serial_console_xml
  - test_live_migration_with_valid_target_connect_addr
  - test_live_migration_raises_exception

In above tests the following, two main changes were made:

  - "Mock" the migrateToURI3() API instead of migrateToURI2() -- because
    with the libvirt version bump, Nova's guest.migrate() method will
    now call libvirt's newer API migrateToURI3() with 'params' dict.  So
    adjust the tests accordingly.

  - Replace the usage of "Mox" with "Mock" in relevant tests.  (I know
    we should try to stick to the sensible rule of "one logical change
    per patch".  But the tests were already failing and we are
    systematically removing the usage of Mox in Nova source tree anyway.
    On that grounds, this seems reasonable.)

Also drop the following version constants, which are no longer needed
and adjust / remove corresponding unit tests:

  - MIN_{LIBVIRT_KVM,QEMU}_S390_VERSION
  - MIN_LIBVIRT_KVM_PPC64_VERSION
  - Drop MIN_LIBVIRT_VIRTUOZZO_VERSION

Note that subsequent patches will handle clean up of remaining (now no
longer needed) version constants and compatibility code.

Change-Id: If0a091a7441f2c3269148e40ececc3696d69684c
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
2018-04-23 17:02:27 +02:00
2017-08-07 16:00:10 +01:00
2018-04-20 12:27:40 +01:00
2017-11-24 16:51:12 -05:00
2014-05-07 12:14:26 -07:00
2017-11-24 16:51:12 -05:00
2012-02-08 19:30:39 -08:00
2018-01-12 17:05:11 +08:00
2010-05-27 23:05:26 -07:00
2017-09-07 15:42:31 +02:00
2018-03-24 20:27:11 +08:00
2018-04-11 21:35:49 +08:00
2017-03-02 11:50:48 +00:00
2017-03-02 14:30:16 +08:00

Team and repository tags

image

OpenStack Nova

OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of compute technologies, including: libvirt (KVM, Xen, LXC and more), Hyper-V, VMware, XenServer, OpenStack Ironic and PowerVM.

Use the following resources to learn more.

API

To learn how to use Nova's API, consult the documentation available online at:

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:

Operators

To learn how to deploy and configure OpenStack Nova, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:

Developers

For information on how to contribute to Nova, please see the contents of the CONTRIBUTING.rst.

Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.

Further developer focused documentation is available at:

Other Information

During each Summit and Project Team Gathering, we agree on what the whole community wants to focus on for the upcoming release. The plans for nova can be found at:

Description
OpenStack Compute (Nova)
Readme 1.6 GiB
Languages
Python 97.6%
Smarty 2.3%
Shell 0.1%