Reviewed: https://review.opendev.org/757616 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fd7c66f61c0b07cff82d93e0f884777949170857 Submitter: Zuul Branch: stable/victoria
commit fd7c66f61c0b07cff82d93e0f884777949170857 Author: Stephen Finucane <email address hidden> Date: Mon Sep 21 16:11:38 2020 +0100
libvirt: 'video.vram' property must be an integer
The 'vram' property of the 'video' device must be an integer else libvirt will spit the dummy out, e.g.
libvirt.libvirtError: XML error: cannot parse video vram '8192.0'
The division operator in Python 3 results in a float, not an integer like in Python 2. Use the truncation division operator instead.
Change-Id: Iebf678c229da4f455459d068cafeee5f241aea1f Signed-off-by: Stephen Finucane <email address hidden> Closes-Bug: #1896496 (cherry picked from commit f2ca089bce842127e7d0644b38a11da9278db8ea)
Reviewed: https:/ /review. opendev. org/757616 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fd7c66f61c0 b07cff82d93e0f8 84777949170857
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit fd7c66f61c0b07c ff82d93e0f88477 7949170857
Author: Stephen Finucane <email address hidden>
Date: Mon Sep 21 16:11:38 2020 +0100
libvirt: 'video.vram' property must be an integer
The 'vram' property of the 'video' device must be an integer else
libvirt will spit the dummy out, e.g.
libvirt. libvirtError: XML error: cannot parse video vram '8192.0'
The division operator in Python 3 results in a float, not an integer
like in Python 2. Use the truncation division operator instead.
Change-Id: Iebf678c229da4f 455459d068cafee e5f241aea1f 7e7d0644b38a11d a9278db8ea)
Signed-off-by: Stephen Finucane <email address hidden>
Closes-Bug: #1896496
(cherry picked from commit f2ca089bce84212