* Update puppet-cloudkitty from branch 'master'
to bab0698ce2812aa8906d0c82cc324710b64b0823
- Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I3f42cd9e677a043e4aedb5b5bcf3bf5363950260
* Update puppet-cloudkitty from branch 'master'
to 92afc5345827a075949e3cec64522c5ca7a2602f
- Merge "reno: Update master for unmaintained/xena"
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I0d5c1f843b5662b38c939f8941d7bdc1488058d4
* Update puppet-cloudkitty from branch 'master'
to 8e7c0d5d2ee5ae6b8ef9d0dad8b2e954850c5076
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I4f159152eb1d72c7e11c385d443c8a36c00908e2
* Update puppet-cloudkitty from branch 'master'
to cf202a64f5c4a82ef3a173a8ab63ee4a63366788
- Merge "Stop hard-coding config file for db sync"
- Stop hard-coding config file for db sync
The cloudkitty-storage-init command by default loads
/etc/cloudkitty/cloudkitty.conf. Removing the override allows us to use
additional paths such as cloudkitty.conf.d in the future.
Change-Id: I3109005c76a1ffd8f23b3aebd92861a0a4fb419a
* Update puppet-cloudkitty from branch 'master'
to c90443d361297630569b8518dff2664d605fc0d0
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I1dfc3e4bb361df2c43fff11c7b909078ea2c5385
* Update puppet-cloudkitty from branch 'master'
to 4bf6dd0f4b988ea19f8798b281c33199ca1e44d1
- healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.
Depends-on: https://review.opendev.org/905557
Change-Id: Ia9b0534f4e4a6b0d2325ccef318f35ef3789eb08
* Update puppet-cloudkitty from branch 'master'
to 6c6c3011a871af652273169abdc8cf8a33e79a5d
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Iff542dd7e257a620c4377a369cb548517424f0db
* Update puppet-cloudkitty from branch 'master'
to 6d5c736e357e94787ac8193b8df8128129c7a9c8
- Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Idc0c1839bfaab27a216815e74ef14a4fc4e38be3
* Update puppet-cloudkitty from branch 'master'
to 6394817cb1f4eeeaccd08d04236dfab73a089ee4
- 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] 316d95923c
Change-Id: I891b85fdba76186a2b97683526ac05d483dc6ff9
* Update puppet-cloudkitty from branch 'master'
to c348a42a6c721966aaeb561ad985c86db0bec80b
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Ie479fa9b6a6386810a28538dac0033d3bc0c10a9
* Update puppet-cloudkitty from branch 'master'
to eee7ff04b4868f8c76c5778dbf001be133d851bc
- Merge "RabbitMQ: Add support for quorum queue options"
- RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: Ia11d14110a0a49056b4e582c20d360cf2953c28f
* Update puppet-cloudkitty from branch 'master'
to 6181d2856cc3cc5e2fd0f1ebf0ee2b78f8b85a3d
- Merge "Remove unused dashboard package name"
- Remove unused dashboard package name
The usage has been removed by [1].
[1] 71ad6471e970c18a7ec6dc0a9391e5bf988a3e78
Change-Id: I1e7f9bef192c8f291817244b7cd9d8e81e836d6d
* Update puppet-cloudkitty from branch 'master'
to 48a9ace870d595c19dff60d496b1c040d03fbaed
- Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I1355983024146ddc22128f6affcd67b2036b4848
* Update puppet-cloudkitty from branch 'master'
to dc2ab9e5a27e1b75ed06b2291b299ca0ea677bb5
- Add missing fetcher_keystone options
We've seen workers of cloudkitty-processor continuously crash with
the following traceback logged in syslog
Traceback (most recent call last):
File "/usr/lib64/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib64/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.9/site-packages/cotyledon/_utils.py", line 63, in _bootstrap_process
target(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/cotyledon/_service.py", line 161, in create_and_wait
sw = cls(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/cotyledon/_service.py", line 175, in __init__
self.service = config.service(worker_id, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/cloudkitty/orchestrator.py", line 552, in __init__
self.fetcher = driver.DriverManager(
File "/usr/lib/python3.9/site-packages/stevedore/driver.py", line 54, in __init__
super(DriverManager, self).__init__(
File "/usr/lib/python3.9/site-packages/stevedore/named.py", line 78, in __init__
extensions = self._load_plugins(invoke_on_load,
File "/usr/lib/python3.9/site-packages/stevedore/extension.py", line 218, in _load_plugins
self._on_load_failure_callback(self, ep, err)
File "/usr/lib/python3.9/site-packages/stevedore/extension.py", line 206, in _load_plugins
ext = self._load_one_plugin(ep,
File "/usr/lib/python3.9/site-packages/stevedore/named.py", line 156, in _load_one_plugin
return super(NamedExtensionManager, self)._load_one_plugin(
File "/usr/lib/python3.9/site-packages/stevedore/extension.py", line 242, in _load_one_plugin
obj = plugin(*invoke_args, **invoke_kwds)
File "/usr/lib/python3.9/site-packages/cloudkitty/fetcher/keystone.py", line 71, in __init__
auth_url=self.auth.auth_url)
AttributeError: 'NoneType' object has no attribute 'auth_url'
This adds the fetcher_keystone options to avoid that error.
Change-Id: I27530c279afd21f8b32ee6aa44ec194ac019887c
* Update puppet-cloudkitty from branch 'master'
to 4ae2f42a7af03b84540ccc9980fc9063bda221f4
- fetcher_keystone: Fix ignored auth_type
The class parameter has been ignored and the given value was not put
in the config file properly. This fixes the problem.
Change-Id: I764a98553b766e64fad71d418f4158a47e413282
* Update puppet-cloudkitty from branch 'master'
to 8d52c71e5e1290d51c4886b9c85add09f92c2053
- Configure [orchestration] option in acceptance tests
... so that we can test the behavior of coordination backend
configuration.
Change-Id: I45b62e7329dd610dd9e6ab84628b247657d88bf9
* Update puppet-cloudkitty from branch 'master'
to 77037f6a19c0224f484757b3722ce41f0ab9650b
- Merge "Modernize manifest in acceptance tests"
- Modernize manifest in acceptance tests
This updates the manifest used in acceptance tests according to
the recent implementations in p-o-i manifests.
Change-Id: I9fa8ecf4bc799a086388372a5edd0419053e81ff
* Update puppet-cloudkitty from branch 'master'
to 1653b7a57a3e49aefd5c4c9915bac090cf653e09
- Merge "Enable memcached in acceptance tests"
- Enable memcached in acceptance tests
Now memcached is used as cache backend for some services and authtoken
middleware.
Change-Id: I0195d54a4801926699652a2b1c2c453c854bfdb9
* Update puppet-cloudkitty from branch 'master'
to a8f9d71c74166b295fe08d00f9d06ec898e3d548
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Icb5ec32b27dd2c092862c4499d0f213ddf551d48
* Update puppet-cloudkitty from branch 'master'
to f83ed56ce6465042fdccf5e3063b0863195e7c35
- Add .pdkignore to exclude some files from tar ball
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: If6244e03bce32e4a276223a3b71e294a253fd278
* Update puppet-cloudkitty from branch 'master'
to 9869a67a9db53d3be0270c0fc615283b415cd83c
- Clean up deprecated parameters
This removes a few parameters deprecated in favor of the new
cloudkitty::fetcher::keystone class.
[1] 4e6806f54fbb11d11ec07cd04bae3943cf066ecd
Change-Id: I0e363d7269bfea31464d8d74b07828bebd792c3a
* Update puppet-cloudkitty from branch 'master'
to 48b65769ae8543c671b535864521f5c8ae4b796f
- Merge "Ensure purge_config takes a boolean value"
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Ia5ecf568545d11a10cd35f064af85e43136ce838
* Update puppet-cloudkitty from branch 'master'
to 4e8261a4f017ff7da925aebb24884c862b44d156
- Merge "authtoken: Ensure correct type for password"
- authtoken: Ensure correct type for password
... and make parameter order consistent in parameter descriptions and
parameter definitions.
Change-Id: I1eba204a1928f954aae116b97fe95e7dfce46b34
* Update puppet-cloudkitty from branch 'master'
to 1e4ff9bb9984aed836d67fc5f020196e991b938b
- Replace remaining validate_legacy
This was overlooked during the previous attempt.
Change-Id: I76c64575f3236fc041fa884b2025a319d8ed65dc
* Update puppet-cloudkitty from branch 'master'
to 2abda4f574fe9b152f45af67ddefe75b20459aa3
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I7eda28c684af2def0d4acacfa5ba453ef02b42a3
* Update puppet-cloudkitty from branch 'master'
to 41fa1ac8dde5b712b3f5a3784efc17e6f6a2c79d
- Merge "Add strict validation about boolean parameters"
- Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: I20a381329797402627cb14a6104014fae7ac839d
* Update puppet-cloudkitty from branch 'master'
to bf8e2264e9f38f75f95b2473876e032d74745062
- Merge "replace validate_legacy with proper data types"
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I562568fe0e68b98bd80e4b7e1d20644a54d086df
* Update puppet-cloudkitty from branch 'master'
to 90e8c0ee7cd84e67c649bb2ee08bd5eebcf37346
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: Ie33403b00bf8154d3357bd3baaed33bd19bcee67
* Update puppet-cloudkitty from branch 'master'
to 95b7d0c2c93c34699f90621deb5a9294231ec831
- Merge "Bump upper version of puppetlabs-inifile"
- Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.
Depends-on: https://review.opendev.org/880118
Change-Id: Ifc8631770da94aef98e536393e33c69160288377
* Update puppet-cloudkitty from branch 'master'
to a98e603e5dd0a65b23fe15b5fac162ee052390af
- Fix cloudkitty dashboard package name
Both Debian and Ubuntu are using python3-cloudkitty-dashboard,
not cloudkitty-dashboard, as package name. Let's fix this
(so the Debian specific patch can be removed form pacakging).
Change-Id: I990398d27da898a60fc5c5991e6c2c3c5aa36672
* Update puppet-cloudkitty from branch 'master'
to 8c6220f3eb750d34a66af5c740c3e104a970d4e9
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I7b8de662f7c1a182916ca3c594791ed06e11e327
* Update puppet-cloudkitty from branch 'master'
to 70d66f8f554873934d15ed0941f0d1e1a44a9be7
- [orchestrator] coordination_url should be hidden
The coordination_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.
[orchestrator]
coordination_url=redis://:password@127.0.0.1:6379
Closes-Bug: #2012246
Change-Id: Iba1e7715b290ee4c104f11221e250b23936b12dc
* Update puppet-cloudkitty from branch 'master'
to 25e2da3b420695351913f7cf35995ec9bb6bb73d
- Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: I8986bcb5fdd5d1c28aa0e706267f689b894f7167
* Update puppet-cloudkitty from branch 'master'
to b5af91b7ffc33ceba24d658a10c8a2fd66bf9158
- Expose policy_default_rule
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: Ia4e917d879a175c1919131bfa0bee9d679fe1a76
* Update puppet-cloudkitty from branch 'master'
to 03f9eee13f919d12b7188ea7029bf2b0a3a55229
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: Ie1e26e53ebd89ccfb17cb690680a6623c8fb39a4
* Update puppet-cloudkitty from branch 'master'
to 0b17c5f1d09eb908fd54a7b8f5c40569938224a6
- Update master for stable/zed
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: I772b127039f085f6082afba2e57e7971a2acd05a
* Update puppet-cloudkitty from branch 'master'
to d89093fa761d7dd3330daac6b766ea0abb44b2cd
- Add Apache WSGI logging parameters for pipe/syslog
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: Iee4cf4b3e20d16624b89f6b004cc857ed5288510
* Update puppet-cloudkitty from branch 'master'
to cdcc255735f2b5aafa6f6bcfe4c46ed9b84a6766
- Merge "Add support for Elasticsearch storage backend"
- Add support for Elasticsearch storage backend
Change-Id: I9b3b74f3c32a43ae982f0c429c95819dc387bf80
* Update puppet-cloudkitty from branch 'master'
to 975f0e2dfb97abe13cfe5801b414b9dba3a81924
- Merge "Ubuntu/Debian: Enable deployment in acceptance tests"
- Ubuntu/Debian: Enable deployment in acceptance tests
... because cloudkitty packages are already available in these
operating systems.
Change-Id: Ieae898cd718377d7ad0494cd5051651ed90dcdd2
* Update puppet-cloudkitty from branch 'master'
to d3f0a4852a4c198330e7ee39a66e619183104922
- Remove remaining hard-coded OS user/group
This replaces one remaining hard-coded user which was left by
the previous attempt[1] to remove individual hard-codes.
[1] 4828d650b3c19e96438eaedd10a652b6aaff2aa0
Change-Id: Iba7e9af291621deeca7651ef9f67ddce453180af
* Update puppet-cloudkitty from branch 'master'
to 021f77ca196a9147bc35f3cea1507ebea415c0f4
- Merge "Adapt to new type validation in puppetlabs-apache"
- Adapt to new type validation in puppetlabs-apache
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: Idd4918618831ffab98db91fa90ae493775373bc9
* Update puppet-cloudkitty from branch 'master'
to 92e60c353a4c8d722e2146875547692e839ecf9d
- Merge "Expose headers option of apache::vhost"
- Expose headers option of apache::vhost
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: I4ff7ea57f9c1b29b2209506969497b773cef02ec
* Update puppet-cloudkitty from branch 'master'
to 1aab15afc9441715d67f1a8efcf3f092f53789dd
- Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 62e136b0374cb6ebba1e385ba8b911b81a4973bf.
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: Ibe9ea9a9442ec69be226e150b424401ff733128b