We high-spiritedly announce the release of: puppet-nova 13.1.0: Puppet module for OpenStack Nova This release is part of the rocky release series. Download the package from: https://tarballs.openstack.org/puppet-nova/ For more details, please see below. 13.1.0 ^^^^^^ New Features ************ * Add support for configuring "cpu_weight_multiplier" config option, which can be used to spread or stack workfloads on hosts based on their vCPU usage. * The libvirt driver now allows specifying individual CPU feature flags for guest, via a new configuration parameter "[libvirt]/cpu_model_extra_flags" -- this is valid in combination with all the three possible values for "[libvirt]/cpu_mode": "custom", "host-model" and "host-passthrough". The "cpu_model_extra_flags" allows specifying multiple CPU flags. The recent "Meltdown" CVE fixes have resulted in critical performance penalty which impacts every Nova guest within certain CPU models. More info is available in nova release notes (https://docs.openstack.org/releasenotes/nova/queens.html#bug- fixes). * Now puppet ensures that the nova-placement-api package is properly installed and that the service is running when running using Debian package. * Add support for configuring rx/tx queue sizes Adds support for configuring the rx_queue_size and tx_queue_size options in the QEMU virtio-net driver by way of nova.conf. Only supported for vhost/vhostuser interfaces. Currently, valid values for the ring buffer sizes are 256, 512, and 1024. Adjustable RX queue sizes requires QEMU 2.7.0, and libvirt 2.3.0 (or newer) Adjustable TX queue sizes requires QEMU 2.10.0, and libvirt 3.7.0 (or newer) Upgrade Notes ************* * The deprecated parameter nova::api::conductor_workers is removed. Please use nova::conductor::workers instead. * The deprecated parameter nova::api::osapi_max_limit is removed. Please use nova::api::max_limit instead. * The deprecated parameter nova::api::osapi_compute_link_prefix is removed. Please use nova::api::compute_link_prefix instead. * The deprecated parameter nova::api::osapi_glance_link_prefix is removed. Please use nova::api::glance_link_prefix instead. * The deprecated parameter nova::api::osapi_hide_server_address_states is removed. Please use nova::api::hide_server_address_states instead. * The deprecated parameter nova::api::default_floating_pool is removed. Please use nova::network::neutron::default_floating_pool instead. * The deprecated parameter nova::api::pci_alias is removed. Please use the nova::pci class instead and set the nova::pci::aliases parameter. * The deprecated parameter nova::migration::libvirt::use_tls is removed. Please set nova::migration::libvirt::transport to 'tls' instead if you had this option. * The deprecated class nova::cell_v2::cell is now removed. Please use the nova_cell_v2 resource type instead of using this class. * The deprecated nova::rabbit_host, nova::rabbit_hosts, nova::rabbit_password, nova::rabbit_port, nova::rabbit_userid and nova::rabbit_virtual_host is removed. Please use the nova::default_transport_url instead. * The deprecated nova::rpc_backend is removed. * The deprecated nova::metadata::novajoin::api::nova_user and nova::metadata::novajoin::api::nova_password is removed. Please use the nova::metadata::novajoin::api::service_user and nova::metadata::novajoin::api::service_password instead. Deprecation Notes ***************** * nova::keystone::authtoken::auth_uri is deprecated and will be removed in a future release. Please use www_authenticate_uri instead. * nova::metadata::novajoin::authtoken::auth_uri is deprecated and will be removed in a future release. Please use www_authenticate_uri instead. * The nova scheduler baremetal Exact* filters and ironic host_manager have now been removed. As a result the following parameters are now deprecated and have no effect: "nova::scheduler::filter::baremetal_scheduler_default_filter" "nova::scheduler::filter::scheduler_use_baremetal_filters" "nova::scheduler::filter::scheduler_host_manager" Baremetal scheduling will use the custom resource class defined for each baremetal node to make its selection. Refer to the ironic documentation for more details: https://docs.openstack.org/ironic/latest/install/configure-nova- flavors.html#scheduling-resource-classes Bug Fixes ********* * Fix live_migration_inbound_addr when used with non-default port/user/extra_params live_migration_scheme was being used when live_migration_inbound_addr was set. This prohibits a non-default port/user/extra_params being used which is often required to fully describe the uri, particularly for the ssh transport (see https://bugs.launchpad.net/nova/+bug/1671288). However live_migration_inbound_addr also works with live_migration_uri, so for now revert back to using live_migration_uri in all cases. Changes in puppet-nova 13.0.0..13.1.0 ------------------------------------- 7b0c2cf Prepare a new Rocky release c0569b5 Expost cpu_weight_mulitiplier config parameter c3e5c74 Remove deprecated parameters and classes a1ee3a0 Lift restriction of choices for 'cpu_model_extra_flags' 03f27ab Remove dependency on sysctl puppet module 3b69d99 Fix libvirtd option 0486a25 neat: missing : in $::os_service_default 2c1a495 Debian is using Python 3 for the client adbcfd7 Fix placement URL 1770921 Remove ironic_host_manager usage 4c5a623 Fix bug in placement and add tests a7a132c Remove references to Exact* filters 0a9202d Expose rx/tx_queue_size 83d12fd Debian: make placement-api run on uwsgi d7b85da Allow live_migration_inbound_addr to be used with non-default port/user/extra_params 240f255 Missing deps for config.pp unit test c12e358 Handle libvirt/cpu_model_extra_flags option 69d90c6 Trivial-Fix: fix typos 72a90b2 Remove fallback on removed setup_cell0 deprecation 20d93c4 Deprecate auth_uri option 7fb775c fix a typo Diffstat (except docs and test files) ------------------------------------- lib/puppet/provider/nova.rb | 4 +- lib/puppet/type/nova_aggregate.rb | 2 +- lib/puppet/type/nova_flavor.rb | 2 +- lib/puppet/type/nova_network.rb | 2 +- manifests/api.pp | 100 +------- manifests/cell_v2/cell.pp | 33 --- manifests/client.pp | 2 + manifests/compute/libvirt.pp | 43 ++++ manifests/compute/vmware.pp | 2 +- manifests/compute/xenserver.pp | 2 +- manifests/db/mysql.pp | 4 +- manifests/deps.pp | 5 +- manifests/init.pp | 60 +---- manifests/ironic/common.pp | 19 -- manifests/keystone/auth_placement.pp | 8 +- manifests/keystone/authtoken.pp | 21 +- manifests/metadata/novajoin/api.pp | 34 +-- manifests/metadata/novajoin/authtoken.pp | 21 +- manifests/migration/libvirt.pp | 40 +-- manifests/params.pp | 14 ++ manifests/pci.pp | 12 +- manifests/placement.pp | 48 +++- manifests/scheduler.pp | 2 +- manifests/scheduler/filter.pp | 59 +++-- manifests/wsgi/apache_placement.pp | 4 +- metadata.json | 18 +- .../notes/add-cpu-weigher-49b610ff9a57695e.yaml | 6 + ...recate_auth_uri_parameter-82edf8271e3c276f.yaml | 6 + .../notes/extra_cpu_flags-2de6915770ac9514.yaml | 14 ++ ..._inbound_addr_with_params-3529d460d5047c80.yaml | 12 + ...lacement-package-handling-e7870bfe4132782f.yaml | 6 + .../nova-remove-deprecated-fa7d74be4fe4dcf9.yaml | 40 +++ .../remove_baremetal_filters-1205c7259536c7bc.yaml | 17 ++ .../notes/rx_tx_queue_size-80a24b35907e4f5e.yaml | 9 + spec/classes/nova_api_spec.rb | 64 +---- spec/classes/nova_compute_libvirt_spec.rb | 29 ++- spec/classes/nova_config_spec.rb | 2 + spec/classes/nova_init_spec.rb | 75 +----- spec/classes/nova_keystone_auth_placement_spec.rb | 280 ++++++++++++--------- spec/classes/nova_keystone_authtoken_spec.rb | 6 +- .../nova_metadata_novajoin_authtoken_spec.rb | 6 +- spec/classes/nova_migration_libvirt_spec.rb | 21 +- spec/classes/nova_placement_spec.rb | 44 ++++ spec/classes/nova_scheduler_filter_spec.rb | 26 +- spec/defines/nova_cell_v2_cell_spec.rb | 31 --- .../provider/nova_config/openstackconfig_spec.rb | 2 +- spec/unit/provider/nova_network/nova_spec.rb | 4 +- spec/unit/provider/nova_spec.rb | 10 +- 48 files changed, 597 insertions(+), 674 deletions(-)