We are tickled pink to announce the release of: puppet-nova 13.0.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.0.0 ^^^^^^ New Features ************ * Adds the pool_timeout option for configuring oslo.db. This will configure this value for pool_timeout with SQLAlchemy. * OpenStack Nova in Rocky has the ability of also purging the shadow data. This patch enables the cron configuration of this parameter for the archive rows Cron and adds an additional Cron to run the purge of the shadow tables without running the archive task. * Add the ability to set reserved_huge_pages on nova-computes via a string or a list of strings. * This patch will add a new parameter (age) to define a retention policy when purging the Nova shadow tables. Also will add the parameter all_cells (defaulted to false) to run the purge command over the cells tables. * Add openstack-db tag to Exec that run db-sync. Deprecation Notes ***************** * nova::notify_api_faults is deprecated and will be removed in a future release. Please use nova::notify_on_api_faults instead. * os_region_name is deprecated and will be removed in a future release. Please region_name instead. Bug Fixes ********* * Fix the default values to saner ones, this is because operators might run both the archive and the purge cron jobs. The defaults will make the purge job to run each day at 5 hours but the retention policy parameter will retain the data for 14 days. Changes in puppet-nova 12.3.0..13.0.0 ------------------------------------- 4e3ee87 Prepare Rocky M1 0b05b89 trivial: fix a comment typo 6bdc85b Update .gitignore 8704768 Debian is using Python 3 150bff4 Fix novajoin FreeIPA server parameter b8e0b4a Deprecate os_region_name option 4261729 Update LICENSE e9aa809 Deprecate notify_api_faults for notify_on_api_faults 285554b Add a retention policy (age) when purging shadow tables 20925e2 fix typos in documentation dd9c187 Add pool_timeout option d7a6b42 Expose reserved_huge_pages param 03d2dec oslo middleware: check puppet resource instead of actual config in spec 919fc81 Support --purge in Nova cleanup crons. 3ad015b Add oslo::cache to dependency chain 277c4c9 novajoin: Optionally configure kerberos 4c34d86 Add the option to only aggregate hosts that are known by openstack to be active 45b3c8c Add 'openstack-db' tag to db-sync Exec resource f153e30 Follow the new PTI for document build a917bc8 Update reno for stable/queens Diffstat (except docs and test files) ------------------------------------- .gitignore | 3 +- CHANGELOG.md | 2 +- LICENSE | 183 +++++++++++++++++++-- lib/facter/ipa_hostname.rb | 8 + lib/puppet/provider/nova_aggregate/openstack.rb | 34 ++-- lib/puppet/type/nova_aggregate.rb | 11 ++ manifests/compute.pp | 18 ++ manifests/cron/archive_deleted_rows.pp | 39 ++++- manifests/cron/purge_shadow_tables.pp | 102 ++++++++++++ manifests/db.pp | 6 + manifests/db/sync.pp | 1 + manifests/db/sync_api.pp | 1 + manifests/deps.pp | 4 + manifests/init.pp | 19 ++- manifests/metadata/novajoin/api.pp | 37 ++++- manifests/params.pp | 7 + manifests/placement.pp | 22 ++- metadata.json | 14 +- ...ool_timeout-option-for-db-a9c5bbeb7d243d5d.yaml | 5 + .../notes/add-purge-to-cron-9b7c80e3e915fb4f.yaml | 10 ++ .../add_reserved_huge_pages-883f6feb4e274814.yaml | 5 + ...-all-for-retention-policy-ff352f29c129844f.yaml | 14 ++ ...tify_api_faults_parameter-f4110213f28e8596.yaml | 4 + ..._os_region_name_parameter-a12b9e7b5d8cee38.yaml | 4 + .../notes/openstack_db_tag-b26aeeb1ec92e5a0.yaml | 3 + releasenotes/source/index.rst | 1 + releasenotes/source/queens.rst | 6 + spec/acceptance/nova_wsgi_apache_spec.rb | 2 +- spec/classes/nova_api_spec.rb | 8 +- spec/classes/nova_client_spec.rb | 14 ++ spec/classes/nova_compute_libvirt_qemu_spec.rb | 2 +- spec/classes/nova_compute_spec.rb | 27 +++ spec/classes/nova_conductor_spec.rb | 2 +- .../classes/nova_cron_archive_deleted_rows_spec.rb | 153 +++++++++++------ spec/classes/nova_cron_purge_shadow_tables.rb | 102 ++++++++++++ spec/classes/nova_db_spec.rb | 4 +- spec/classes/nova_db_sync_api_spec.rb | 3 + spec/classes/nova_db_sync_spec.rb | 3 + spec/classes/nova_init_spec.rb | 17 +- spec/classes/nova_metadata_novajoin_api_spec.rb | 14 +- spec/classes/nova_migration_qemu_spec.rb | 2 +- spec/classes/nova_placement_spec.rb | 8 +- .../unit/provider/nova_aggregate/openstack_spec.rb | 101 ++++++++++++ spec/unit/type/nova_aggregate_spec.rb | 9 + templates/krb5.conf.erb | 19 +++ test-requirements.txt | 6 - tox.ini | 2 +- 48 files changed, 951 insertions(+), 116 deletions(-)