When libvirt service name is false then the core libvirt package is not
managed. So the libvir-daemon package should be also unmanaged.
Change-Id: I89ca6864ae476f5081fca65512caafae7642802e
Avoid testing details of nova::compute::libvirt::services in the unit
tests for nova::compute::libvirt, so that we don't have to maintain
test implementations about the same resources in two places.
Change-Id: I2702ce1ac20e68a933a10a5b9066661d96f56fe7
The package is no longer used by nova, since the firewall feature was
removed from nova during ussuri cycle[1].
[1] 9b321e41f60be5d4111c8312b40c826454386c53
Closes-Bug: #2067867
Change-Id: I9fb3193d10b8c23dcf7eb1d4549ee04776d9959d
The legacy fact has been deprecated and is no longer available in
Puppet 8. Use the structured one to access fact values in tests so that
we use the consistent method for fact value access.
This change also fixes ignored unit tests of nova::migration::libvirt
with modular libvirt daemons.
Change-Id: I852facc2ee0ad2a948821f4232a1e8fc20ce4957
Fix the following error detected by puppet 8.
Munging failed for value true in class is_public: undefined method `=~'
for true:TrueClass ...
Change-Id: I7d078ea72c5c1c4898247f61422986f277ee9a98
The base implementation in puppet-oslo was deprecated during the 2023.2
cycle[1], so can be removed now.
[1] e174113210699b433dbae4c2c5a68bc3d269b5c3
Change-Id: I80ff34199b00a47d105f76260fdcf33fd54032ff
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