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
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Iff542dd7e257a620c4377a369cb548517424f0db
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
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
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Ie479fa9b6a6386810a28538dac0033d3bc0c10a9
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I1355983024146ddc22128f6affcd67b2036b4848
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
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
This updates the manifest used in acceptance tests according to
the recent implementations in p-o-i manifests.
Change-Id: I9fa8ecf4bc799a086388372a5edd0419053e81ff
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Icb5ec32b27dd2c092862c4499d0f213ddf551d48
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
This removes a few parameters deprecated in favor of the new
cloudkitty::fetcher::keystone class.
[1] 4e6806f54f
Change-Id: I0e363d7269bfea31464d8d74b07828bebd792c3a
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Ia5ecf568545d11a10cd35f064af85e43136ce838
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: I20a381329797402627cb14a6104014fae7ac839d
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
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
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
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
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