This migrates the libvirt secret handling in the
nova::compute::rbd class to using the new
secret_ceph definition.
We also deprecate the rbd_keyring approach were
we now require the usage of libvirt_rbd_secret_key
if manage_libvirt_secret is set to true (the default)
and we have a libvirt_rbd_secret_uuid given.
Change-Id: I8be56ebfc7c7ed6fb6d1d92f0ffec4a6d714a5d1
This adds the nova::compute::libvirt::secret_ceph
resource definition that can be used to define
libvirt secrets of ceph type.
Before this patch one could only handle one libvirt
secret by configuring the parameters in the
nova::compute::rbd class and with this one can
configure multiple.
This adds a new manage_libvirt_secret parameter
defaulting to true in the nova::compute::rbd class
so that one can disable the creation of the libvirt
secret from that class.
Change-Id: Ief031f5dd4b0648d5629789cb7d6d2f6f946fbf8
The parameter was deprecated in 23.0.0 release (2023.1)[1] and has had
no effect since then.
[1] 9d97a00634
Change-Id: Icc1b7f412c49f350c35be7f4a2fe9278808f6e15
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: Ib322810b94af80e7bef166d78083b0b2f39785d4
The parameter descriptions says the value should be a positive integer
(or 0). Validate the given value to reject invalid values such as
strings or even negative values.
Change-Id: Ib0937e1c3f6f97959b59e2c5812e3dfe696b6dba
The ironic driver now provides a few options to distribute baremetal
node management among multilple nova-compute.
Change-Id: I7fbceb00422c2bd6ae7d594321fe09789fe0a3f3
The live_migration_uri option was deprecated in favor of the new
live_migration_(scheme|inbound_addr) options.
Note that the new options does not allow customizing some parameters
for ssh, which were possible by the deprecated _uri option, so
the legacy option is still used if a user requests any of the options
currently not configurable by the new options.
Related-Bug: #1680729
Change-Id: I88c9777999cb091b8570c642e75b0332fb103294
Make sure that nova_flavor resource is idempotent when the "properties"
property is set. Also fix the typo causing undefined method error.
Closes-Bug: #2059949
Change-Id: I17a9d92c44b8dfe329b22b309d7a0408df707d1a
The parameter description says the option is required, but it hasn't
been actually required at the interface layer.
Change-Id: Ieabd550ebbb3e1407969866ba280ced7d4db2663
The uriescape function from puppetlabs-stdlib is no longer functional
in Puppet 8, because the URI.escape, which is internally used by that
function, is no longer available in Ruby 3+.
This replaces the function by own function to avoid the failure in
Puppet 8.
Closes-Bug: #2057860
Change-Id: I7b4db4c1e64416e20d8470cbff0b8497c6a0cfc9
The device_addresses option defaults to an empty list ([]), so we don't
have to replace an empty string value by the os_service_default fact.
Change-Id: I244e80ff8a5d393fb94e8a4e635401eb88936b39
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces for these parameters.
Depneds-on: https://review.opendev.org/910629
Change-Id: I0e7fa1e2134ec2cfcf1ae078e3fcf75b946dd699
This refactors resource dependencies to improve the following points.
- Avoid unnecessary dependencies across services. For example aodh
service does not require cinder db.
- Restart only api service when config files like paste.ini, which
are used only be api service is changed.
Change-Id: Id4916244bdf4cd4ff2b45a45ec3e25fb0d115249