BenLor00
Contributor
Contributor

vSphere 6.7U3 > 7.0U3 - vLCM Check Image Compliance: unknown error

Hi,

I recently upgraded a vSphere cluster from version 6.7U3 to 7.0U3. I would like to manage the cluster with a single image instead of using the old baselines, so I select the Cluster > Updates > Image and I define the image. If I press Validate the image is valid:

Image validationImage validation

Then I click Save and, after the image saving, starts the Check Image Compliance step but I get the error An unknown error occurred while performing the operation on every host:

Check Image ComplianceCheck Image Compliance

I don't find useful information in the /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log file:

2021-10-18T14:42:21.252Z info vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 704] Fetching the results for task(522ae20a-7553-8567-4cd8-ba43f69645bc) on host(host-1046552)
2021-10-18T14:42:21.265Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 146] Getting Management IPs for host:host-1046552
2021-10-18T14:42:21.272Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 196] Appending management ipv4 address:10.190.139.78
2021-10-18T14:42:21.317Z error vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 759] Host scan task failed for host host-1046552
2021-10-18T14:42:21.317Z error vmware-vum-server[40456] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:529bb818-f750-74d4-f6c1-c68e54637f17. Failed to get host : mresxerg08.sistemi.sole24.net (host-1046552) image result. Errors : Error:
--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError<An unknown error occurred while performing the operation.>
--> ;default compliance will be substituted.
2021-10-18T14:42:21.332Z info vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 704] Fetching the results for task(527f3ece-0534-ea50-bd0f-3f50cb4d6bd7) on host(host-248064)
2021-10-18T14:42:21.357Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 146] Getting Management IPs for host:host-248064
2021-10-18T14:42:21.373Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 196] Appending management ipv4 address:10.190.139.76
2021-10-18T14:42:21.401Z error vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 759] Host scan task failed for host host-248064
2021-10-18T14:42:21.402Z error vmware-vum-server[40456] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:529bb818-f750-74d4-f6c1-c68e54637f17. Failed to get host : mresxerg06.sistemi.sole24.net (host-248064) image result. Errors : Error:
--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError<An unknown error occurred while performing the operation.>
--> ;default compliance will be substituted.
2021-10-18T14:42:21.416Z info vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 704] Fetching the results for task(52734382-ef8b-6feb-430b-31c47c0025d1) on host(host-248039)
2021-10-18T14:42:21.427Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 146] Getting Management IPs for host:host-248039
2021-10-18T14:42:21.434Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 196] Appending management ipv4 address:10.190.139.75
2021-10-18T14:42:21.464Z error vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 759] Host scan task failed for host host-248039
2021-10-18T14:42:21.464Z error vmware-vum-server[40456] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:529bb818-f750-74d4-f6c1-c68e54637f17. Failed to get host : mresxerg05.sistemi.sole24.net (host-248039) image result. Errors : Error:
--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError<An unknown error occurred while performing the operation.>
--> ;default compliance will be substituted.
2021-10-18T14:42:21.478Z info vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 704] Fetching the results for task(5239cc1d-d0b5-4fc7-3bcf-77b72360bac5) on host(host-1046564)
2021-10-18T14:42:21.491Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 146] Getting Management IPs for host:host-1046564
2021-10-18T14:42:21.498Z info vmware-vum-server[40456] [Originator@6876 sub=HostLocator] [hostLocator 196] Appending management ipv4 address:10.190.139.77
2021-10-18T14:42:21.527Z error vmware-vum-server[40456] [Originator@6876 sub=ScanUtil] [ScanUtil 759] Host scan task failed for host host-1046564
2021-10-18T14:42:21.527Z error vmware-vum-server[40456] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:529bb818-f750-74d4-f6c1-c68e54637f17. Failed to get host : mresxerg07.sistemi.sole24.net (host-1046564) image result. Errors : Error:
--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError<An unknown error occurred while performing the operation.>
--> ;default compliance will be substituted.

Can you help me identify the cause of the problem?

Thanks,

--
Lorenzo

4 Replies
BenLor00
Contributor
Contributor

The problem appears to have been resolved by updating the vCenter to version 7.0U3a.

--
Lorenzo

0 Kudos
rgb99
Enthusiast
Enthusiast

I have a similar issue, but on vCenter Server 7.0 Update 2d and checking the image compliance for 7.0 U2d. Is there another solution other than upgrading vCenter Server?

 

2022-01-05T14:46:12.203Z error vmware-vum-server[60612] [Originator@6876 sub=ScanUtil] Host scan task failed for host host-17
2022-01-05T14:46:12.203Z error vmware-vum-server[60612] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:529c2148-d767-b65a-73c7-f34c0ab2b8d3. Failed to get host : host.domain.com (host-17) image result. Errors : Error:
-->    com.vmware.vapi.std.errors.error
--> Messages:
-->    com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError<An unknown error occurred while performing the operation.>
--> ;default compliance will be substituted.

2022-01-05T14:46:12.572Z info vmware-vum-server[60222] [Originator@6876 sub=Clusters::Software::RecommendationsSvc] Failed to get recommendations for cluster domain-c8. VcidbNoRecord: No record - VCIDB ERROR: Row with primary key domain-c8 not found in table PM_RECOMMENDATION_INFO

 

0 Kudos
T_16
Contributor
Contributor

 

Do not hold your breath, same issue in 7.0u3d.

Seems to fail if we select the current image.

 

 

Tags (1)
0 Kudos
Alex77777
Contributor
Contributor

7.0u3c still the same issue.

0 Kudos