154 Commits

Author SHA1 Message Date
ZhongShengping
a1ae65f323 Add watch_log_file option
Add support for Using logging handler designed to watch file system.

Change-Id: I2feecb96c4b859584ead37155269cb33d742e9d2
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
Takashi Kajinami
e79e74cd08 Migrate max_stacks_per_tenant to heat::engine
... because the max_stacks_per_tenant parameter is used by heat-engine,
and the very similar max_resources_per_stack parameter is implemented
in heat::engine.

Change-Id: I57a8e8b9643d999c8ed379895f998ee1d09fb1a8
2021-08-07 00:20:17 +09:00
Takashi Kajinami
eaa9b393a2 Drop Fedora support
Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.

Change-Id: I9193e4ca93ebb203f88b3a8c888d0d774dcc3854
2021-06-12 23:30:08 +09:00
Thomas Goirand
274e458478 Add support for heat_api_{cfn_,}uwsgi_config in Debian
This patch is adding the configuration of the number of workers,
threads, and the size of the listen queue in Debian, which uses
uwsgi to run Heat API and api-metadata. Therefore, this patch adds
two new heat_api_uwsgi_config and heat_api_cfn_uwsgi_config
providers as well as two new heat::wsgi::uwsgi_api and
heat::wsgi::uwsgi_api_cfn classes.

Change-Id: I0e226046f6e2d69c89681948cee8e8830c186489
2021-04-10 22:44:24 +02:00
Zuul
644eeb990a Merge "Allow to configure policy_dirs" 2021-04-06 09:36:52 +00:00
Thomas Goirand
37bd354401 Allow to configure policy_dirs
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .

Change-Id: I9dea409a46bd8d22388853582de8f64034cf0d03
2021-04-01 23:01:27 +02:00
50dbb7c70a Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: Ic46bbdb8c64755e5eae750ce12e9066b47964b43
2021-04-01 09:18:35 +00:00
Takashi Kajinami
704c10fce4 Add support for oslo_policy/enforce_new_defaults
Depends-on: https://review.opendev.org/781428
Change-Id: Ic012fdd97529baebef8840f364084e7f946b6908
2021-03-24 16:38:22 +09:00
Takashi Kajinami
e08f3cd6fe Add support for the oslo_policy/enforce_scope parameter
Depends-on: https://review.opendev.org/#/c/759008/
Change-Id: Ice8c1420a2386887965dd587e90b35d3314b0c27
2021-03-16 12:36:29 +09:00
Zuul
2563fda115 Merge "Add support for healthcheck middleware options" 2021-02-23 19:59:33 +00:00
Zuul
bea275a919 Merge "Add TLS options to oslo.cache" 2021-02-10 17:49:28 +00:00
Grzegorz Grasza
42d1e8567d Add TLS options to oslo.cache
This patch specifies a set of options required to build a TLS context.
The context built from those options can later on be passed to any of
the oslo.cache backends that supports TLS connections.

Depends-on: https://review.opendev.org/761604
Change-Id: I92552d013db98b972124db901f3f35a326110846
2021-02-10 21:00:25 +09:00
Takashi Kajinami
72d1b4d137 Add support for healthcheck middleware options
Depends-on: https://review.opendev.org/772202
Change-Id: I3a09b3dcdbece397edb19051683657bec2d411c4
2021-02-01 17:29:53 +09:00
Takashi Kajinami
b4e9a1a6e4 Use yaml instead of json for policy file
Because usage of json for policy file will be deprecated and replaced
by yaml[1].

