puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]
This is the prep work to adapt to that migration.
[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with
[2] 493f0cbc1c
Closes-Bug: #2004135
Change-Id: I3c6ee8bb85efcb2169a0248ce11e750991799d63
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
This makes sure the db purge cron job is properly configured in
acceptance tests. The job was enabled in the common manifest a while
ago by the dependent change.
Depends-on: https://review.opendev.org/792743
Change-Id: Ic83d6595cd23319e286719c2e7f766ea1aa3e4da
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I9533a4c7e75670135cdd17abfd247fb860ccdcf5
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
The current test case is validating behavior of the openstack CLI
rather than the deployment. Because we already test image creation by
the glance_image resource type, we can remove that redundant and
out-of-scope test.
Change-Id: I30ba37e5c72c6a918f0ee1f5d8ad275322f007f9
This change introduces an assertion to ensure the glance-api is
listening the correct tcp port (9292). Similar assertions are already
implemented in the other modules.
Change-Id: I9fe22af47e9e12905d731f6b0e4ead2c6864ce40
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
This commit updates some examples in the README file to use defines
and parameters that aren't deprecated.
Change-Id: Iad3a33379a787e74ca6c89748b64e782d723d158
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 reverts commit ae04e3ac34.
Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).
Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.
Depends-on: https://review.opendev.org/850705
Change-Id: I6cfea1ca8dbf7633ea6b3805666237ec43533b4b
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.
Change-Id: I0fd5b3f5020a5de5c749679b30ad0e8e588c8a49
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