nova 27.0.0 (antelope)
We high-spiritedly announce the release of: nova 27.0.0: Cloud computing fabric controller This release is part of the antelope release series. The source is available from: https://opendev.org/openstack/nova Download the package from: https://tarballs.openstack.org/nova/ Please report issues through: https://bugs.launchpad.net/nova/+bugs For more details, please see below. Changes in nova 26.0.0.0rc1..27.0.0 ----------------------------------- 349100eecc Add service version for Antelope f587685f60 Add the 2023.1 Antelope prelude section 0ffb61da60 Doc: update live-migration cmd 00299dcaad Add docs for cpu management 84d1f25446 Use mysql memory reduction flags for ceph job d82fa9f2f7 doc: mark the max microversion for 2023.1 Antelope cbed39822a Revert "Add logging to find test cases leaking libvirt threads" 54faea0196 Fix logging in MemEncryption-related checks 0807b7ae9a Enable cpus when an instance is spawning 96f9518096 libvirt: let CPUs be power managed 1778a9c589 Add logging to find test cases leaking libvirt threads ddf96bcd31 cpu: interfaces for managing state and governor a296441782 Add docs for stable-compute-uuid behaviors 56b8bb3fb9 Fix 6.2 compute RPC version alias 1d707a72fc fup: support evacuate target state b10685afbd Stable compute uuid functional tests cf33be6871 Abort startup if nodename conflict is detected 5934f85fb9 Move comment about _destroy_evacuated_instances() d892905904 Protect against a deleted node id file 72370a188c Check our nodes for hypervisor_hostname changes d732ee38a1 api: extend evacuate instance to support target state 8c2e765989 compute: enhance compute evacuate instance to support target state e258164f5a Detect host renames and abort startup f41ee33e01 Fixup patch for stable-compute-uuid series 23c5f3d585 Make resource tracker use UUIDs instead of names fba851bf3a Add further workaround features for qemu_monitor_announce_self d1d2375c47 Check VMDK create-type against an allowed list 468b03e0ee libvirt: Replace usage of compareCPU() with compareHypervisorCPU() 9caaaf1f22 libvirt: At start-up rework compareCPU() usage with a workaround ec40d5aee3 Handle InstanceInvalidState exception 87c0602537 Factor out a mixin class for candidate aware filters 53a925ff0f Persist existing node uuids locally 0caf24f308 Add get_available_node_uuids() to virt driver cf111d1001 Pass service ref to init_host(), if exists 3b33b0938e Add virt/node module for stable uuids 2c9fbae54a Clean up after ImportModulePoisonFixture 5c91f31cea Bump openstack-placement version in functional tox env 9980b9ad52 Microversion 2.94: FQDN in hostname c59db128a0 Use new get_rpc_client API from oslo.messaging b5e0ed248f libvirt: Add configuration options to set SPICE compression settings d97af33c06 Enable new defaults and scope checks by default 0826ee1c68 Fix huge-page doc 5e5b6751d3 Remove basepython def from tox.ini f41226206c Split ignored_tags in stats.py d53a4922a0 FUP for the scheduler part of PCI in placement 8911da6923 Strictly follow placement allocation during PCI claim 01b5d6ca42 Reproduce PCI pool filtering bug cf11f8e8e2 Rename _to_device_spec_conf to _to_list_of_json_str e161fb3d39 Follow up for the PCI in placement series 2cb1eedeaf Allow enabling PCI scheduling in Placement ecb11043e9 Add mock to avoid loading guestfs in unit test 2cf58d3d1e Test multi create with PCI in placement bb3e2c301b Test reschedule with PCI in placement fa4832c660 Support same host resize with PCI in placement b387401187 Support unshelve with PCI in placement 53642766f8 Support evacuate with PCI in placement e667a7f8d8 Support cold migrate and resize with PCI tracking in placement 1462883dcc Func test for PCI in placement scheduling f86f1800f0 Store allocated RP in InstancePCIRequest 3ccf82ef9e Remove use of removeprefix 8a476061c5 Ironic: retry when node not available 3420b77f62 doc: soft delete and shadow tables 73fe84fa0e Support multiple config file with mod_wsgi 6bdc79af30 Don't provide MTU value in metadata service if DHCP is enabled c8d5397b0a Adds check for VM snapshot fail while quiesce 50802572dc Adds regression functional test for 1980720 2aa779016d Temporary skip some volume detach test in nova-lvm job 58500c9967 Update gate jobs as per the 2023.1 cycle testing runtime 95244e089f Make tenant network policy default to PROJECT_READER_OR_ADMIN a28b907c4f Handle mdev devices in libvirt 7.7+ 1852019747 Reproducer for bug 1951656 3c022e9683 Ironic nodes with instance reserved in placement ae055aaf5d libvirt: fix typo in test_config 628e1c152c Add a hacking rule for the setDaemon method 688fd7b427 Bump minimum version of os-vif to 3.1.0 ac42c43e43 Correct config help message related options 010983e803 Test ceph-multistore with a real image 6b9342f6e2 Add os_vif in nova-config-generator ecbcf16dca Update contributor guide for 2023.1 Antelope c97507dfcd record action log when deleting shelved instance 7e960b125e Enable glance location tests on ceph-multistore 8f1cc5a8f0 Doc: Fix list servers detailed response param 7eaa3466cd DOC update remote console access b1958b7cfa Correct doc references f1d82c0d0a Filter PCI pools based on Placement allocation 3d818c3473 Make allocation candidates available for scheduler filters e96601c606 Map PCI pools to RP UUIDs c2f48412b5 Split PCI pools per PF b10482cbc0 Support resource_class and traits in PCI alias 745921338c Create RequestGroups from InstancePCIRequests 6feb3350b0 Improving logging at '_allocate_mdevs'. e35c2e1d51 Correct wrong reference in docs ace5579fab libvirt: Report ephemeral encryption traits based on imagebackend 2eeefabde4 libvirt: Add encryption support to qemu-img create command 8449b7caef [compute] always set instance.host in post_livemigration 8c6daaacbe Remove deleted projects from flavor access list 1260cdd492 update default overcommit a20baeca1f Adds a repoducer for post live migration fail 6aea9f3772 Remove the periodic Centos 8 job 045125c291 Fix link to Cyborg device profiles API ca9b7defe8 Unit test exceptions raised duing live migration monitoring 480b63a9a6 fix typo in architecture document 0fce3c03ab Fix typos in nova docs b65a910834 Update Availability zone doc page 8942d5bc26 Correct reST markup in config help string 6a06a57290 requires os-traits >= 2.9.0 b7356303cd Updated flavors doc 36b8534c9c Imported Translations from Zanata f9fa785fa8 extend_volume of libvirt/volume/fc should not use device_path c48b75c459 Switch to 2023.1 Python3 unit tests and generic template name 5a9a15a450 Update master for stable/zed 4fb4f6832c Remove mentions of removed scheduler filters 531e1e8733 db: Drop redundant indexes on instances and console_auth_tokens tables 023d2b4a9a Update nova-manage doc page 6569de43a6 add header alingment for PrettyTable 3.4.0 9fea934c71 Handle "no RAM info was set" migration case 6eed55bf55 Fix rescue volume-based instance dbfbe3804f [doc] Fix BFV Rescue trait name in microversion 646fc51732 Transport context to all threads 2dcd6d4878 Modify the command of getting serial console 4954f3a7ba Move uwsgi-gmr reno to the proper place b62c21a976 Replace "db archive" with "db archive_deleted_raws" Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 82 +- HACKING.rst | 1 + api-guide/source/accelerator-support.rst | 4 +- api-guide/source/server_concepts.rst | 2 +- api-guide/source/users.rst | 2 +- api-ref/source/flavors.inc | 9 + api-ref/source/parameters.yaml | 8 +- api-ref/source/servers-actions.inc | 5 + api-ref/source/servers.inc | 7 +- .../v2.95/server-evacuate-find-host-req.json | 4 + .../os-evacuate/v2.95/server-evacuate-req.json | 5 + .../servers/v2.94/server-action-rebuild-resp.json | 80 ++ .../servers/v2.94/server-action-rebuild.json | 15 + .../servers/v2.94/server-create-req.json | 30 + .../servers/v2.94/server-create-resp.json | 22 + .../servers/v2.94/server-update-req.json | 8 + .../servers/v2.94/server-update-resp.json | 78 ++ .../servers/v2.94/servers-details-resp.json | 88 ++ .../servers/v2.94/servers-list-resp.json | 24 + .../admin/configuration/hypervisor-hyper-v.rst | 2 +- .../secure-live-migration-with-qemu-native-tls.rst | 4 +- .../reference/libvirt-distro-support-matrix.rst | 2 +- etc/nova/nova-config-generator.conf | 1 + mypy-files.txt | 4 + nova/api/openstack/api_version_request.py | 6 +- nova/api/openstack/compute/evacuate.py | 25 +- nova/api/openstack/compute/flavor_access.py | 9 +- nova/api/openstack/compute/remote_consoles.py | 3 + .../openstack/compute/rest_api_version_history.rst | 20 +- nova/api/openstack/compute/schemas/evacuate.py | 4 + nova/api/openstack/compute/schemas/servers.py | 14 + nova/api/openstack/compute/servers.py | 11 +- nova/api/openstack/identity.py | 22 +- nova/api/openstack/wsgi_app.py | 5 +- nova/cmd/manage.py | 4 + nova/compute/api.py | 16 +- nova/compute/claims.py | 25 +- nova/compute/manager.py | 274 ++++- nova/compute/pci_placement_translator.py | 74 +- nova/compute/resource_tracker.py | 131 ++- nova/compute/rpcapi.py | 18 +- nova/compute/utils.py | 27 +- nova/compute/vm_states.py | 3 + nova/conductor/api.py | 6 +- nova/conductor/manager.py | 24 +- nova/conductor/rpcapi.py | 15 +- nova/conductor/tasks/live_migrate.py | 2 +- nova/conductor/tasks/migrate.py | 5 + nova/conf/api.py | 7 +- nova/conf/compute.py | 25 +- nova/conf/ironic.py | 1 + nova/conf/libvirt.py | 19 + nova/conf/mks.py | 2 + nova/conf/pci.py | 30 + nova/conf/scheduler.py | 21 +- nova/conf/spice.py | 53 + nova/conf/vmware.py | 5 + nova/conf/workarounds.py | 44 + ...ac0e09ea_de_duplicate_indexes_in_instances__.py | 35 + nova/db/main/models.py | 2 - nova/exception.py | 30 + nova/filesystem.py | 59 + nova/hacking/checks.py | 21 + nova/manager.py | 7 +- nova/objects/compute_node.py | 15 +- nova/objects/request_spec.py | 113 ++ nova/objects/service.py | 33 +- nova/pci/request.py | 8 +- nova/pci/stats.py | 283 ++++- nova/policies/tenant_networks.py | 4 +- nova/policy.py | 12 +- nova/rpc.py | 16 +- nova/scheduler/filters/__init__.py | 44 + nova/scheduler/filters/numa_topology_filter.py | 24 +- nova/scheduler/filters/pci_passthrough_filter.py | 23 +- nova/scheduler/host_manager.py | 34 +- nova/scheduler/manager.py | 105 +- nova/service.py | 4 +- nova/test.py | 16 + .../v2.95/server-evacuate-find-host-req.json.tpl | 5 + .../os-evacuate/v2.95/server-evacuate-req.json.tpl | 5 + .../v2.94/server-action-rebuild-resp.json.tpl | 80 ++ .../servers/v2.94/server-action-rebuild.json.tpl | 15 + .../servers/v2.94/server-create-req.json.tpl | 21 + .../servers/v2.94/server-create-resp.json.tpl | 22 + .../servers/v2.94/server-get-resp.json.tpl | 81 ++ .../servers/v2.94/server-update-req.json.tpl | 8 + .../servers/v2.94/server-update-resp.json.tpl | 78 ++ .../servers/v2.94/servers-details-resp.json.tpl | 88 ++ .../servers/v2.94/servers-list-resp.json.tpl | 24 + .../functional/compute/test_resource_tracker.py | 1 + .../functional/libvirt/test_pci_in_placement.py | 471 +++++++- .../functional/libvirt/test_pci_sriov_servers.py | 1141 +++++++++++++++++++- .../functional/regressions/test_bug_1628606.py | 60 + .../functional/regressions/test_bug_1669054.py | 3 +- .../functional/regressions/test_bug_1713783.py | 6 + .../functional/regressions/test_bug_1764883.py | 3 +- .../functional/regressions/test_bug_1823370.py | 3 +- .../functional/regressions/test_bug_1896463.py | 2 +- .../functional/regressions/test_bug_1922053.py | 6 +- .../functional/regressions/test_bug_1951656.py | 73 ++ .../functional/regressions/test_bug_1980720.py | 68 ++ .../functional/test_servers_resource_request.py | 22 +- .../unit/api/openstack/compute/test_evacuate.py | 29 + .../api/openstack/compute/test_flavor_access.py | 25 +- .../api/openstack/compute/test_remote_consoles.py | 12 + .../api/openstack/compute/test_server_groups.py | 97 +- .../unit/compute/test_pci_placement_translator.py | 87 +- .../unit/conductor/tasks/test_live_migrate.py | 2 +- .../filters/test_numa_topology_filters.py | 97 +- .../filters/test_pci_passthrough_filters.py | 113 +- nova/utils.py | 47 +- nova/virt/driver.py | 6 + nova/virt/fake.py | 37 +- nova/virt/hardware.py | 27 +- nova/virt/images.py | 31 + nova/virt/ironic/driver.py | 45 +- nova/virt/libvirt/config.py | 27 + nova/virt/libvirt/cpu/__init__.py | 22 + nova/virt/libvirt/cpu/api.py | 157 +++ nova/virt/libvirt/cpu/core.py | 78 ++ nova/virt/libvirt/driver.py | 198 +++- nova/virt/libvirt/guest.py | 7 + nova/virt/libvirt/host.py | 34 +- nova/virt/libvirt/imagebackend.py | 1 + nova/virt/libvirt/utils.py | 97 +- nova/virt/libvirt/volume/fibrechannel.py | 3 +- nova/virt/netutils.py | 9 +- nova/virt/node.py | 108 ++ playbooks/ceph/glance-copy-policy.yaml | 15 - playbooks/ceph/glance-setup.yaml | 39 + ...etworks-with-enabled-dhcp-641506f2a13b540f.yaml | 5 + ...spice-compression-support-e41676f445544e8d.yaml | 23 + ...target-state-for-evacuate-d4c1912c481973d6.yaml | 13 + .../notes/antelope-prelude-4a99907b00e739f8.yaml | 51 + ...bp-libvirt-cpu-state-mgmt-fbc9c1f9f473003c.yaml | 18 + ...ing-in-placement-antelope-082310a2b0337e0e.yaml | 8 + ...andle-no-ram-info-was-set-99784934ed80fd72.yaml | 11 + ...ce_self-add-configurables-2b2f19d238442f72.yaml | 28 + ...ce-scope-and-new-defaults-14db8c75b263b599.yaml | 23 + ...fix-ironic-scheduler-race-08cf8aba0365f512.yaml | 11 + .../notes/microversion-2-94-59649401d5763286.yaml | 22 + ...onfig-files-with-mod_wsgi-f114ea5fdd8b9a51.yaml | 14 + ...cue-volume-based-instance-c6e3fba236d90be7.yaml | 6 + .../stable-compute-uuid-08663a0955616728.yaml | 19 + ...itial-allocation-defaults-94106033b66b8fa0.yaml | 21 + .../use-compareHypervisorCPU-b75c8f097cc73556.yaml | 12 + .../notes/uwsgi-gmr-c00631db79836340.yaml | 0 releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 694 ++++++++++++ .../source/locale/fr/LC_MESSAGES/releasenotes.po | 126 +++ releasenotes/source/zed.rst | 6 + requirements.txt | 8 +- setup.cfg | 1 + tox.ini | 13 +- 261 files changed, 11845 insertions(+), 1293 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 9d523ebd7d..9954d06bc9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -45,2 +45,2 @@ oslo.rootwrap>=5.15.0 # Apache-2.0 -oslo.messaging>=10.3.0 # Apache-2.0 -oslo.policy>=3.7.0 # Apache-2.0 +oslo.messaging>=14.1.0 # Apache-2.0 +oslo.policy>=3.11.0 # Apache-2.0 @@ -56,2 +56,2 @@ os-resource-classes>=1.1.0 # Apache-2.0 -os-traits>=2.7.0 # Apache-2.0 -os-vif>=1.15.2 # Apache-2.0 +os-traits>=2.9.0 # Apache-2.0 +os-vif>=3.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org