From 6215d9d523480a9562b2a7c585cbf71323841727 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 16 Nov 2023 14:46:43 +0900 Subject: [PATCH] Warn ineffective host_uuid parameter The host_uuid parameter has no effect unless override_uuid is set to true. This adds a warning message to let users aware of possible misconfiguration. Change-Id: I48e23ebde377ce11194243b80fcf6a57c61b28d0 --- manifests/migration/libvirt.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/migration/libvirt.pp b/manifests/migration/libvirt.pp index 0478c54b6..2bcf88fec 100644 --- a/manifests/migration/libvirt.pp +++ b/manifests/migration/libvirt.pp @@ -266,6 +266,10 @@ class nova::migration::libvirt( require => Package['libvirt'], } } + } else { + if $host_uuid { + warning('host_uuid has no effect when override_uuid is false') + } } if $transport == 'tls' {