The rhv-image-discrepancies tool reports missing images.
Environment
- Red Hat Virtualization (RHV-M) 4.3
Issue
-
Will soon upgrade from RHV-M 4.3 to 4.4 version.
-
Before starting the upgrade, the rhv-image-discrepancies tool reports the following message:
Checking storage domain c9cc82b8-79ea-4bf6-9466-553849aba5e9
Looking for missing images...
missing images in DB:
5a1ca24d-24fc-4149-93d0-2d2b8ee83526
1b8dc1d3-2cb7-48e2-8045-20cfa712df76
8ff515d3-fe51-467c-8d5f-e619748bdfda
Resolution
-
If upgrading to RHV-M 4.4 version, then the error can be ignored as upgrading will require a redeploy of the hosted engine.
-
The current hosted_storage storage domain will be removed as part of the upgrade process.
Diagnostic Steps
- The rhv-image-discrepancies tool reports the following message:
Checking storage domain c9cc82b8-79ea-4bf6-9466-553849aba5e9
Looking for missing images...
missing images in DB:
5a1ca24d-24fc-4149-93d0-2d2b8ee83526
1b8dc1d3-2cb7-48e2-8045-20cfa712df76
8ff515d3-fe51-467c-8d5f-e619748bdfda
- The above images are in the hosted_storage (c9cc82b8-79ea-4bf6-9466-553849aba5e9) storage domain.
5a1ca24d-24fc-4149-93d0-2d2b8ee83526 c9cc82b8-79ea-4bf6-9466-553849aba5e9 1 -wi-ao---- 128.00m IU_c138d2df-db28-4921-a4b2-b2f54f4ba1be,MD_4,PU_00000000-0000-0000-0000-000000000000
1b8dc1d3-2cb7-48e2-8045-20cfa712df76 c9cc82b8-79ea-4bf6-9466-553849aba5e9 1 -wi-a----- 128.00m IU_430c705c-cb96-4ecd-83f6-500df6459b89,MD_5,PU_00000000-0000-0000-0000-000000000000
8ff515d3-fe51-467c-8d5f-e619748bdfda c9cc82b8-79ea-4bf6-9466-553849aba5e9 1 -wi-a----- 1.00g IU_55da75af-54dc-455e-af75-d199acbf0af2,MD_6,PU_00000000-0000-0000-0000-000000000000
- The metadata information of the images:
image: c138d2df-db28-4921-a4b2-b2f54f4ba1be
- 5a1ca24d-24fc-4149-93d0-2d2b8ee83526
status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 134217728, truesize: 134217728
image: 430c705c-cb96-4ecd-83f6-500df6459b89
- 1b8dc1d3-2cb7-48e2-8045-20cfa712df76
status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 134217728, truesize: 134217728
image: 55da75af-54dc-455e-af75-d199acbf0af2
- 8ff515d3-fe51-467c-8d5f-e619748bdfda
status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 1073741824, truesize: 1073741824
- From /etc/ovirt-hosted/engine/hosted-engine.conf file, the images are part of the HostedEngine configuration.
lockspace_image_UUID=c138d2df-db28-4921-a4b2-b2f54f4ba1be
lockspace_volume_UUID=5a1ca24d-24fc-4149-93d0-2d2b8ee83526
metadata_image_UUID=430c705c-cb96-4ecd-83f6-500df6459b89
metadata_volume_UUID=1b8dc1d3-2cb7-48e2-8045-20cfa712df76
conf_image_UUID=55da75af-54dc-455e-af75-d199acbf0af2
conf_volume_UUID=8ff515d3-fe51-467c-8d5f-e619748bdfda
- These are HostedEngine disk images and they are reported as unregistered_disks in the RHV-M engine database and as a result they are being flagged by the rhv-image-discrepancies tool.
disk_id | image_id | disk_alias | disk_description | storage_domain_id
--------------------------------------+--------------------------------------+------------+------------------+--------------------------------------
c138d2df-db28-4921-a4b2-b2f54f4ba1be | 5a1ca24d-24fc-4149-93d0-2d2b8ee83526 | | | c9cc82b8-79ea-4bf6-9466-553849aba5e9
430c705c-cb96-4ecd-83f6-500df6459b89 | 1b8dc1d3-2cb7-48e2-8045-20cfa712df76 | | | c9cc82b8-79ea-4bf6-9466-553849aba5e9
55da75af-54dc-455e-af75-d199acbf0af2 | 8ff515d3-fe51-467c-8d5f-e619748bdfda | | | c9cc82b8-79ea-4bf6-9466-553849aba5e9
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.
Comments