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: I4e28e76d8253da823d725aa9b3d708912c429c05
(cherry picked from commit 7710f9970ba2772f996b9b9da064313b82f51499)
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: Ib1f41d2dcce7c7cd095ac589fbd15cd020c69af3
(cherry picked from commit a23ca78f52072271de8b3fde16ab280dcf3f938e)
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/2023.1 branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I8a1d6b9071e0f9852c81f60d7038e67eca546ecc
vitrage requires its coordination backend so that some features can be
used. This enables redis so that it can be used as the coordination
backend.
Change-Id: I86954805bc9d7aa7ea70da2abe8d1a5993be3fb0
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: I5772a9d7fa47084104df765fe9ae3cfeefc6a649
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: Ie092f029c583691cf33d9832ad4fcddd97808086
Add parameters for advanced logging configurations in Apache to
support piped logging and support for syslog (via mod_syslog
available in Apache >= 2.5.0)
Co-Authored-By: Andy Botting <andy@andybotting.com>
Change-Id: Ie6b22e3b0035189bd12499bec42d34c4c80dec6d
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: Id33d0bb0cd09af5d653c14e50ac6b3c1745593b6
This reverts commit 55d705c45d86fa78c5e43c3f2f843ee906b9c57c.
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: Ibb8dcdf77142b7fa15152ccaa3d7eae97ff0dccf
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: I2f840172b22928d136808568badd5135fc2b3fe3
... so that we users can use '<SERVICE DEFAULT>' similarly to
the resource types to manage the <service>.conf files.
Closes-Bug: #1981118
Change-Id: I2df5a34228d8c0cf8dfad2dbf56f3ab2e458d7e9
The headers option in apache::vhost is required in some case, for
example when adding the X-XSS-Protection header. This change allows
customizing the option for the api vhost.
This change also adds support for request_headers so that both request
headers and response headers can customized.
Change-Id: If7c7341fbe5b61dcbb5762291484ce4097c0239c
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.
Depends-on: https://review.opendev.org/843503
Change-Id: I5ed4eaa755082444ba8c3117a55dafc1eb7e530a
... because this class was deprecated during Yoga cycle[1] in favor of
the new vitrage::service_credentials class.
[1] 9cf7f1dcd9c1acb58122dabaf434bf251189bb0a
Change-Id: Ice74b6655d8715989edece54e40998c809f8341f
During the previous cycle, a warning message was added to inform users
of this change.
Now the default value is updated so that SSL is disabled by default.
Change-Id: I72c65b9cdc246df06c2ca4f4e70ea9c3ff4fe768
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ia849ce65b9da63df126e557c67672d45d6418742
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.
~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~
Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
[1] https://github.com/pypa/setuptools/issues/3197
Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I62998fc37e9de1c64bb61d4bbc85362aa3df758b
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: Ic5861646b0f419870f422e756a664ed9eaec7341
Co-Authored-By: LiZekun <2954674728@qq.com>
Since commit 12f70b9ada4234b19245898932bd5cfba17184b0 was merged,
Vitrage uses tooz for coordination. This change adds support for
[coordination] parameter so that users can define coordination backend.
Change-Id: I7aeb75d5bd4e6908b68c84b9c0b678d55efd914b
After spending huge effort to understand the exact requirements to
enforce SRBAC, we learned it's very difficult to find the required
scope in each credential. This requires understanding implementation of
client-side as well as server-side, and requirement might be different
according to the deployment architecture or features used.
Instead of implementing support based on the actual implementation,
this introduces support for system scope credentials to all places
where keystone user credential is defined, and make all credential
configurations consistent.
Change-Id: I9004d2e863ac84f53a4e23d863a9c66ae4afc5c8
Currently the service_credentials parameter is managed by the auth
class but it's hard to guess and doesn't follow basic practise to use
section names as class names. Also, parameter of the auth class are
named differently and this makes it difficult to guess and maintain
the actual parameters.
This change renames the class and its parameters to make these
consistent with the section name and the parameter names in vitrage.
Change-Id: I01f0dc3617fca873d21bb19e3b66c4871b637c8f