← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2018172] [NEW] domain configuration does not support video model 'virtio'

 

Public bug reported:

Hi, im recently deployed OSP Yoga / Zed above Rhel9.1 and i have an
issue when try to deploy a new instances that fail with some virtio
driver model:

nova-conductor.log>

2023-04-29 22:01:09.506 1931 ERROR nova.scheduler.utils [None req-
ebe96b55-f5a0-43a2-b345-3626e48f4ae5 818e3950dde944668dfb8956b3052d80
029a62223a4948a0894f2538ae57a098 - - default default] [instance:
1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42] Error from last host: ospcloudmh-
compute-2.local.lan (node ospcloudmh-compute-2.local.lan): ['Traceback
(most recent call last):\n', '  File "/usr/lib/python3.9/site-
packages/nova/compute/manager.py", line 2517, in
_build_and_run_instance\n    self.driver.spawn(context, instance,
image_meta,\n', '  File "/usr/lib/python3.9/site-
packages/nova/virt/libvirt/driver.py", line 4366, in spawn\n
self._create_guest_with_network(\n', '  File "/usr/lib/python3.9/site-
packages/nova/virt/libvirt/driver.py", line 7724, in
_create_guest_with_network\n    self._cleanup(\n', '  File
"/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in
__exit__\n    self.force_reraise()\n', '  File "/usr/lib/python3.9/site-
packages/oslo_utils/excutils.py", line 200, in force_reraise\n    raise
self.value\n', '  File "/usr/lib/python3.9/site-
packages/nova/virt/libvirt/driver.py", line 7701, in
_create_guest_with_network\n    guest = self._create_guest(\n', '  File
"/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line
7635, in _create_guest\n    guest = libvirt_guest.Guest.create(xml,
self._host)\n', '  File "/usr/lib/python3.9/site-
packages/nova/virt/libvirt/guest.py", line 154, in create\n
LOG.error(\'Error defining a guest with XML: %s\',\n', '  File
"/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in
__exit__\n    self.force_reraise()\n', '  File "/usr/lib/python3.9/site-
packages/oslo_utils/excutils.py", line 200, in force_reraise\n    raise
self.value\n', '  File "/usr/lib/python3.9/site-
packages/nova/virt/libvirt/guest.py", line 151, in create\n    guest =
host.write_instance_config(xml)\n', '  File "/usr/lib/python3.9/site-
packages/nova/virt/libvirt/host.py", line 1228, in
write_instance_config\n    domain =
self.get_connection().defineXML(xml)\n', '  File
"/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 193, in
doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', '
File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 151, in
proxy_call\n    rv = execute(f, *args, **kwargs)\n', '  File
"/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 132, in
execute\n    six.reraise(c, e, tb)\n', '  File "/usr/lib/python3.9/site-
packages/six.py", line 709, in reraise\n    raise value\n', '  File
"/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 86, in
tworker\n    rv = meth(*args, **kwargs)\n', '  File
"/usr/lib64/python3.9/site-packages/libvirt.py", line 4456, in
defineXML\n    raise libvirtError(\'virDomainDefineXML() failed\')\n',
"libvirt.libvirtError: unsupported configuration: domain configuration
does not support video model 'virtio'\n", '\nDuring handling of the
above exception, another exception occurred:\n\n', 'Traceback (most
recent call last):\n', '  File "/usr/lib/python3.9/site-
packages/nova/compute/manager.py", line 2340, in
_do_build_and_run_instance\n    self._build_and_run_instance(context,
instance, image,\n', '  File "/usr/lib/python3.9/site-
packages/nova/compute/manager.py", line 2613, in
_build_and_run_instance\n    raise exception.RescheduledException(\n',
"nova.exception.RescheduledException:

Build of instance 1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42 was re-scheduled:
unsupported configuration: domain configuration does not support video
model 'virtio'

i find this issue: https://bugs.launchpad.net/nova/+bug/1999803 that
recommend to install this dependencies:

qemu-kvm-ui-opengl
qemu-kvm-device-display-virtio-gpu
qemu-kvm-device-display-virtio-gpu-gl
qemu-kvm-device-display-virtio-gpu-pci
qemu-kvm-device-display-virtio-gpu-pci-gl
qemu-kvm-device-display-virtio-vga
qemu-kvm-device-display-virtio-vga-gl
qemu-kvm-device-usb-host
qemu-kvm-device-usb-redirect

But after install i cant deploy new instances and the error still.

Thanks

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

- Hi, im recently deployed OSP Yoga / Zed and i have an issue when try to
- deploy a new instances that fail with some virtio driver model:
+ Hi, im recently deployed OSP Yoga / Zed above Rhel9.1 and i have an
+ issue when try to deploy a new instances that fail with some virtio
+ driver model:
  
  nova-conductor.log>
  
  Build of instance 1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42 was re-scheduled:
  unsupported configuration: domain configuration does not support video
  model 'virtio'
  
- 
- i find this issue: https://bugs.launchpad.net/nova/+bug/1999803 that recommend to install this dependencies:
+ i find this issue: https://bugs.launchpad.net/nova/+bug/1999803 that
+ recommend to install this dependencies:
  
  qemu-kvm-ui-opengl
  qemu-kvm-device-display-virtio-gpu
  qemu-kvm-device-display-virtio-gpu-gl
  qemu-kvm-device-display-virtio-gpu-pci
  qemu-kvm-device-display-virtio-gpu-pci-gl
  qemu-kvm-device-display-virtio-vga
  qemu-kvm-device-display-virtio-vga-gl
  qemu-kvm-device-usb-host
  qemu-kvm-device-usb-redirect
  
- 
  But after install i cant deploy new instances and the error still.
  
- 
  Thanks

** Description changed:

  Hi, im recently deployed OSP Yoga / Zed above Rhel9.1 and i have an
  issue when try to deploy a new instances that fail with some virtio
  driver model:
  
  nova-conductor.log>
+ 
+ 2023-04-29 22:01:09.506 1931 ERROR nova.scheduler.utils [None req-
+ ebe96b55-f5a0-43a2-b345-3626e48f4ae5 818e3950dde944668dfb8956b3052d80
+ 029a62223a4948a0894f2538ae57a098 - - default default] [instance:
+ 1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42] Error from last host: ospcloudmh-
+ compute-2.local.lan (node ospcloudmh-compute-2.local.lan): ['Traceback
+ (most recent call last):\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/compute/manager.py", line 2517, in
+ _build_and_run_instance\n    self.driver.spawn(context, instance,
+ image_meta,\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/virt/libvirt/driver.py", line 4366, in spawn\n
+ self._create_guest_with_network(\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/virt/libvirt/driver.py", line 7724, in
+ _create_guest_with_network\n    self._cleanup(\n', '  File
+ "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in
+ __exit__\n    self.force_reraise()\n', '  File "/usr/lib/python3.9/site-
+ packages/oslo_utils/excutils.py", line 200, in force_reraise\n    raise
+ self.value\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/virt/libvirt/driver.py", line 7701, in
+ _create_guest_with_network\n    guest = self._create_guest(\n', '  File
+ "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line
+ 7635, in _create_guest\n    guest = libvirt_guest.Guest.create(xml,
+ self._host)\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/virt/libvirt/guest.py", line 154, in create\n
+ LOG.error(\'Error defining a guest with XML: %s\',\n', '  File
+ "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in
+ __exit__\n    self.force_reraise()\n', '  File "/usr/lib/python3.9/site-
+ packages/oslo_utils/excutils.py", line 200, in force_reraise\n    raise
+ self.value\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/virt/libvirt/guest.py", line 151, in create\n    guest =
+ host.write_instance_config(xml)\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/virt/libvirt/host.py", line 1228, in
+ write_instance_config\n    domain =
+ self.get_connection().defineXML(xml)\n', '  File
+ "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 193, in
+ doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', '
+ File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 151, in
+ proxy_call\n    rv = execute(f, *args, **kwargs)\n', '  File
+ "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 132, in
+ execute\n    six.reraise(c, e, tb)\n', '  File "/usr/lib/python3.9/site-
+ packages/six.py", line 709, in reraise\n    raise value\n', '  File
+ "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 86, in
+ tworker\n    rv = meth(*args, **kwargs)\n', '  File
+ "/usr/lib64/python3.9/site-packages/libvirt.py", line 4456, in
+ defineXML\n    raise libvirtError(\'virDomainDefineXML() failed\')\n',
+ "libvirt.libvirtError: unsupported configuration: domain configuration
+ does not support video model 'virtio'\n", '\nDuring handling of the
+ above exception, another exception occurred:\n\n', 'Traceback (most
+ recent call last):\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/compute/manager.py", line 2340, in
+ _do_build_and_run_instance\n    self._build_and_run_instance(context,
+ instance, image,\n', '  File "/usr/lib/python3.9/site-
+ packages/nova/compute/manager.py", line 2613, in
+ _build_and_run_instance\n    raise exception.RescheduledException(\n',
+ "nova.exception.RescheduledException:
  
  Build of instance 1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42 was re-scheduled:
  unsupported configuration: domain configuration does not support video
  model 'virtio'
  
  i find this issue: https://bugs.launchpad.net/nova/+bug/1999803 that
  recommend to install this dependencies:
  
  qemu-kvm-ui-opengl
  qemu-kvm-device-display-virtio-gpu
  qemu-kvm-device-display-virtio-gpu-gl
  qemu-kvm-device-display-virtio-gpu-pci
  qemu-kvm-device-display-virtio-gpu-pci-gl
  qemu-kvm-device-display-virtio-vga
  qemu-kvm-device-display-virtio-vga-gl
  qemu-kvm-device-usb-host
  qemu-kvm-device-usb-redirect
  
  But after install i cant deploy new instances and the error still.
  
  Thanks

-- 
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/2018172

Title:
  domain configuration does not support video model 'virtio'

Status in OpenStack Compute (nova):
  New

Bug description:
  Hi, im recently deployed OSP Yoga / Zed above Rhel9.1 and i have an
  issue when try to deploy a new instances that fail with some virtio
  driver model:

  nova-conductor.log>

  2023-04-29 22:01:09.506 1931 ERROR nova.scheduler.utils [None req-
  ebe96b55-f5a0-43a2-b345-3626e48f4ae5 818e3950dde944668dfb8956b3052d80
  029a62223a4948a0894f2538ae57a098 - - default default] [instance:
  1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42] Error from last host:
  ospcloudmh-compute-2.local.lan (node ospcloudmh-compute-2.local.lan):
  ['Traceback (most recent call last):\n', '  File
  "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2517,
  in _build_and_run_instance\n    self.driver.spawn(context, instance,
  image_meta,\n', '  File "/usr/lib/python3.9/site-
  packages/nova/virt/libvirt/driver.py", line 4366, in spawn\n
  self._create_guest_with_network(\n', '  File "/usr/lib/python3.9/site-
  packages/nova/virt/libvirt/driver.py", line 7724, in
  _create_guest_with_network\n    self._cleanup(\n', '  File
  "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227,
  in __exit__\n    self.force_reraise()\n', '  File
  "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200,
  in force_reraise\n    raise self.value\n', '  File
  "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line
  7701, in _create_guest_with_network\n    guest =
  self._create_guest(\n', '  File "/usr/lib/python3.9/site-
  packages/nova/virt/libvirt/driver.py", line 7635, in _create_guest\n
  guest = libvirt_guest.Guest.create(xml, self._host)\n', '  File
  "/usr/lib/python3.9/site-packages/nova/virt/libvirt/guest.py", line
  154, in create\n    LOG.error(\'Error defining a guest with XML:
  %s\',\n', '  File "/usr/lib/python3.9/site-
  packages/oslo_utils/excutils.py", line 227, in __exit__\n
  self.force_reraise()\n', '  File "/usr/lib/python3.9/site-
  packages/oslo_utils/excutils.py", line 200, in force_reraise\n
  raise self.value\n', '  File "/usr/lib/python3.9/site-
  packages/nova/virt/libvirt/guest.py", line 151, in create\n    guest =
  host.write_instance_config(xml)\n', '  File "/usr/lib/python3.9/site-
  packages/nova/virt/libvirt/host.py", line 1228, in
  write_instance_config\n    domain =
  self.get_connection().defineXML(xml)\n', '  File
  "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 193, in
  doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n',
  '  File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line
  151, in proxy_call\n    rv = execute(f, *args, **kwargs)\n', '  File
  "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 132, in
  execute\n    six.reraise(c, e, tb)\n', '  File
  "/usr/lib/python3.9/site-packages/six.py", line 709, in reraise\n
  raise value\n', '  File "/usr/lib/python3.9/site-
  packages/eventlet/tpool.py", line 86, in tworker\n    rv = meth(*args,
  **kwargs)\n', '  File "/usr/lib64/python3.9/site-packages/libvirt.py",
  line 4456, in defineXML\n    raise libvirtError(\'virDomainDefineXML()
  failed\')\n', "libvirt.libvirtError: unsupported configuration: domain
  configuration does not support video model 'virtio'\n", '\nDuring
  handling of the above exception, another exception occurred:\n\n',
  'Traceback (most recent call last):\n', '  File
  "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2340,
  in _do_build_and_run_instance\n
  self._build_and_run_instance(context, instance, image,\n', '  File
  "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2613,
  in _build_and_run_instance\n    raise
  exception.RescheduledException(\n',
  "nova.exception.RescheduledException:

  Build of instance 1f2daaae-27dc-4cd9-b2fb-2c18e2fb6d42 was re-
  scheduled: unsupported configuration: domain configuration does not
  support video model 'virtio'

  i find this issue: https://bugs.launchpad.net/nova/+bug/1999803 that
  recommend to install this dependencies:

  qemu-kvm-ui-opengl
  qemu-kvm-device-display-virtio-gpu
  qemu-kvm-device-display-virtio-gpu-gl
  qemu-kvm-device-display-virtio-gpu-pci
  qemu-kvm-device-display-virtio-gpu-pci-gl
  qemu-kvm-device-display-virtio-vga
  qemu-kvm-device-display-virtio-vga-gl
  qemu-kvm-device-usb-host
  qemu-kvm-device-usb-redirect

  But after install i cant deploy new instances and the error still.

  Thanks

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