... instead of using the actual package name. This helps users to
identify the resource name more easily.
Change-Id: Icc6a27685f3b3747b4e0562eb8066aa3cce5516c
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: Ie3fce5786d44be38fad176442a0a0f9b24faab77
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] d82df7aedd
Change-Id: Ifde7f70f4cf6a04e22e092a819e0c598079682ee
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
This parameter was deprecated during the previous cycle[1] and has had
no effect since then.
[1] 89857141d1
Change-Id: I21e59483cef2847b02783a13072745a9f434a318
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: I55a19eb7ed16f87f51ca472e658fc845b1a86dac
The rbd backend implementation of glance_store requires not only
python3-rbd but also python3-rados. In CentOS the python3-rados package
is installed as a dependency of python3-rbd, but in Debian and Ubuntu
that dependency is not defined and we should install python3-rados
explicitly.
This fixes the missing python3-rados package in Ubuntu, by using
the meta python3-ceph package which installs all python libraries.
Closes-Bug: #2002934
Change-Id: I620c607f09e98f1ce1d7ba34d1b797dbef8402ad
This parameter was deprecated during the past cycle because it is not
used by glance-api actually[1], and has had no effect since then.
[1] bd6fb8f175
Change-Id: Ic4f2ed44fa4e7263d2e4c6d3ae3e255fdf798aa2
These parameters were deprecated during the previous cycle by [1] and
have had no effect. These parameters are not really used by recent
glance.
[1] 2a2f349d8a
Depends-on: https://review.opendev.org/865924
Related-Bug: #1965776
Change-Id: Ia24b57966f6d8aee5cfa56cfe3496f1d81924ea1
... service validation was deprecated during Yoga cycle by [1].
The parameters were left for interface compatibility but have had no
effect since then.
[1] 3d5c217596daeafe7620273ab7a0b5dd9ee2d194
Change-Id: I4b2fa2f250576eb811d66c4925f0b9a5cf6bb3ee
The python-ceph/rbd package is required so that glance services can
access to its ceph backend. This change ensures the package resource
is tagged with the glance-support-package tag so that the package is
always installed before starting glance services.
Change-Id: I0df179dccc95fd4d617eb1b39d921ecc4a6d7bee
When running glance-api behind a proxy or load balancer that hides
glance behind an extended base URL, it is necessary to provide
information about the base URL to glance-api to ensure that clients
know where to pass subsequent requests.
Change-Id: I9bebee01c2580f0500a069f5ab57ac2a8c329389
It turned out defining dependency for openstacklib::wsgi::apache
doesn't properly enforce resource order and the default vhost file
is not purged properly.
This change adds the more explicit dependency to enforce the order
properly.
Change-Id: I3c9afa0d9b0ef37ab56dd17136e4700b914de501
Currently parameter description of the <module>::wsgi::apache classes
are formatted differently in individual modules, and this is making
the maintenance effort quite difficult.
This change updates the description format following the standard one
we are globally using in our modules to reduce undesired differences
between modules.
Change-Id: Ic19381c0beeca3c7b62db6345157cd6aab5b3105
The apache class is already included by the openstacklib::wsgi::apache
defined types and the apache::wsgi class and the apache::ssl class is
automatically included by the apache::vhost defined type.
This removes the redundant inclusion of these classes.
Change-Id: If132d46ec1929ed56e16a9b615010ea0535282ba
This change fixes the left over of [1] and makes sure the priority
parameter is an integer value, according to the type validation in
puppetlabs-apache 8.0.0 .
[1] 23584e89be
Related-Bug: #1983300
Change-Id: I6a47f32dbfc8a6c10bc9535d1208bf16a8470a08
These were deprecated during Xena cycle in favor of the new separate
classes to customize key manager[1].
[1] bc7651fa5f
Change-Id: Id3395fd58cbdd7e686a08c8369cd38c3e322628b
This parameter was deprecated during Yoga cycle[1] because it has been
invalid.
[1] 8bb784d524
Related-Bug: #1955510
Change-Id: I412625e9c741a20c3661f6a2ae17b6e16788b60a
The puppetlabs-apache module is enforcing more strict data type
validation[1].
This change updates the default values to adapt to that change.
[1] f41251e336
Closes-Bug: #1983300
Depends-on: https://review.opendev.org/851652
Change-Id: I652d82c449371bf4df73d1384ddf1633a76224e9
This change introduces a basic implementation to run glance-api as
an application managed by httpd+mod_wsgi, instead of a standalone
eventlet server.
Change-Id: I9421ec891c535503ff61ad6107a1935a32b4b263
... so that users can customize that option using the native interface.
In TripleO we append additional arguments(to load glance-cache.conf)
and we need to set the option explicitly to ensure the correct file
path is used.
Also, the pipeline parameter is confusing because of its naming
different from the actual parameter in Glance, so this change renames
the parameter as well.
Change-Id: I3d6ce07f44ae526207a30d4b57c2fec7cd6fa3ca
A recent change in os-brick [1], which is used by cinder backends,
requires external file locks. This patch adds support for configuring
the lock path, with a default value that matches the corresponding
lock paths used by other services that use os-brick (namely cinder
and nova).
[1] I6f7f7d19540361204d4ae3ead2bd6dcddb8fcd68
Closes-Bug: #1980539
Change-Id: I5ea6766656f4227a1c514777c03bbf78d4ac59cd
... because these options are used only when legacy store is used,
which has been deprecated in favor of multi store.
Change-Id: Ib5cef2869b241d26bbe2fc0a71b05942e03fe512
This change fixes the duplicate resources between glance::api and
glance::backend::file, which were caused by the new parameters added
to the glance::backend::multistore::file defined type in [1].
[1] aaa352a3af
Closes-Bug #1979232
Change-Id: Ib2f89a46d483f70c91e5fc444a84e968b79dae8e
This change introduces support for the following two reserved backends,
which were added by [1].
[1] 6dba83ba3a7c047df282f2edb7217548f43d6251
Change-Id: I9e809f5ba25516b0974015ea5259d1ab7f5bb1ca
... so that users can avoid executing the same cron command at the same
time in multiple nodes.
Technically this can be done without this change by setting a different
cron job schedule in each node but it requires complicated parameter
setting.
Change-Id: I596879d5d46f23e54fe344d5bf93a57837a6d287