882 Commits

Author SHA1 Message Date
Takashi Kajinami
0585656937 apache+mod_wsgi: Disable SSL by default
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: I6bd11a340b8623b45da7284e52ee505ea6870562
2022-05-06 20:46:39 +09:00
Takashi Kajinami
ec9c6317ff Support tuning batch size of DB purge operation
The heat-manage purge_deleted command supports customizing batch size,
number of stacks to delete by a single transaction. This change adds
the new parameter to customize the parameter.

Change-Id: Id980c6f975f22baa305d3cd84378c98b3e9f84f2
2022-04-08 13:44:55 +09:00
Zuul
f267f9a1d8 Merge "Support more clients configurations" 2022-04-05 15:39:00 +00:00
0d3f51d869 Update master for stable/yoga
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: I16f92ab55db267e93bd609546c7c6fab5d107b92
2022-04-05 09:10:38 +00:00
Takashi Kajinami
0d043d793f Support more clients configurations
This change introduces support for [clients] parameters and
[clients_<service>] parameters, which determine behavior of service
clients used by heat for communication with the OpenStack services.

- Implementation of heat::clients::<service> are generally same.
  Only cinder, heat, keystone and nova provides additional parameters.

- The existing parameters in the base heat class are deprecated in
  favor of the new classes.

Change-Id: Icdf4f0201dd1e5f93a450473709851977ec20034
2022-04-03 23:22:26 +09:00
Jiri Podivin
e7cefc1ae0 setuptools: Disable auto discovery
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: I459ac9da80967dbba08acccfd7b068e4910c3164
20.3.0
2022-03-29 10:38:47 +02:00
Takashi Kajinami
9cfced87de Prepare Yoga RC1
Change-Id: Icd0994e71c41133698ad023517b2bb81d3fa6116
2022-03-11 21:48:43 +09:00
Zuul
283abe71ea Merge "remove unicode literal from code" 2022-03-08 01:17:39 +00:00
Zuul
14c7036e63 Merge "TripleO: Replace undercloud job by standalone job" 2022-03-08 01:17:37 +00:00
Takashi Kajinami
4de5256605 remove unicode literal from code
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: I3ccb8abed325c4137daee8f1dcbbf7b1526ba79f
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:12:16 +09:00
Takashi Kajinami
ad73ba2262 TripleO: Replace undercloud job by standalone job
Heat in undercloud was replaced by Ephemeral heat and we no longer run
puppet to set up heat configurations.

Because there is no heat tempest job enabled in TripleO repos, we use
the common scenario job to validate deployment status. This will be
updated when any appropriate test is enabled in TripleO.

Change-Id: Iee8b99c2bee7f37fd1cdb05c42b8f7e608325a4b
2022-03-02 21:50:02 +09:00
ZhongShengping
ae48b2e559 Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: I0a9a6a0fd65aa0a854fab8be89779379b7204833
20.2.0
2022-02-27 13:16:08 +00:00
Zuul
aae8fcc434 Merge "Add CentOS/RHEL 9 to supported operating systems" 2022-02-24 15:26:04 +00:00
Zuul
b7964e1116 Merge "Avoid hard-coding OS user/group in each manifest" 2022-02-22 16:51:47 +00:00
Takashi Kajinami
31f8290d92 Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: If0101b743520752258a3466baa822d1478ecc526
2022-02-23 01:16:10 +09:00
Zuul
f97c064a4c Merge "Add HashClient retry options for the dogpile.cache backend" 2022-02-20 19:04:42 +00:00
Zuul
e0449abe4c Merge "Add cache client retry options for the pymemcache backend" 2022-02-20 18:42:04 +00:00
Takashi Kajinami
e5cc108c00 Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp .

Change-Id: I4fc49eab447ef2b7e4f0d6cbd75f193cff7719b9
2022-02-20 19:39:47 +09:00
Takashi Kajinami
6830a2af6d Add HashClient retry options for the dogpile.cache backend
This patch specifies a set of options required to setup the HashClient
retry feature of dogpile.cache cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/824944

Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826870
Change-Id: Ibe064defd7fca3f88206943ae2835daa4a96ea35
2022-02-16 11:34:29 +09:00
Takashi Kajinami
be95d672a8 Add cache client retry options for the pymemcache backend
This patch specifies a set of options required to setup the retrying
wrapper feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803747

Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826869
Change-Id: Ie28399b714f1707edfc6832cebd739dd3710cff8
2022-02-16 11:27:45 +09:00
Takashi Kajinami
b8c3e8cb71 CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: I0824e84d9e3f0b85938512d37e74b8a9786fefbd
2022-02-16 00:22:53 +09:00
Takashi Kajinami
37d5b04d78 Remove deprecated amqp_allow_insecure_clients
... because it was deprecated during Wallaby cycle.

Change-Id: I2d7619574f93958ceae15bafea02d77554fb5315
2022-02-09 10:00:20 +09:00
Takashi Kajinami
ff16bee10a Remove some deprecated database parameters left
This is follow-up of c543bd33ae2389e64f932441c719fcc105a2f2da and
removes some deprecated database parameters still left.

Change-Id: I6325c5d8d290bf6176d17e4aea9058f85feea2f3
2022-02-09 09:59:17 +09:00
Zuul
ea93973b79 Merge "Clean up deprecated database parameters" 2022-02-07 17:45:55 +00:00
Takashi Kajinami
c543bd33ae Clean up deprecated database parameters
Change-Id: I9d77ce1cbbd3fb8f7af2f144101ad064d760934e
2022-02-07 12:08:42 +09:00
Takashi Kajinami
6ce889d3f2 Simplify definition to ensure keystone resource creation
Use the whole resource type instead of its individual resources, to
rely on interface instead of implementation of the dependent module.

