rhv-image-discrepancies reports VM templates as LEAF in the DB.

Solution In Progress - Updated -

Environment

  • Red Hat Virtualization (RHV-M) version 4.4.7

Issue

  • rhv-image-discrepancies tool reports VM templates as LEAF in the DB.
     Image 5af4f33d-4ff2-493e-9fec-514a1a00bbc4 has a different attribute voltype on storage(SHARED) and on DB(LEAF)
  • From the vm_images_view table:
-[ RECORD 1 ]----+-------------------------------------
vm_names         | aaa
image_guid       | 5af4f33d-4ff2-493e-9fec-514a1a00bbc4
entity_type      | TEMPLATE
disk_id          | 9a3c0ce1-7de5-43f1-98e0-d61a946cb01f
disk_alias       | aaa_Disk1
disk_description | 
vm_snapshot_id   | 69e7da13-8361-4987-843c-8d85019ed8b7
parentid         | 00000000-0000-0000-0000-000000000000
imagestatus      | 1
volume_type      | 2
volume_format    | 4
active           | t
size             | 1073741824
actual_size      | 200704

Resolution

  • BZ 2006542 has been added with Engineering to correct this and fixed in rhv-log-collector-analyzer-1.0.10-1.el8ev.noarch.
    RPM package.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.