]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Fix the virt plugin for Openstack wallaby and later use (#4011)
authorMatthias Runge <mrunge@redhat.com>
Tue, 7 Jun 2022 09:16:34 +0000 (11:16 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 09:16:34 +0000 (11:16 +0200)
* 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

index 3c5fd8ec0b72006261ec20b67d6a07674978fc09..4ba0d07cd697a7be8f2c120b6251613fa803aa6c 100644 (file)
@@ -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;