We exuberantly announce the release of: puppet-nova 12.5.0: Puppet module for OpenStack Nova This release is part of the queens stable release series. The source is available from: https://opendev.org/openstack/puppet-nova Download the package from: https://tarballs.openstack.org/puppet-nova/ Please report issues through: https://bugs.launchpad.net/puppet-nova/+bugs For more details, please see below. 12.5.0 ^^^^^^ New Features ************ * Added parameters nova::ssl_only, nova::cert, nova::key to manage SSL options for VNC. * Add the ability to set reserved_huge_pages on nova-computes via a string or a list of strings. * The nova_aggregate resource type can now unset aggregate metadata. [Bug 1776772 (https://bugs.launchpad.net/puppet-nova/+bug/1776772)] * Adds nova::compute::libvirt_guests to manage /etc/sysconfig/libvirt- guests to configure libvirt-guests for compute reboot and handle running instance properly. * This allows for specifying granular CPU feature flags, when specifying CPU models. It should be set only if "cpu_mode" and "cpu_model" conf parameter are set and "cpu_mode" parameter value is set to "custom". 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). * Adds log_filters parameter to nova::compute::libvirt. Defines a filter to select a different logging level for a given category log outputs, as specified in https://libvirt.org/logging.html . Default undef * Add tls_priority parameter to nova::compute::libvirt class to override the compile time default TLS priority string. The default is usually "NORMAL" unless overridden at build time. Only set this if it is desired for libvirt to deviate from the global default settings. * Add parameter *mem_stats_period_seconds* to specify number of seconds to memory usage statistics period, zero or negative value mean to disable memory usage statistics. * The libvirt driver allows passing different mount options to the nfs client. "[libvirt]/nfs_mount_options", defaulting to <None>. * Add openstack-db tag to Exec that run db-sync. * Exposes the devices/enabled_vgpu_types config option for vgpu support. More information in the nova vgpu documentation (https://docs.openstack.org/nova/latest/admin/virtual-gpu.html). * Add support for libvirt volume_use_multipath the ability to use multipath connection of the iSCSI or FC volume. Volumes can be connected in the LibVirt as multipath devices. Adds new parameter "nova::compute::libvirt::volume_use_multipath" Upgrade Notes ************* * Add support to enable/disable live-migration for NUMA topology instances Add configuration parameter *workarounds/enable_numa_live_migration* (defaults to false) which allows to enable/disable live-migration for NUMA topology instances. Deprecation Notes ***************** * The image_service parameter is deprecated, as we are already using python-glanceclient instead of old glance client. * nova::notify_api_faults is deprecated and will be removed in a future release. Please use nova::notify_on_api_faults instead. * The "notify_on_api_faults" parameter is deprecated as it is also removed from nova config options in change "https://review.openstack.org/#/c/505164". Bug Fixes ********* * Add cinder credentials in cinder section of nova conf to fix issue when reclaim_instance_interval > 0 and delete instance which booted from volume 'delete_on_termination' set as true. The volume status showing attached and in-use, even after instance deletion, since the admin context didn't have any token info hence call to cinder api failed. In case when context is is_admin and without token,added cinder creds used to do authentication with user/project info to call cinder api. [Bug 1734025 (https://bugs.launchpad.net/nova/+bug/1734025)] * 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 12.4.0..12.5.0 ------------------------------------- f1b23d07 Prepare 12.5.0 (queens) 4120d79e Adds tls_priority parameter to nova::compute::libvirt 78e70e16 Adds log_filters parameter to nova::compute::libvirt 88cff385 Add functionality to manage /etc/sysconfig/libvirt-guests dde32ec4 Expose 'mem_stats_period_seconds' config parameter bb9517e5 Adds functionality to modudify the nfs clients mount options cc137c90 Add cinder credentials in nova conf 1fea9728 OpenDev Migration Patch 1ee84054 Include nova::availability_zone in scheduler.pp 7feceeba Fail to live migration if instance has NUMA topology c43691a5 Expose devices/enabled_vgpu_types config option 8aa9ba43 Support for libvirt volume multipath 086a2bfe Fixup functions for 5.5.7+ 677f5729 Deprecate unused notify_on_api_faults parameter aa6fb68a Add 'openstack-db' tag to db-sync Exec resource 5a573631 Deprecate notify_api_faults for notify_on_api_faults 5d253203 Deprecate unused image_service parameter 7c19259c Remove unused osapi_volume_listen parameter 0a9779e3 import zuul job settings from project-config 6ce16cdc Update Gemfile to pull spec_helper from stable/queens 461dbc32 Add sleep in nova cron jobs 882066e8 Make providers use auth_url for authentication 1f4211fe Add VNC SSL options b5284f18 Add aggregate metadata unset support to nova_aggregate b308caef Allow live_migration_inbound_addr to be used with non-default port/user/extra_params 33bb6cca Expose reserved_huge_pages param 95ca7cdb Handle libvirt/cpu_model_extra_flags option a054a180 Add the option to only aggregate hosts that are known by openstack to be active Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 1 + Gemfile | 1 + README.md | 7 +- .../parser/functions/to_array_of_json_strings.rb | 10 +- lib/puppet/provider/nova.rb | 4 +- lib/puppet/provider/nova_aggregate/openstack.rb | 49 ++++++---- lib/puppet/type/nova_aggregate.rb | 13 ++- lib/puppet/type/nova_flavor.rb | 3 +- manifests/api.pp | 1 - manifests/cinder.pp | 78 ++++++++++++++++ manifests/compute.pp | 19 ++++ manifests/compute/libvirt.pp | 86 +++++++++++++++--- manifests/compute/libvirt_guests.pp | 97 ++++++++++++++++++++ manifests/compute/vgpu.pp | 20 ++++ manifests/conductor.pp | 1 + manifests/cron/archive_deleted_rows.pp | 16 +++- manifests/db/sync.pp | 1 + manifests/db/sync_api.pp | 1 + manifests/init.pp | 68 ++++++++++---- manifests/migration/libvirt.pp | 14 +-- manifests/params.pp | 2 + manifests/scheduler.pp | 1 + manifests/workarounds.pp | 20 ++++ metadata.json | 4 +- .../notes/add-cinder-creds-91a50b74c8bdb541.yaml | 12 +++ .../add-nova-vnc-ssl-params-691909b8a2f2e18e.yaml | 5 + .../add_reserved_huge_pages-883f6feb4e274814.yaml | 5 + .../aggregate-unset-support-445c9a3794ca33d6.yaml | 5 + .../compute-libvirt-guests-b51fdee7cf4d0289.yaml | 7 ++ .../deprecate_image_service-3e54aa3283b3191c.yaml | 5 + ...tify_api_faults_parameter-f4110213f28e8596.yaml | 4 + ...cate_notify_on_api_faults-c7eb47adc3c92671.yaml | 6 ++ ...-live-migration-with-numa-66145efd46bdd146.yaml | 9 ++ .../notes/extra_cpu_flags-2de6915770ac9514.yaml | 12 +++ .../libvirtd_log_filters-22e461e00f482d69.yaml | 7 ++ .../libvirtd_tls_priority-1e66515aa1da7977.yaml | 8 ++ ..._inbound_addr_with_params-3529d460d5047c80.yaml | 12 +++ ..._mem_stats_period_seconds-679de08855e07254.yaml | 6 ++ ...nfs_mount_options_support-97b15b09475b5b21.yaml | 6 ++ .../notes/openstack_db_tag-b26aeeb1ec92e5a0.yaml | 3 + .../notes/vgpu_devices-4441729018e59ee1.yaml | 5 + ...se_multipath-for-libvirt--a8e93a0bb83e0bc8.yaml | 7 ++ spec/classes/nova_api_spec.rb | 2 - spec/classes/nova_cinder_spec.rb | 59 ++++++++++++ spec/classes/nova_compute_libvirt_guests_spec.rb | 75 +++++++++++++++ spec/classes/nova_compute_libvirt_spec.rb | 33 ++++++- spec/classes/nova_compute_spec.rb | 27 ++++++ spec/classes/nova_compute_vgpu_spec.rb | 51 +++++++++++ .../classes/nova_cron_archive_deleted_rows_spec.rb | 22 +++++ spec/classes/nova_db_sync_api_spec.rb | 3 + spec/classes/nova_db_sync_spec.rb | 3 + spec/classes/nova_init_spec.rb | 24 +++-- spec/classes/nova_migration_libvirt_spec.rb | 11 +-- spec/classes/nova_workarounds_spec.rb | 36 ++++++++ .../unit/provider/nova_aggregate/openstack_spec.rb | 101 +++++++++++++++++++++ spec/unit/provider/nova_spec.rb | 2 +- spec/unit/type/nova_aggregate_spec.rb | 9 ++ 58 files changed, 995 insertions(+), 106 deletions(-)
participants (1)
-
no-reply@openstack.org