* Update puppet-glance from branch 'master'
to fb29ff5f38de801438df46949fdd6680ef815f19
- Deprecate support for VMWare Datastore store driver
... because the driver was deprecated during this cycle.
Depends-on: https://review.opendev.org/c/openstack/glance_store/+/893696
Change-Id: If99070067380a1711fb2cef4bcb090540c1ee456
* Update puppet-glance from branch 'master'
to 6966c7de68932f7cd86f84469344d0f8b99cf35b
- Merge "Add support for image_cache_driver option"
- Add support for image_cache_driver option
... so that users can select non-default drivers such as centralized_db
driver.
Change-Id: I8d9d9161b46c47d09c31baff2f732a532640f208
* Update puppet-glance from branch 'master'
to 8e4ccdfe04497b265e6cbc3a605e82b6a616e285
- Merge "Refactor resource dependencies"
- Refactor resource dependencies
This refactors resource dependencies to improve the following points.
- Avoid unnecessary dependencies across services. For example aodh
service does not require cinder db.
- Restart only api service when config files like paste.ini, which
are used only be api service is changed.
Change-Id: I6a4c65e81b97235d0ce8a142245927c92ab6e48d
* Update puppet-glance from branch 'master'
to f554f00d12b641456b67c7881f4010abf836330a
- Merge "Deprecate support for delayed_delete option"
- Deprecate support for delayed_delete option
... because this option was deprecated as part of deprecation of
glance-scrubber.
Depends-on: https://review.opendev.org/910042
Change-Id: I9862d999025dd63dcbac4f33faeaad4fa6c1ada9
* Update puppet-glance from branch 'master'
to a57ea001927d6de4ef902fda298322b6b42a555f
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I33742bd4fb787bda7bb150e69a1a475db106fd21
* Update puppet-glance from branch 'master'
to 0dcda53bb3bf30d0cc5ddc0df916d83ed26f92d7
- Merge "Deprecate support for [DEFAULT] location_strategy"
- Deprecate support for [DEFAULT] location_strategy
... because the option was deprecated in glance.
Depneds-on: https://review.opendev.org/c/openstack/glance/+/906317
Change-Id: I44a7ecf52972c88f1ca6b41236f4757e0fcff3f8
* Update puppet-glance from branch 'master'
to 9d3a285e19ee7a2d07c561f38faf5fff45b933e0
- Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I11a2d23fb6f28ec619501e19ef6e7579d6659036
* Update puppet-glance from branch 'master'
to be0ca56798db6c8135c46dfe7e5929814ca8b0de
- Merge "rbd: Update description of rados_connect_timeout"
- rbd: Update description of rados_connect_timeout
Glance treats rados_connect_timeout=-1 differently now. Let's remove
the description about its old behavior and avoid documenting details
in the module parameter descriptions to reduce our future maintenance
effort.
Depends-on: https://review.opendev.org/894514
Change-Id: If4c711ca7b8c9a5167ee48e902811e8353a1fba0
* Update puppet-glance from branch 'master'
to 4a3666c103eba2844170befc1464c49542a0979c
- Merge "Support image property protections configuration"
- Support image property protections configuration
This allows users to configure the image property protections
feature[1] using this module.
[1] https://docs.openstack.org/glance/latest/admin/property-protections.html
Closes-Bug: 2036732
Change-Id: I3b985b2b280e6d2b678078f4430db02dccca657c
* Update puppet-glance from branch 'master'
to daf01a83baa78e2e1608d11c701c977611826ebc
- Merge "Fix wrong config file name described in type description"
- Fix wrong config file name described in type description
Trivial-Fix
Change-Id: I3ce5f8cec7852dbb8124d52df7ef2c429f4a0152
* Update puppet-glance from branch 'master'
to e57897e8436b2c33fe99d14c24208c05ac630fdc
- Merge "glance_image: Enforce correct type for properties"
- glance_image: Enforce correct type for properties
This property supports only strings or hashes.
Change-Id: Icf25ce9e2d76c726d3299eb3b5833b3bb3dfc4f0
* Update puppet-glance from branch 'master'
to 6c161ee7f8f0a4279a22ab708313edc21a25ce15
- Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.
Also, glanceclient is not required by glance itself so the support
package tag can be removed.
Depends-on: https://review.opendev.org/899594
Change-Id: I50f0775a2f20b9b4f3aca51840cb4ab48ab14120
* Update puppet-glance from branch 'master'
to 0c4ecf7f2c1061d7ca3d74abb05d7ed9195d9427
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Iab6f3d89031db5e1104ca7f1ebd07d6677f99e05
* Update puppet-glance from branch 'master'
to 7452a379502b666f1b778d48fbd07bbf2fde0928
- Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I0e3832fa00f72ada6471f1272d146049baacfab3
* Update puppet-glance from branch 'master'
to 1317af56d4f4700e4300024e5344c8b0ac780eeb
- Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.
[1] 316d95923c
Change-Id: I3077eed14d4e4e2e29cb947ec4ec1fa06abd6229
* Update puppet-glance from branch 'master'
to cb71609368bff436a68f4312f9994e22cff82744
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Id361dc6c92c2e6e2006485a0f7e2a040f904f9b4
* Update puppet-glance from branch 'master'
to 5818316d399baa70dcd5dd65bbe4073b1b572c35
- RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I5830f13c2081033076bb0ed8a2854e2fc32a6725
* Update puppet-glance from branch 'master'
to 30b188b1b9f0cdebd3f8cc00a7aa4ab9e16d9cb8
- Add support for store weight option
This introduces the support for the weight option in each store which
is used to sort locations.
Depends-on: https://review.opendev.org/886811
Change-Id: Ia08ab9b396a9f7ba3ee1f41a81cb666e9a80ccde
* Update puppet-glance from branch 'master'
to b15e90fad8555bbf20c0fd284f75ff0ab369b1be
- Merge "Add [DEFAULT] lock_path to glance-cache.conf"
- Add [DEFAULT] lock_path to glance-cache.conf
This option is required to access image data when cinder backend is
used.
Related-Bug: #2034893
Change-Id: Ic5e1d1c55fe31d48b8c9605beaabbc12446682dd
* Update puppet-glance from branch 'master'
to 3ac36bf615e3a8adb2ad8b70c475a94c5607d94a
- Merge "Avoid unnecessary service restart after modifying glance-cache.conf"
- Avoid unnecessary service restart after modifying glance-cache.conf
The glance-cache.conf file is not used by glance-api, but it is used
by only CLI commands. So we don't have to restart the glance-api
service when this config file is modified.
Change-Id: I49d5fa3965af0faedd54b6cf21261b66516a3643
* Update puppet-glance from branch 'master'
to 29de49f6629c8f35ab979266278e6f7b4da3435c
- Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I83b2e24fe124b05673372cd832b034b4d3ccc853
* Update puppet-glance from branch 'master'
to 10d7bbdeef69651d9f1f1d5b164b51ef84b0cd56
- Add all store options to glance-cache.conf
The glance-cache.conf is used by the glance-cache-prefetcher command
which requires access to backend store. Thus all store options should
be added to the glance-cache.conf file so that backend store can be
loaded properly.
Closes-Bug: #2034893
Change-Id: I8f0b2be8b138d267364f20ff81876902b225d29e
* Update puppet-glance from branch 'master'
to 357e761bf7d4bafabe58967b752e40a3ef5bf853
- Fix legacy backend class usage with multi_store=false
Using legacy backend class (eg glance::backend::file) with multi_store
set to false(default) has been broken, because of duplicate declaration
of [glance_store] default_store option.
This fixes that problem.
Change-Id: Ibb12bdb8333fc91e2dc95c2c2cc4de79f2c82cc1
* Update puppet-glance from branch 'master'
to 6d7e4cc06f5ddd7a939b8f974bb04b2188a82db9
- Merge "Ensure openstackclient is installed at the right timing"
- Ensure openstackclient is installed at the right timing
This adds the order enforcement to make sure that openstackclient
package is installed before completing the service phase, so that
openstack CLI is available when neutron resources are created.
Change-Id: I190b28fe480eb659808b74f50e2eae6e499869de
* Update puppet-glance from branch 'master'
to c26e5f8f986589ac5d5b18b7833648a5edadd389
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Icafa3d1e94cdeccf31463f5c15ab18b40ef95427
* Update puppet-glance from branch 'master'
to e3d7edce5f3015044d1a361f3231fa56925f89b7
- Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: Id84b5b3dfc9db809dea06dd9880b2f98e2a40f53
* Update puppet-glance from branch 'master'
to c37af7627c497ca04722f23db084565b373ba231
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: I68260f896eb4b94661685a2ebf76500b0cf409a6
* Update puppet-glance from branch 'master'
to 6b846d600af7f1704f46302fe4a3f9858e9c2cdb
- authtoken: Make password required
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.
Change-Id: I4fc9a34db162b6c85a5f4bcf50c3fb77b1b6640d
* Update puppet-glance from branch 'master'
to d308b774671dd0e151d80404eaa248f29bd25ca0
- Merge "Fix undefined variable"
- Fix undefined variable
The default_store_real variable is not defined in some code paths and
that is causing the following error when Puppet 8 is used.
```
Evaluation Error: Unknown variable: 'default_store_real'.
```
Change-Id: I8220b646de922e44e08db49817b473789e2742f8
* Update puppet-glance from branch 'master'
to 8d4873a3af5e515769c7b87ce5d36cc49b773707
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I83d3ff31083dd687c5b2d76c8297b5e74a7caa1a
* Update puppet-glance from branch 'master'
to 291239366452ed2a75f336d03dc4140685a3de32
- Remove redundant handling of empty flavor
Setting an empty string('') to [paste_deploy] flavor results in
the exactly same behavior as removing the [paste_deploy] flavor option.
Thus we don't really need the special treatment for an empty string.
Change-Id: Ib50da09ac6fd2499fc922d5d0e1115cd600ecb69
* Update puppet-glance from branch 'master'
to 945280277f2b14faca4feb7b562e7980e8ea7920
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Note that this change removes the pattern validation about [DEFAULT]
pipeline. The existing pattern check is incomplete, because of
the following two reasons.
- the pattern does not guarantee that the requested pipeline is
really supported or not
- the pattern accepts a+b+c but the existing pipelines in glance
does not have any entries with this pattern
Change-Id: I156d9a3a30ba6c523a0b16a14bf8a1839b61fb78
* Update puppet-glance from branch 'master'
to a1a98cf2a58fa00038d9a1754712b04a95b767b5
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I477f220c6d670ba08eadf906d0c08ccfc948afbc
* Update puppet-glance from branch 'master'
to 118cf7523c4d9fc0874135dac155dd8b032194eb
- Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.
Depends-on: https://review.opendev.org/880118
Change-Id: I5a6f486ee25562f8b4eb51d7c153c4f443707e3f
* Update puppet-glance from branch 'master'
to ddc4c7dd341a0e51950fa8468bcc08fb68487d4d
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I7b14fe0e063268a9bd82f1285dc8b46ec28cbe6a
* Update puppet-glance from branch 'master'
to 2f23343e4f8dd67afab09fb1f238e2a98af86f5f
- Use static name for package resource
... instead of using the actual package name. This helps users to
identify the resource name more easily.
Change-Id: Icc6a27685f3b3747b4e0562eb8066aa3cce5516c
* Update puppet-glance from branch 'master'
to 951936517b912d3f7a3b3246ef6c6d326b3d47a0
- Merge "Deprecate unused options of reserved store"
- Deprecate unused options of reserved store
When I implemented support for reserved store options[1], I somehow
overlooked the fact that some of the registered options are not really
used. This is mainly because glance does not use 'add' API of
the filesystem store but just write data directly into the store
directory.
This deprecates the ineffective options so that we can remove these
in a future release.
[1] d82df7aeddac0bdaaa2e687e5950ad9ccfa98001
Change-Id: Ifde7f70f4cf6a04e22e092a819e0c598079682ee
* Update puppet-glance from branch 'master'
to 2cdc2b2176a70a7c2d5aaa1b085fb26b31fddcec
- Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: Ie3fce5786d44be38fad176442a0a0f9b24faab77
* Update puppet-glance from branch 'master'
to af18992760db0771fb032f11bfa7d89305508f2f
- Merge "cinder store: Support cinder_do_extend_attached"
- cinder store: Support cinder_do_extend_attached
This introduces support for the new cinder_do_extend_attached option
which was added in the 2023.1 release. See the dependent change to find
more details.
Depends-on: https://review.opendev.org/868742
Change-Id: I4fbb2d275cf261286390765d9cd98112ca8adf0c
* Update puppet-glance from branch 'master'
to 0042b9e67fcfe716407591f0e983c4d960cd802d
- Merge "Allow customizing status of cron job"
- Allow customizing status of cron job
... so that users can even remove the job. This follows what was added
to puppet-nova by [1].
[1] https://review.opendev.org/c/openstack/puppet-nova/+/877096
Change-Id: I1f6ff0d39998695d2c69fd0cfc0bcf08e2cafe4a
* Update puppet-glance from branch 'master'
to 192e6d00229c9836737511e67caa42e1b73e5472
- Merge "Remove deprecated cache_prefetcher_interval"
- Remove deprecated cache_prefetcher_interval
This parameter was deprecated during the previous cycle[1] and has had
no effect since then.
[1] 89857141d1e3ecb90ee18d61bcdd3af6003de878
Change-Id: I21e59483cef2847b02783a13072745a9f434a318
* Update puppet-glance from branch 'master'
to 020d6b7d4d6730a4b5b77a57a694aa821b8389a3
- Remove TripleO job
... because TripleO is being retired.
Change-Id: Id5bbffa86b988f8ec451f0489b8743e6c3638b25