Change-Id: Ie28adb28dba6f8fd04520b1e5deea30fa66d775b
2022-02-07 00:08:43 +09:00
Zuul
8c660c594b Merge "Use consistent spelling, OpenStack, instead of Openstack" 2022-01-27 21:29:29 +00:00
Zuul
c160858ee0 Merge "Add socket keepalive options for the pymemcache backend" 2022-01-27 21:29:27 +00:00
Grzegorz Grasza
1fe740c2a9 Add socket keepalive options for the pymemcache backend
This patch specifies a set of options required to setup the socket
keepalive feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803716

Depends-On: https://review.opendev.org/807851
Change-Id: I195d3984248d8402953843bd49bd5e0838bf4fde
2022-01-27 20:23:44 +09:00
Takashi Kajinami
525d58d621 Use consistent spelling, OpenStack, instead of Openstack
Change-Id: I5f0320959ecae3ba3724114d91e7f89406f6404f
2022-01-24 16:28:42 +09:00
Takashi Kajinami
ed6e54bf51 Avoid testing details of oslo::messaging(::*)
... so that any change in puppet-oslo would not directly break unit
tests.

Change-Id: Ib6b2dbe5301604dac0f6790843931c6e367dcbec
2022-01-21 10:49:38 +09:00
Zuul
0961b98387 Merge "Fix dependency to purge default vhost config" 2022-01-12 17:50:03 +00:00
Takashi Kajinami
fdaced52dc Fix dependency to purge default vhost config
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: I3f8346d8df6c60b36e2abe281e87163b1e2837e6
2022-01-11 18:43:42 +09:00
Zuul
14c630bffa Merge "Accept system scope credentials for Keystone API request" 2022-01-08 01:02:56 +00:00
Zuul
7744ef8963 Merge "Remove usage of custom os_package_type fact" 2022-01-07 20:53:42 +00:00
ZhongShengping
799b0888fd Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: I3717115da28826d820ebbf49d376e6a1dc841e99
20.1.0
2022-01-07 14:19:32 +00:00
Takashi Kajinami
213b30a43f Remove usage of custom os_package_type fact
Currently we support usage of distro packages only, and this custom
fact can be simply replaced by the default fact.

Change-Id: I11bac6405b94e6616e45dd511b842a4ad358148a
2022-01-05 22:32:32 +09:00
Takashi Kajinami
e0f9de35cb Support more tunable parameters of heat-engine
Change-Id: If314e079f45101439751c18eddbead56d0863fbb
2022-01-03 23:09:06 +09:00
Takashi Kajinami
63b791ef4f Add support for [DEFAULT] allow_trusts_redelegation
Change-Id: I4677e89b889f416cc503719286373407a08cffc9
2022-01-03 18:37:41 +09:00
Takashi Kajinami
0f9986e566 Accept array for DEFAULT/trusts_delegated_roles
The DEFAULT/trusts_delegated_roles parameter is a ListOpt, which
accepts a list value in a comma-separated list format. This change
allows usage of array to define the list value in a native manner.

Change-Id: I9d74fac8cdc4cfe7c7c6f366dba712b8c331b269
2022-01-03 18:26:56 +09:00
Zuul
5c6dbfd634 Merge "Enable DB purge cron job after database is initialized" 2021-12-30 22:27:55 +00:00
Zuul
d4d0229c40 Merge "Load libraries in a single place" 2021-12-30 20:49:25 +00:00
Takashi Kajinami
67139207a9 Enable DB purge cron job after database is initialized
The DB purge operation expects the target database is already
initialized. This change ensures db sync is completed before cron job
is enabled.

Closes-Bug: #1955829
Change-Id: I742ea262bde8b9412627a475c53b27d25e132787
2021-12-28 10:39:22 +09:00
Takashi Kajinami
f2f27f8e76 Load libraries in a single place
This change refactors how the dependent libraries are loaded during
unit tests, and load the libraries in the base spec_helper to avoid
duplicate and redundant implementations.

Change-Id: Ia4f1a4a731de0a0ee2e4ebc47e0628fbf5f58436
2021-12-27 10:38:36 +09:00
Takashi Kajinami
43105f3130 Clean up direct dependencies on puppetlabs-apache
This change removes direct reference to some classes in
puppetlabs-apache. Details are explained below.

- The api class doesn't need access to anything defined in
  apache::params

- The following classes are included by the openstacklib::wsgi::apache
  resource type, and current inclusions are just redundant.

Change-Id: I88684f7f246b226844dc724a35d1cec95742704e
2021-12-09 10:21:14 +09:00
Takashi Kajinami
a06217b838 Use native support to define RequestHeader statement
... instead of injecting it by vhost_custom_fragment.

Depends-on: https://review.opendev.org/821082
Change-Id: I684e077d03b318cef01688c1b11ea37d7fc2f664
2021-12-09 00:24:40 +09:00
Zuul
64d8a691fb Merge "Add missing dependency of heat_api_paste_ini" 2021-12-08 08:10:38 +00:00
Zuul
d308d4fc66 Merge "Fix missing dependency of heat_api_cfn_uwsgi_config" 2021-12-08 05:28:03 +00:00
Zuul
d2352675f2 Merge "cfn: Do not test detail of keystone::resource::service_identity" 2021-12-08 00:06:41 +00:00
Takashi Kajinami
953d6d1c83 Fix missing dependency about policy config
Change-Id: Id2d55cb87f6663cd1b250f1961af139fbf514e40
2021-11-29 09:38:15 +09:00