← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2076163] [NEW] Persistent mdev support does not work with < libvirt 8.10 due to missing VIR_NODE_DEVICE_CREATE_XML_VALIDATE

 

Public bug reported:

The persistent mdev feautre passes that flag but that flag was only
supported since libvirt 8.10.0 so with older libvirt like 7.3.0 (min
persistent mdev) or 8.0.0 (ubuntu 22.04) the persistent mdev feature
cannot be enabled as nova-compute will fail due to the missing constant.

XML validation is just a nice to have feature so we can make that flag
optional and only pass it if libvirt is >= 8.10.0

https://github.com/openstack/nova/commit/74befb68a79f8bff823fe067e0054504391ee179#diff-67d0163175a798156def4ec53c18fa2ce6eba79b6400fa833a9219d3669e9a11R1267
https://github.com/libvirt/libvirt/commit/d8791c3c7caa6e3cadaf98a5a2c94b232ac30fed

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: libvirt mdev

** Tags added: libvirt mdev

** Description changed:

  The persistent mdev feautre passes that flag but that flag was only
  supported since libvirt 8.10.0 so with older libvirt like 7.3.0 (min
  persistent mdev) or 8.0.0 (ubuntu 22.04) the persistent mdev feature
  cannot be enabled as nova-compute will fail due to the missing constant.
  
  XML validation is just a nice to have feature so we can make that flag
- optional and only pass it if libvirt is > 8.10.0
+ optional and only pass it if libvirt is >= 8.10.0
  
  https://github.com/openstack/nova/commit/74befb68a79f8bff823fe067e0054504391ee179#diff-67d0163175a798156def4ec53c18fa2ce6eba79b6400fa833a9219d3669e9a11R1267
  https://github.com/libvirt/libvirt/commit/d8791c3c7caa6e3cadaf98a5a2c94b232ac30fed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2076163

Title:
  Persistent mdev support does not work with < libvirt 8.10 due to
  missing VIR_NODE_DEVICE_CREATE_XML_VALIDATE

Status in OpenStack Compute (nova):
  New

Bug description:
  The persistent mdev feautre passes that flag but that flag was only
  supported since libvirt 8.10.0 so with older libvirt like 7.3.0 (min
  persistent mdev) or 8.0.0 (ubuntu 22.04) the persistent mdev feature
  cannot be enabled as nova-compute will fail due to the missing
  constant.

  XML validation is just a nice to have feature so we can make that flag
  optional and only pass it if libvirt is >= 8.10.0

  https://github.com/openstack/nova/commit/74befb68a79f8bff823fe067e0054504391ee179#diff-67d0163175a798156def4ec53c18fa2ce6eba79b6400fa833a9219d3669e9a11R1267
  https://github.com/libvirt/libvirt/commit/d8791c3c7caa6e3cadaf98a5a2c94b232ac30fed

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2076163/+subscriptions



Follow ups