ac79ad02bb97c8306cd9f7f894bcc0eb8eb01144
159 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Takashi Kajinami
|
ac79ad02bb |
healthcheck: Add support for ignore_proxied_requests
The new ignore_proxied_requests option was added to the healthcheck middleware which allows operators to prohibit access to healthcheck information via load balancers. This introduces a new parameter which corresponds to this option. Depends-on: https://review.opendev.org/901215 Change-Id: Iaf9b40db938f998c20d6cea4b19cf09651c46bbf |
||
|
Takashi Kajinami
|
9175c459e4 |
Add optional installation of oslo.reports package
Some services like ironic does not require oslo.reports but users have to install the library to capture GMR. This introduces a few new options to enable management of oslo.reports package to cover that requirement. Because the oslo::reports class was added during this cycle, this change contains no release note updates. Change-Id: I64d9e6e8135fa051db0a3a576ee8998fd00a3824 |
||
|
Takashi Kajinami
|
1efa397d12 |
Add support for oslo.reports library options
This change adds support for options of the olso.reports library, which is used in several components to generate Guru Meditation Reports(GMR). Change-Id: I2db5a2639ea98ed983a9d07e6cef1f493c6ae6b5 |
||
|
Takashi Kajinami
|
97ee84e76f |
Add support for [healthcheck] allowed_source_ranges
Change-Id: Iddb38da980cf01536185c6c910ca68ac35c8a436 |
||
|
Takashi Kajinami
|
1d34a8d183 |
coordination: Remove support for etcd3 driver
... because the driver has been removed. Depends-on: https://review.opendev.org/901040 Change-Id: I502c33d2fe80f3dac3c4ebe1653f99cc91a144b0 |
||
|
Zuul
|
1d40ba5178 | Merge "Debian/Ubuntu: Do not install python3-pysqlite2" | ||
|
Zuul
|
f27cf72079 | Merge "coordination: Use consistent tag format for package resources" | ||
|
Takashi Kajinami
|
482fae00cd |
Debian/Ubuntu: Do not install python3-pysqlite2
The python3-pysqlite2 package is no longer available, and the built-in sqlite3 library is used instead. Closes-Bug: #2046335 Change-Id: I9642ca3b6e37d3a85ae274d38a8376e9afa03042 |
||
|
Takashi Kajinami
|
976418c9c2 |
coordination: Use consistent tag format for package resources
... to avoid conflicts with the other implementations which require same packages. Closes-Bug: #2046317 Change-Id: I3d637b1c47ea17a565efb1d5e0b58ee701b21c8b |
||
|
Takashi Kajinami
|
a878ebe071 |
Add support for [cache] memcache_pool_flush_on_reconnect
... so that all memcache pool options are supported. Change-Id: Idf443c2d8f2f5d5b77e3129ac6affa4d91490222 |
||
|
Takashi Kajinami
|
199e84fad9 |
Support [oslo_messaging_notifications] retry option
Change-Id: I2c948ae091ab6533022703afb7b5a05a278abcc0 |
||
|
Takashi Kajinami
|
167233f2a4 |
Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
[1]
|
||
|
Takashi Kajinami
|
b400662729 |
RabbitMQ: Add support for quorum queue options
Change-Id: Ic95ebf1128152bac120b3a3f3732c8bc5891c27b |
||
|
Zuul
|
825b1a00c7 | Merge "db: Use ensure_packages to manage backend package" | ||
|
Zuul
|
40bc8f6492 | Merge "Do not assert implementation in puppet-postgresql" | ||
|
Takashi Kajinami
|
d0dd31ee35 |
db: Use ensure_packages to manage backend package
... instead of skipping the resource definition in case the same is already defined. This allows us to detect any conflicting definitions defined in multiple manifests. Change-Id: Id78c6c1553973b57b4b9e7edaf8d029d833f4722 |
||
|
Takashi Kajinami
|
62c1b56cc0 |
Do not assert implementation in puppet-postgresql
... but assert the class we include to manage the backend package. Change-Id: If768923ee96de531a575152ba3ea5aeb0591e926 |
||
|
Zuul
|
c3293a4953 | Merge "remove legacy db connection check with proper types" | ||
|
Benedikt Trefzer
|
6ca03a90c4 |
remove legacy db connection check with proper types
- includes new type check for slave type Change-Id: I170e46d65abe3399e69a33dabbe59b44adc90337 |
||
|
Takashi Kajinami
|
2d8966ab43 |
db: Add option to disable config management
... so that we can reuse the logic to install the required backend package. Change-Id: I52cd38d9787d407f7c583996640fcef33aedb32e |
||
|
Takashi Kajinami
|
8e04fa6153 |
Remove leftover of MongoDB support
We already removed support for MongoDB a while ago[1]. This removes
the leftover in Oslo::DBConn type so that we use the single consistent
pattern.
[1]
|
||
|
Benedikt Trefzer
|
471514fa53 |
add spec test for type Oslo::Dbconn
Change-Id: I8ad8f5246f7e7cf3d1e6104ac2e3ade69ce9735d |
||
|
Takashi Kajinami
|
a996337333 |
[coordination] backend_url should be secret
The backend_url option can sometimes contain secrets. For example when redis coordination backend is used and authentication is enabled in redis, the plain redis password is put as an URL element. [coordination] backend_url=redis://:password@127.0.0.1:6379 Closes-Bug: #2012246 Change-Id: Idb7cba32fa81da698d408c27a854550b03e5abd4 |
||
|
Takashi Kajinami
|
548d68cf35 |
Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf |
||
|
Zuul
|
ebf9af865f | Merge "Add common implementation to manage [os_brick] options" | ||
|
Zuul
|
978b7ef3cf | Merge "cache: Support array value for tls_allowed_ciphers" | ||
|
Takashi Kajinami
|
7e187f637a |
Add common implementation to manage [os_brick] options
The os-brick library now supports its own lock_path configuration. This adds the defined resource type to manage the option so that we can reuse this implementation in some modules. Depends-on: https://review.opendev.org/c/openstack/os-brick/+/849324 Change-Id: Iae1c155692fec845a8cab0ae284eeeaaf3336962 |
||
|
Takashi Kajinami
|
6f502efdc1 |
Fox wrong format of [cache] backend_argument
This option is not a ListOpt but a MultiStrOpt. So an array values should NOT be converted to the colon-separated list format. Closes-Bug: #1997603 Change-Id: If346affd48013f4f553a5fddc93524a8408cc605 |
||
|
Takashi Kajinami
|
0532649275 |
cache: Support array value for tls_allowed_ciphers
The [oslo_cache] tls_allowed_ciphers option takes a colon-seprated list. This change allows usage of a native array value to set the value so that users can more easily compose up the value without considering the actual value format. Change-Id: I5c295c747a0f19757e3b3c7eaf990b32d7e1af11 |
||
|
Takashi Kajinami
|
5590e9b164 |
Remove deprecated oslo::db::use_tpool
The parameter was deprecated during Yoga cycle[1] and is no longer used
by the other modules.
[1]
|
||
|
Zuul
|
f5db3abb0f | Merge "privsep: Add support for the remaining parameters" | ||
|
Takashi Kajinami
|
49de918c25 |
privsep: Add support for the remaining parameters
This change adds support for the following two parameters of the oslo.privsep library, so that all options can be configured by the oslo::privsep defined resource type. - thread_pool_size - logger_name Change-Id: I88eb0a5a1d3fd795a2c29b7be4d6e5722a330c45 |
||
|
Takashi Kajinami
|
fc72a83bcc |
cache: Ensure pymemcache library is installed
The pymemcache library should be installed when pymemcache backend is used but this library is not required by the oslo.cache library or its dependencies and should be installed additionally. Closes-Bug: #1988205 Change-Id: I9422af416e74c53e09f6216bcbeab234337ccbae |
||
|
Takashi Kajinami
|
c47f5dbc4f |
Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit
|
||
|
Takashi Kajinami
|
2ad73a71c0 |
db: Remove MongoDB backend support
Support for MongoDB backend was used by puppet-ceilometer but it is no longer used since MongoDB was replaced by Gnocchi. Because we no longer expect any real use case, this change removes the implementation directly with deprecation skipped. Change-Id: I5203cefe77c6c1410842fa7c530f98761fe65ed4 |
||
|
Zuul
|
19143c3932 | Merge "Split oslo::service defined type" | ||
|
Takashi Kajinami
|
efd1146993 |
log: Accept array for default_log_levels
Currently the default_log_levels parameter accepts only hash or string. This change adds support for an array value, so that users can use an array of 'logger=LEVEL' strings. Change-Id: I8c4358128438700430645df132882ec46a8885b9 |
||
|
Takashi Kajinami
|
19862b0f18 |
Split oslo::service defined type
The oslo::service defined type was added a long ago but has never been used by any other modules so far. The main blocker is that the type manages not only common service parameters but also wsgi/ssl parameters which are specific to api services. This change splits the defined type to smaller modules so that we can reuse the implementation. Because the defined type is not used by any other modules at this moment, and we don't expect direct usage of these resource type(*1), this change is backword-incompatible. (*1) Technically it can be used but cause multiple conflicts. Change-Id: If524155bf2d0dda964c6b451d7b26f36481514f5 |
||
|
Takashi Kajinami
|
95544711d4 |
cache: Add inet6 prefix for only memcached backends
The inet6 prefix is required only by backends dependent on python-memcached and SHOULD NOT be added when the other backends like pymemcache backend are used. Closes-Bug: #1965318 Change-Id: I351bd1f291b9e948cb73592a5a742d051a048d00 |
||
|
Takashi Kajinami
|
fe04834873 |
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: I81ed92c6027778cf374a210d383cce8a62fec8c3 |
||
|
Takashi Kajinami
|
9038a5badd |
privsep: Allow customizing section name
Some components uses sections not following the current name template
(privsep_${section}) to register oslo.privsep parameters. For example
nova registers the parameters to the nova_sys_admin section.
This change allows overriding the section name to deal with such cases.
Change-Id: Icaf88ebaaf72d6810d9ded119a9998538eb09869
|
||
|
Hervé Beraud
|
34e1446f44 |
Add pymemcache's HashClient retrying options to oslo.cache
This patch specifies a set of options required to setup pymemcache's HashClient retrying feature (dogpile.cache) cache backend. Original oslo.cache change: https://review.opendev.org/c/openstack/oslo.cache/+/824944 Change-Id: I90d8e2b0cf231c9bd0fe97d4f363795886ccf8c7 |
||
|
Hervé Beraud
|
f7dbe8aa5f |
Add retrying options to oslo.cache
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 Change-Id: If4622f85e1e7f715805b205bfc3c16cb1e53b943 |
||
|
Zuul
|
19ad5b2fa1 | Merge "Add socket keepalive options for the pymemcache backend" | ||
|
Grzegorz Grasza
|
60495a42c9 |
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. Depends-On: https://review.opendev.org/803716 Change-Id: I7deed1bca1ce2f715967e966d4b0cedc1f227027 |
||
|
Takashi Kajinami
|
f898c0f8dd |
Ensure kombu_ssl_certfile and kombu_ssl_keyfile are used together
This change migrate the validation from puppet-designate/neutron to the common place, because the requirement is valid for all components. Change-Id: I0cbd9d22b53ae2f966f0a007231a9003dc03b36e |
||
|
Takashi Kajinami
|
f91cf63560 |
barbican_service_user: Accept system scope credential
This change allows usage of system scope credentials in addition to project scope credentials, to use service user token when accessing Barbican API. Change-Id: I3ab30adbae3e805aee36bd32854e5490b19b0097 |
||
|
Takashi Kajinami
|
937fcf0644 |
Accept system scope credentials for Unified Limits API
This change allows usage of system scope credentials in addition to project scope credentials to use the Unified Limits API in Keystone. Change-Id: If4f1633c6dd7adf4b80c0a8cc83ddd3d025d099b |
||
|
Takashi Kajinami
|
9da6c6d9fc |
[oslo_limit] password should be secret
Change-Id: I5b6431e93e3359cedb07192579258f9bc24b37c9 |
||
|
Takashi Kajinami
|
056a1db578 |
Remove deprecated oslo_config
... because it was deprecated a while ago[1], and has not been used
actually.
[1]
|