[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Depends-on: https://review.opendev.org/769647
Change-Id: Id19b8fc7ded7b3a25a7b028687780caad32deae9
2021-01-07 08:44:59 +00:00
ZhongShengping
c16009b55b Allow db sync timeouts to be configurable
As Openstack projects continue to have longer database migration
chains, the Puppet default timeout of 300 seconds for an execution
is becoming too short a duration on some hardware, leading to timeouts.
As projects continue to add more migration scripts without pruning
the base, timeouts will continue to become more frequent unless
this time can be expanded.

Change-Id: I9118a6d4e1553ee0715f3fda72d625ccdcdf1b0f
Closes-Bug: #1904962
2020-11-23 09:27:52 +08:00
ZhongShengping
bb28a6a9a4 Deprecate allow_insecure_clients option
The allow_insecure_clients has been deprecated[1].

[1]https://review.opendev.org/#/c/417629/

Change-Id: Ia08ce1ffa507572f6eff0ad24415802b0b535a13
Closes-Bug: #1902158
2020-11-02 15:25:27 +08:00
Takashi Kajinami
670ea7c388 Also deprecate the heat::sync_db parameter
... because the actual implementation exists in the heat::db class.

Change-Id: Ife360d77fe041771754d56cf08915f4fd4a50d35
2020-10-27 00:09:05 +09:00
Zuul
b88fa7b204 Merge "Deprecate database options from the heat class" 2020-10-21 09:13:20 +00:00
Takashi Kajinami
6a8e1b15aa Deprecate database options from the heat class
... because these options have been implemented in the heat::db class.

Change-Id: I5724d843607d958bae9cc897899cd78dddd7cdea
2020-10-20 11:28:11 +09:00
Christopher Brown
261f4b1cf6 Add support for the keystone_authtoken/service_type parameter
Change-Id: I2c3a5d3c005963fe490310f6b81619cc85b28cc9
2020-10-18 18:23:41 +10:00
d5ec860bfe Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I9447bda09b5c11c0c1cec36f5ed71e64ca04b68e
Sem-Ver: feature
2020-10-08 14:40:15 +00:00
ZhongShengping
ac0a3f6df4 Set openstackdocs_auto_name to use 'project' as name
Change-Id: I2e512e2276396c123e00253c731a6d5e93fbada7
2020-09-16 11:05:05 +08:00
ZhongShengping
9fd21cf7cf Add mysql_enable_ndb option
Add mysql_enable_ndb parameter to select mysql storage engine.

Change-Id: I6392637052f305f6c0b9381923d8e9a69774a51a
Depends-On: https://review.opendev.org/#/c/748067
Closes-Bug: #1892952
2020-08-26 11:55:57 +08:00
Zuul
7750d9d2ed Merge "Add support for the interface parameter in authtoken middleware" 2020-07-08 16:43:25 +00:00
Takashi Kajinami
e633bc0ae5 Add support for the interface parameter in authtoken middleware
This patch adds support for [keystone_authtoken] interface parameter,
so that operators can define which endpoint should be used by authtoken
middleware.

Change-Id: I5325bdfbcec13b53b83ac669fb2b91885c370e60
2020-07-08 11:20:39 +09:00
Thomas Goirand
ac5eaeb657 Add a max_stacks_per_tenant parameter
The default of 100 is barely useable. Let's add a new parameter
max_stacks_per_tenant to allow increasing this.

Change-Id: I2bd9ce729b5e2b5ff6577951989b93390cb3a6bf
2020-07-03 02:41:56 +02:00
Andreas Jaeger
20c9e0b796 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I80547dc338f621fc05cd20bf96626511feff5931
2020-06-02 14:39:41 +02:00
0a7ee27021 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I618427a7479f3972413f64f4e4e486b7f069cd9f
Sem-Ver: feature
2020-04-28 14:52:33 +00:00
Takashi Kajinami
7dd8afd35d Deprecate heat::engione::deferred_auth_method
... because its actual parameter in heat was already deprecated[1].

[1] 9723b0dab707bcedc846415b932b2ade5b7c1317

Change-Id: I782d6b3833f450178ccd34736de4c9f861937399
2020-04-26 22:12:11 +09:00
Takashi Kajinami
6c4650f815 Remove heat::engine::heat_watch_server_url
... because it was deprecated a while ago[1].

[1] ae564bbd7c1f94c95c7a0ddbda26219d4f2f8a13

Change-Id: I7fd241112c8bd5ee5cd9edaa6669b162ffbf190c
2020-04-26 22:01:11 +09:00
Zuul
fad1e5af7a Merge "Add support for cache options in specific module" 2020-03-31 15:35:28 +00:00
Takashi Kajinami
3cbb922235 Add support for cache options in specific module
This patch introduces several parameters in heat::cache class, so that
we can configure caching parameters for specific module.

Change-Id: I752c31825ec3f3f23df01a4d24a633b2453bff19
2020-03-29 08:59:23 +09:00
Zuul
9df2d37e69 Merge "Add server_keystone_endpoint_type param to heat::engine" 2020-03-26 23:37:56 +00:00
Tobias Urdin
093b663165 Add server_keystone_endpoint_type param to heat::engine
Adds the server_keystone_endpoint_type config option [1].

This is available all the way back from Stein and will
therefore be backported.

[1] https://github.com/openstack/heat/blob/master/heat/common/config.py#L99

Change-Id: Ia251802612e7a4cf5c6828f3b7c1a0ef63a3c069
2020-03-25 19:57:12 +01:00
ZhongShengping
1084af6e86 Deprecate min_pool_size option
min_pool_size option is not used,see:

https://review.opendev.org/#/c/565090/

Change-Id: Ibd40fed67872c502f54f12c07ebe20fa47089aa5
Closes-Bug: #1868511
2020-03-25 14:53:41 +08:00
ZhongShengping
5a6838f7cd Remove idle_timeout option
The idle_timeout parameter has been deprecated for two releases.
We can remove it.

Change-Id: I4c764f182145bf651ce31f6b500cb5039094d91e
2020-03-23 14:45:48 +08:00
Emilien Macchi
9fce8d211e Add vhost_custom_fragment option to wsgi/apache_api
Change-Id: I7da55899b9108daced7adb8f82bdb58fcf97aa09
2020-01-23 10:44:53 -05:00
Rabi Mishra
876a4bddfe Make heat config client_retry_limit configurable
This adds a new parameter to configure client_retry_limit config
to a value higher than the default.

Change-Id: Ibd3999a394c8827efa7a6034e69e55858d2e44ed
2019-12-09 18:09:56 +05:30
cf16b95989 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I3aecd6a59267165dcbb0e2fcbdfee6090ff07255
Sem-Ver: feature
2019-10-04 13:26:44 +00:00
Zuul
23bd04c02e Merge "Add support to configure service_token_roles in authtoken middleware" 2019-09-23 09:56:18 +00:00
Takashi Kajinami
9b4f933b4e Add support to configure service_token_roles in authtoken middleware
Change-Id: Idca4a0285d818b59920a26080bc594268a826b81
2019-09-21 10:21:36 +09:00
ZhongShengping
4c35662238 Remove heat_clients_keystone_uri option
The heat_clients_keystone_uri parameter has been deprecated for one year.
We can remove it.

Change-Id: I507fd2beecface5f8de35d18bfb546a653c6ef51
2019-09-20 09:34:27 +08:00
ZhongShengping
5d447cbe87 Introduce the new rabbit_heartbeat_in_pthread option
oslo.messaging RabbitMQ driver have now a new option that allow user to
run the RabbitMQ heartbeat over a native python thread.

These change allow user to use this new option.

Change-Id: Ifa7b63cf0e0f276c4bdfc1b840506303355647b1
Closes-Bug: #1840868
2019-08-21 14:23:36 +08:00
ZhongShengping
4656591f71 Remove deprecated pki related options
The deprecated pki related options check_revocations_for_cached and
hash_algorithms option has been removed.

Change-Id: I316beed11236a11d4789974da3656196e2795694
2019-08-15 11:51:37 +08:00
ZhongShengping
8bfb575bd1 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20[1]:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements

[1]https://docs.openstack.org/openstackdocstheme/latest/#using-the-theme

Change-Id: I1c2b41574237178e0f7a8df4c8131198c3cb6bf4
2019-08-13 11:29:06 +08:00
ZhongShengping
1d6872a856 Manage oslo_middleware/max_request_body_size
So that we can increase it from the default 114688

Useful in case for example the OS-Federation mapping is too large.

If this limit is breached heat will return a 413 Entity Too Large
and not log anything to heat.log.

Change-Id: I90f15091088db67e6d33ef6272e59de69c4fe601
Closes-Bug: #1835161
2019-07-04 11:36:38 +08:00
ZhongShengping
169e0ad3ce Change memcache_socket_timeout to a float
see https://review.opendev.org/#/c/519353/

Change-Id: I00f5e43146a0b937d2dfafa080f37c3601eed809
Closes-Bug: #1835162
2019-07-03 15:19:27 +08:00
ZhongShengping
e27652a02b Add openstackclient installation to the client class
The repo is inside the openstackclient plugin commands[1].

[1]https://docs.openstack.org/python-openstackclient/latest/cli/plugin-commands.html

Change-Id: I94d00a6ef9c8949b1de8f12328a8f40dc2ebf7ca
2019-05-17 16:31:17 +08:00
ZhongShengping
0e380a80b1 Deprecate idle_timeout option
The idle_timeout parameter is deprecated, use connection_recycle_time
instead[1].

[1]https://review.opendev.org/#/c/334182/

Change-Id: I8022329f612925eaad1efe7d445e584170b04d14
Depends-On: https://review.opendev.org/656106/
Closes-Bug: #1826692
2019-04-28 15:00:09 +08:00
42c2af00b0 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ie1a7ccbcbce4fb078342b1dac4e64ef96cabe89c
Sem-Ver: feature
2019-03-22 16:48:30 +00:00