-
Bug
-
Resolution: Done-Errata
-
None
-
False
-
-
False
-
CLOSED
-
---
-
---
-
-
-
CNV I/U Operators Sprint 235, CNV I/U Operators Sprint 236, CNV I/U Operators Sprint 237
-
None
Description of problem:
Networking receive/transmit_bytes metrics values are swapped
Version-Release number of selected component (if applicable):
CNV 4.12.1
How reproducible:
100%
Steps to Reproduce:
1. Create VM
2. Download large image
Actual results:
transmit goes up
Expected results:
receive goes up
Additional info:
Originally reported in issue https://github.com/kubevirt/kubevirt/issues/9129
Note this is fixed in main:
https://github.com/kubevirt/kubevirt/issues/9129#issuecomment-1415844928
Since libvirt was bumped to a version that contains the fix.
[fedora@simple-vm ~]$ curl -O https://download.fedoraproject.org/pub/fedora/linux/releases/37/Cloud/x86_64/images/Fedora-Cloud-Base-37-1.7.x86_64.qcow2 -L
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 -::- -::- -::- 0
[fedora@simple-vm ~]$ ls -l Fedora-Cloud-Base-37-1.7.x86_64.qcow2
rw-rr-. 1 fedora fedora 492830720 Feb 12 12:36 Fedora-Cloud-Base-37-1.7.x86_64.qcow2
Observe metrics:
kubevirt_vmi_network_transmit_bytes_total: 518623611
kubevirt_vmi_network_receive_bytes_total: 1030624
Manifests:
apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
name: simple-dv
spec:
source:
http:
url: "http://.../Fedora-Cloud-Base-34-1.2.x86_64.qcow2"
pvc:
storageClassName: nfs
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: simple-vm
namespace: default
spec:
running: true
template:
metadata:
labels:
spec:
domain:
devices:
disks:
- disk:
{bus: virtio}
name: dv-disk
- disk:
{bus: virtio}
name: cloudinitdisk
{memory: 2048M}
resources:
requests:volumes:
- dataVolume:
{name: simple-dv}
name: dv-disk
- cloudInitNoCloud:
userData: |
#cloud-config
password: fedora
chpasswd: { expire: False }name: cloudinitdisk
Also reproduces with virsh domstats since this is a libvirt issue
(virsh domstats default_simple-vm | grep -e tx -e rx from launcher pod)
- is blocked by
-
CNV-28541 [2193038] virt-launcher has old packages, Dockerfile using virt:av instead of virt:rhel on 8.6
- Closed
- external trackers