Bug 1769451 - [RHOSP16] Mismatch in Libvirt and qemu-img versions between overcloud image and container image
Summary: [RHOSP16] Mismatch in Libvirt and qemu-img versions between overcloud image a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director-images
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Lon Hohberger
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On: 1736014 1775006
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-06 16:22 UTC by Federico Iezzi
Modified: 2020-03-30 18:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-30 18:07:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Federico Iezzi 2019-11-06 16:22:04 UTC
Description of problem:
Libvirt in the overcloud image ships with Libvirt 4.5.0 while the version installed in the container images is 5.0.0. Functionally this shouldn't create any issue but the VIRSH CLI may behave differently.
#########
[root@edge0-compute-edge0computehci-0 ~]# rpm -q libvirt-{daemon,client}
libvirt-daemon-4.5.0-24.3.module+el8.0.0+4084+cceb9f44.x86_64
libvirt-client-4.5.0-24.3.module+el8.0.0+4084+cceb9f44.x86_64
[root@edge0-compute-edge0computehci-0 ~]# virsh --version
4.5.0
[root@edge0-compute-edge0computehci-0 ~]# podman exec -it --user root nova_libvirt /bin/bash
()[root@edge0-compute-edge0computehci-0 /]# rpm -q libvirt-{daemon,client}
libvirt-daemon-5.0.0-12.module+el8.0.1+3755+6782b0ed.x86_64
libvirt-client-5.0.0-12.module+el8.0.1+3755+6782b0ed.x86_64
()[root@edge0-compute-edge0computehci-0 /]# virsh --version
5.0.0
#########

The same type of issue happens also with qemu-img CLI.
#########
[root@edge1-compute-edge1compute-0 ~]# qemu-img --version
qemu-img version 2.12.0 (qemu-kvm-2.12.0-65.module+el8.0.0+4084+cceb9f44.5)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
[root@edge1-compute-edge1compute-0 ~]# rpm -q qemu-img
qemu-img-2.12.0-65.module+el8.0.0+4084+cceb9f44.5.x86_64
[root@edge1-compute-edge1compute-0 ~]# podman exec -it --user root nova_libvirt /bin/bash
()[root@edge1-compute-edge1compute-0 /]# qemu-img --version
qemu-img version 3.1.0 (qemu-kvm-3.1.0-30.module+el8.0.1+3755+6782b0ed)
Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
()[root@edge1-compute-edge1compute-0 /]# rpm -q qemu-img
qemu-img-3.1.0-30.module+el8.0.1+3755+6782b0ed.x86_64
#########

It seems the overcloud images are built without advanced virtualization enabled.

Version-Release number of selected component (if applicable):
OSP15


Note You need to log in before you can comment on or make changes to this bug.