From b4bdc7a8486683533185db34f97fd0f219fdc36b Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Tue, 7 Jun 2022 11:16:34 +0200 Subject: [PATCH] Fix the virt plugin for Openstack wallaby and later use (#4011) * Fix formatting for the send queue option * Later OpenStack versions use Nova version 1.1 In later OpenStack versions, the namespace for Nova changed, reflecting in a change for the XML description for the virtual machine. --- src/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virt.c b/src/virt.c index 3c5fd8ec0..4ba0d07cd 100644 --- a/src/virt.c +++ b/src/virt.c @@ -736,7 +736,7 @@ static void set_field_from_metadata(value_list_t *vl, virDomainPtr dom, const char *namespace = NULL; if (hm_ns == NULL) { - namespace = "http://openstack.org/xmlns/libvirt/nova/1.0"; + namespace = "http://openstack.org/xmlns/libvirt/nova/1.1"; } // namespace =hm_ns; else { namespace = hm_ns; -- 2.47.3