[puppet] puppet-nova 10.5.0 (ocata)
We joyfully announce the release of: puppet-nova 10.5.0: Puppet module for OpenStack Nova This release is part of the ocata release series. Download the package from: https://tarballs.openstack.org/puppet-nova/ For more details, please see below. 10.5.0 ^^^^^^ New Features ************ * Add parameter to set notification format. Specifies which notification format shall be used by nova. * Added nova patching configuration parameters. These parameters are available in nova.conf, but are not configurable using puppet-nova. The monkey patching parameters allow patching a decorator for all functions in specified modules. This change create patch/config.pp file to make these parameters configurable. * Expose the "discover_hosts_in_cells_interval" option in the scheduler manifest. Changing this option is needed for bare metal clouds starting with the Ocata release. * The nova::api::pci_alias and nova::compute::pci_passthrough params now accept an array of hashes. A valid JSON encoded array of objects is also acceptable. Deprecation Notes ***************** * nova::api::pci_alias is deprecated by nova::pci::aliases nova::compute::pci_passthrough is deprecated by nova::compute::pci::passthrough * Invalid JSON was previously accepted for the nova::api::pci_alias and nova::compute::pci_passthrough parameters. This format is now deprecated and may not be accepted in future. Bug Fixes ********* * [pci]/alias option is now required in the nova configuration file on compute nodes too. This requires refactoring of the manifests as the parameter is common to nova::compute and nova::api. Common pci configuration is now done by the nova::pci class while compute specific configuration is done now by the nova::compute::pci class. * PCI configuration options name should be same as mentioned in nova configuration file, since these are moved to PCI section. Options affected by this change: * "pci_alias" to "alias" * "pci_passthrough_whitelist" to "passthrough_whitelist" * The configuration for libvirt/enabled_perf_events requires a comma seperated string for the value. The libvirt_enabled_perf_events parameter will now properly convert arrays being passed in to a string. LP#1690946 Changes in puppet-nova 10.4.1..10.5.0 ------------------------------------- 5679a83 Prepare for Ocata post release f4bc1f0 Run puppet-openstack-beaker-jobs 4f77d32 Switch to Zuul v3 testing eb1fafa Add parameter to set notification format 4bd704f Pass arguments as array for nova-manage provider 652c2c5 [ocata] Add Puppet package to bindep, for module build f81614b Warn when configuring dedicated database connection for placement API 29b873f Sanitize nova_manage output in provider badc922 Expose my_ip 8296615 Add pci/alias to compute manifest 005e5c8 Added nova patching configuration parameters 76cec96 Use API level filtering for nova_security_group provider 13cfe18 Fix handling of nova pci MultiStrOpt params 8b053ef Switch nova_security_rule to openstack provider f0a7f33 Switch nova_security_group to openstack provider 3a344a7 Allow creating security group rules for ICMP 22b107f Fix pci config params name as mentioned in nova conf 1f4356c Fix invalid PCI alias definition ef267d1 Expose nova::scheduler::discover_hosts_in_cells_interval option bcc5f6a Manage access project for nova flavors d92af81 Properly handle arrays for enabled_perf_events Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 7 + bindep.txt | 1 + lib/puppet/parser/functions/check_array_of_hash.rb | 27 --- .../parser/functions/to_array_of_json_strings.rb | 38 +++++ lib/puppet/provider/nova.rb | 18 ++ lib/puppet/provider/nova_cell_v2/nova_manage.rb | 12 +- lib/puppet/provider/nova_cells/nova_manage.rb | 17 +- lib/puppet/provider/nova_flavor/openstack.rb | 31 +++- lib/puppet/provider/nova_security_group/nova.rb | 37 ---- .../provider/nova_security_group/openstack.rb | 80 +++++++++ lib/puppet/provider/nova_security_rule/nova.rb | 51 ------ .../provider/nova_security_rule/openstack.rb | 122 ++++++++++++++ lib/puppet/type/nova_flavor.rb | 12 +- lib/puppet/type/nova_security_rule.rb | 37 ++-- manifests/api.pp | 21 +-- manifests/compute.pp | 32 ++-- manifests/compute/libvirt.pp | 2 +- manifests/compute/pci.pp | 31 ++++ manifests/db.pp | 7 + manifests/init.pp | 14 ++ manifests/patch/config.pp | 28 ++++ manifests/pci.pp | 31 ++++ manifests/scheduler.pp | 17 +- metadata.json | 186 ++++++++++----------- ...o-set-notification-format-861daec4cdb76e38.yaml | 5 + .../notes/add-patch-config-407a53a9bb59e86c.yaml | 6 + .../add_pci_alias_compute-a7780fa3181e7749.yaml | 13 ++ ...r_hosts_in_cells_interval-fcee1903fdaa4684.yaml | 6 + .../fix-pci-config-params-bfa54021a532c237.yaml | 9 + ...t-enabled-perf-events-fix-79be68140b4e9a81.yaml | 6 + .../notes/pci_params_format-bf62bf47585ad1cc.yaml | 11 ++ releasenotes/source/conf.py | 4 +- spec/classes/nova_api_spec.rb | 55 +++++- spec/classes/nova_compute_libvirt_spec.rb | 4 +- spec/classes/nova_compute_pci_spec.rb | 85 ++++++++++ spec/classes/nova_compute_spec.rb | 58 +++++-- spec/classes/nova_init_spec.rb | 7 + spec/classes/nova_patch_config_spec.rb | 53 ++++++ spec/classes/nova_pci_spec.rb | 84 ++++++++++ spec/classes/nova_scheduler_spec.rb | 9 + spec/type/nova_security_rule_spec.rb | 9 + .../unit/provider/nova_security_group/nova_spec.rb | 91 ---------- .../provider/nova_security_group/openstack_spec.rb | 48 ++++++ spec/unit/provider/nova_security_rule/nova_spec.rb | 48 ------ .../provider/nova_security_rule/openstack_spec.rb | 61 +++++++ 45 files changed, 1101 insertions(+), 430 deletions(-)
participants (1)
-
no-reply@openstack.org