[new][puppet] puppet-glance 9.0.0 release (newton)
We are glad to announce the release of: puppet-glance 9.0.0: Puppet module for OpenStack Glance This release is part of the newton release series. For more details, please see below. 9.0.0 ^^^^^ This is the first Mitaka release for puppet-glance module. New Features ************ * Add the ability to create an image with a id specified by the user. The provider now accepts id parameter to create the image. * Add the ability to manage properties for an image using the glance_image provider. The provider now accepts a key value hash for properties. * Create glance::cache::logging class that follow the same pattern as other modules. * Introduce glance::api::db and glance::registry::db classes to follow other modules. They aim to configure database connection for Glance API and Glance Registry. * Introduce glance::glare service. Glance V3 experimental API has been removed in Mitaka in favour of standalone Glance Artifacts Repository (GLARE) API. * Normalize registry_host if IPv6 by adding brackets if not there. * Implement multiple store configuration. It moves the default_store config option to the glance::api class, and makes it possible to configure more than one store while supplying a value for the default store to be used. If only one store is given for glance_store/stores, the default store is automatically set to be the same value. If multiple stores are given and no default store is explicitly set, the config will fail and ask the user to provide a default store. * Support of PyMySQL driver for MySQL backend. * Allow to configure Glance API to communicate with Glance Registry using SSL. * Configure database, logging and policy parameters for api, registry and glare services from oslo defines. * Use oslo module for messaging (rabbit) configuration. Messaging related parameters were switched to $::os_service_default. Docs string for parameter were updated according to oslo module. * Release notes are no longer maintained by hand, we now use the reno tool to manage them. Upgrade Notes ************* * vmware_api_insecure deprecated, use vmware_insecure vmware_datacenter_path and vmware_datastore_name deprecated, use vmware_datastores * Glance users who wish to configure the Swift backend can make use of swift_store_auth_project_domain_id and swift_store_auth_user_domain_id to configure the required keystone domain settings. * Before, when Glance was configured with Swift backend, credentials were stored in database. It caused issues when credentials change, old images are not usable anymore. Glance and Glance store projects implemented a way to use separated sections for credentials without storing them in database. The puppet-glance module is now using this new method, also Glance Cache configuration does not have Swift parameters anymore, so we deleted them. Deprecation Notes ***************** * Remove usage of keystone::python class, that is deprecated. * Deprecate known_stores parameter in favor of stores. * Change default value for service_name in glance::keystone::auth class. If Glance Service name is not set to "Image Service", a warning will be sent. The default value changed to match with https ://github.com/openstack/keystone/blob/master/etc/default_catalog.te mplates * Remove deprecated cluster_id parameter. * Use identity_uri and auth_uri by default and remove old deprecated auth parameters. * Remove QPID messaging support. Qpid messaging driver is removed from oslo.messaging so we won't support anymore. * verbose option is now deprecated for removal, the parameter has no effect. Bug Fixes ********* * Previously glance swift authentication would work only with keystone auth <= 2. This fix allows you to properly configured the (required) keystone domains for keystone v3 authentication. Other Notes *********** * Drop all Qpid support, it was removed from Oslo in Mitaka. * Removed deprecated options for glance::keystone::auth class. * Remove all Puppet resources that manage Users, Groups, and File modes because upstream packaging already manages them. Changes in puppet-glance 8.0.0b1..9.0.0 --------------------------------------- 9b40961 Cleanup README 1c1dd86 Remove deprecated keystone::auth options 35bdf06 Change wiki to docs ad28f8e Prepare 9.0.0 release dbb86cf Correction configuration due with the new parameters 3079b7c Add option id to glance_image 1328118 Add other-requirements.txt for bindep cf604fc Deprecate verbose option in logging 283e33c Add support for db_max_retries param 0cf9a7a acceptance: ignore CLI warnings d70f4c5 Remove docs duplication for notification_driver af8da24 Totally drop Qpid support 558fa4d Configure oslo related parameters using puppet-oslo module 51c2793 Use oslo module for messaging (rabbit) configuration aa2c4c9 Fix the purge_config option for api and registry 109cda8 Fix image list in glance_image provider 31c15ae acceptance: drop dependency cycles tests e6f19c9 Release notes for glance_image updates 037545f Switch glance to os_service_default facts d0957fb Add ability to set properties with glance_image a1fbd1a Implement ability to pass CA bundle certificate for vCenter server 006c32a Add options to set swift auth domains a7b78a3 Gemfile: rely on puppet-openstack_spec_helper for dependencies ea0c4d5 Add posibility to configure Glance backend settings for Glare service 5628f7c Import release notes from stable/mitaka a2fe124 Add missed glare_config options for glance::config class 6a748ce Release 8.0.0 e0b34f4 Configure endpoint for Glance Glare da8a3aa Add Glance Glare API service 5eacf1c Update stores option's example value d68f251 releasenotes: add notes for Mitaka cycle 7695d6d Add basic structure for ReNo 7bf43b2 api: allow ssl communications with registry 7d1c73b spec: Add Unit Tests for glance paste_ini types/providers ef344c3 Add glance multi/single store declaration examples 637f986 Remove POSIX users, groups, and file modes. 22231b2 Implement multiple store configuration Diffstat (except docs and test files) ------------------------------------- .gitignore | 4 + CHANGELOG.md | 5 + Gemfile | 23 +- README.md | 24 +- examples/glance_multi_store.pp | 25 ++ examples/glance_single_store.pp | 18 ++ .../provider/glance_glare_config/ini_setting.rb | 10 + .../provider/glance_glare_paste_ini/ini_setting.rb | 10 + lib/puppet/provider/glance_image/openstack.rb | 94 +++---- lib/puppet/type/glance_glare_config.rb | 57 ++++ lib/puppet/type/glance_glare_paste_ini.rb | 56 ++++ lib/puppet/type/glance_image.rb | 37 ++- manifests/api.pp | 276 +++++++++++-------- manifests/api/db.pp | 49 +--- manifests/api/logging.pp | 237 +++++------------ manifests/backend/cinder.pp | 74 +++--- manifests/backend/file.pp | 28 +- manifests/backend/rbd.pp | 48 +++- manifests/backend/s3.pp | 85 ++++-- manifests/backend/swift.pp | 68 ++++- manifests/backend/vsphere.pp | 137 ++++++++-- manifests/cache/logging.pp | 62 ++--- manifests/config.pp | 12 + manifests/glare.pp | 262 ++++++++++++++++++ manifests/glare/db.pp | 59 +++++ manifests/glare/logging.pp | 144 ++++++++++ manifests/init.pp | 7 - manifests/keystone/auth.pp | 109 +------- manifests/keystone/glare_auth.pp | 104 ++++++++ manifests/notify/qpid.pp | 36 --- manifests/notify/rabbitmq.pp | 225 +++++++--------- manifests/params.pp | 8 +- manifests/policy.pp | 2 + manifests/registry.pp | 82 ++---- manifests/registry/db.pp | 56 ++-- manifests/registry/logging.pp | 237 +++++------------ metadata.json | 7 +- other-requirements.txt | 0 ...sphere_backend_parameters-8d798bd64b750911.yaml | 5 + releasenotes/notes/drop_qpid-422ed20407bf9e03.yaml | 3 + .../notes/glance-image-id-d1a32b5ec443611e.yaml | 5 + .../glance-image-properties-0de5fee2391c9983.yaml | 5 + .../notes/glance-swift-v3-572d506977688377.yaml | 11 + .../glance_cache_logging-1f53fc9d71d04686.yaml | 3 + .../notes/glance_db_class-dee87f87e25d0040.yaml | 4 + .../glance_glare_service-2cd8231e1e7d097b.yaml | 5 + .../notes/ipv6_registry-95b934a99a6f2639.yaml | 3 + .../keystone_python_depr-80fa804d9cd242c5.yaml | 3 + releasenotes/notes/mitaka-dece9d43a565e6cb.yaml | 3 + .../notes/multi_store-d53d0e440b55e9d6.yaml | 13 + .../notes/new_service_name-307a5803a248d2a3.yaml | 6 + releasenotes/notes/pymysql-e57bf1f0289dd426.yaml | 3 + .../notes/registry_ssl-eed9bdc67c795cde.yaml | 3 + .../notes/remove_cluster_id-da63a8f698b27cec.yaml | 3 + ...ted_keystone_auth_options-bec5bba5a8e22d16.yaml | 3 + .../notes/remove_old_auth-d9fc4af8e2ced291.yaml | 3 + .../notes/remove_posix-d1f775df21874348.yaml | 4 + .../notes/remove_qpid-0b446db43fdea617.yaml | 5 + ...switch_to_oslo_everywhere-01030871f9549110.yaml | 4 + .../switch_to_oslo_messaging-cb63828d88821378.yaml | 5 + .../notes/update_swift-52dfa8715cddbe91.yaml | 7 + releasenotes/notes/use-reno-1caaec4ba5aa4285.yaml | 4 + .../verbose-deprecation-bf94328c56f7a944.yaml | 4 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/conf.py | 259 ++++++++++++++++++ releasenotes/source/index.rst | 19 ++ releasenotes/source/mitaka.rst | 6 + releasenotes/source/unreleased.rst | 5 + setup.cfg | 13 + setup.py | 22 ++ spec/acceptance/basic_glance_spec.rb | 48 ++-- spec/acceptance/glance_config_spec.rb | 33 +++ spec/classes/glance_api_db_spec.rb | 10 +- spec/classes/glance_api_logging_spec.rb | 18 +- spec/classes/glance_api_spec.rb | 100 +++++-- spec/classes/glance_backend_cinder_spec.rb | 38 ++- spec/classes/glance_backend_file_spec.rb | 11 +- spec/classes/glance_backend_rbd_spec.rb | 26 +- spec/classes/glance_backend_s3_spec.rb | 40 ++- spec/classes/glance_backend_swift_spec.rb | 34 ++- spec/classes/glance_backend_vsphere_spec.rb | 39 ++- spec/classes/glance_cache_logging_spec.rb | 8 +- spec/classes/glance_config_spec.rb | 95 +++++++ spec/classes/glance_glare_db_spec.rb | 95 +++++++ spec/classes/glance_glare_logging_spec.rb | 138 ++++++++++ spec/classes/glance_glare_spec.rb | 295 +++++++++++++++++++++ spec/classes/glance_keystone_auth_spec.rb | 25 -- spec/classes/glance_keystone_glare_auth_spec.rb | 172 ++++++++++++ spec/classes/glance_notify_rabbitmq_spec.rb | 160 ++++++----- spec/classes/glance_registry_db_spec.rb | 15 +- spec/classes/glance_registry_logging_spec.rb | 16 +- spec/classes/glance_registry_spec.rb | 40 ++- spec/classes/glance_spec.rb | 6 - .../glance_api_paste_ini/ini_setting_spec.rb | 63 +++++ .../glance_glare_config/ini_setting_spec.rb | 71 +++++ .../glance_glare_paste_ini/ini_setting_spec.rb | 63 +++++ spec/unit/provider/glance_image_spec.rb | 207 +++++++++++++-- .../glance_registry_paste_ini/ini_setting_spec.rb | 63 +++++ spec/unit/type/glance_api_paste_ini_spec.rb | 87 ++++++ spec/unit/type/glance_glare_config_spec.rb | 41 +++ spec/unit/type/glance_glare_paste_ini_spec.rb | 87 ++++++ spec/unit/type/glance_registry_paste_ini_spec.rb | 87 ++++++ test-requirements.txt | 4 + tox.ini | 8 + 107 files changed, 4099 insertions(+), 1367 deletions(-) Requirements updates -------------------- diff --git a/other-requirements.txt b/other-requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 0000000..bedd666 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,4 @@ +# this is required for the docs build jobs +sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 +oslosphinx>=2.5.0 # Apache-2.0 +reno>=0.1.1 # Apache-2.0
participants (1)
-
no-reply@openstack.org