Creating a single image cluster on vCenter fails with "An unknown error occurred while performing the operation"
search cancel

Creating a single image cluster on vCenter fails with "An unknown error occurred while performing the operation"

book

Article ID: 399361

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

When attempting to create a single image cluster on the vcenter, the image association fails with the  the following error will be observed on the UI: An unknown error occurred while performing the operation

The /var/log/vmware/vmware-updatemgr/vum-server/vum-server.log will provide the following details 

YYYY-MM-DDTHH:MM:SSZ.846Z info vmware-vum-server[2497693] [Originator@6876 sub=VumVapiAsyncTelemetryFilter] [TelemetryVapiProvider 82] Method com.vmware.cis.tasks.get finished
YYYY-MM-DDTHH:MM:SSZ.887Z info vmware-vum-server[11193] [Originator@6876 sub=ServiceProvider] [EmbeddedPyServiceProvider 1548] Draft validation results: {"info": [], "warnings": [], "errors": [{"id": "com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError", "message": {"id": "com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError", "default_message": "An unknown error occurred while performing the operation.", "args": []}, "resolution": null, "time": "YYYY-MM-DDTHH:MM:SSZ.887Z"}]}
YYYY-MM-DDTHH:MM:SSZ.887Z info vmware-vum-server[11193] [Originator@6876 sub=DraftsManager] [DraftsManager 1224] ValidateHardwareSupportSpec called
YYYY-MM-DDTHH:MM:SSZ.887Z info vmware-vum-server[11193] [Originator@6876 sub=DraftsManager] [DraftsManager 1586] Draft validation results: {
-->     "errors": [
-->         {
-->             "id": "com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError",
-->             "message": {
-->                 "args": [],
-->                 "default_message": "An unknown error occurred while performing the operation.",
-->                 "id": "com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError",
-->                 "localized": null,
-->                 "params": null
-->             },
-->             "originator": null,
-->             "resolution": null,
-->             "retriable": null,
-->             "time": "YYYY-MM-DDTHH:MM:SSZ.887Z",
-->             "type": null
-->         }
-->     ],
-->     "info": [],
-->     "warnings": []
--> }
YYYY-MM-DDTHH:MM:SSZ.887Z info vmware-vum-server[11193] [Originator@6876 sub=AddClusterDesiredStateAssociationTask] [Task, 524] Task:AddClusterDesiredStateAssociationTask ID:52f59812-ba25-fa8d-b962-713d3f6cfcc5. Image spec validation notifications: {
-->     "errors": [
-->         {
-->             "id": "com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError",
-->             "message": {
-->                 "args": [],
-->                 "default_message": "An unknown error occurred while performing the operation.",
-->                 "id": "com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError",
-->                 "localized": null,
-->                 "params": null
-->             },
-->             "originator": null,
-->             "resolution": null,
-->             "retriable": null,
-->             "time": "YYYY-MM-DDTHH:MM:SSZ.887Z",
-->             "type": null
-->         }
-->     ],
-->     "info": [],
-->     "warnings": []
--> }
YYYY-MM-DDTHH:MM:SSZ.888Z error vmware-vum-server[11193] [Originator@6876 sub=AddClusterDesiredStateAssociationTask] [Task, 524] Task:AddClusterDesiredStateAssociationTask ID:52f59812-ba25-fa8d-b962-713d3f6cfcc5. An unknown error occurred while performing the operation.
YYYY-MM-DDTHH:MM:SSZ.888Z error vmware-vum-server[11193] [Originator@6876 sub=AddClusterDesiredStateAssociationTask] [Task, 524] Task:AddClusterDesiredStateAssociationTask ID:52f59812-ba25-fa8d-b962-713d3f6cfcc5. Unable to add image association for 'domain-c#' cluster because image spec is not valid.
YYYY-MM-DDTHH:MM:SSZ.888Z info vmware-vum-server[11193] [Originator@6876 sub=Telemetry] [TelemetryManager 202] New item added to telemetry data queue. Queue size: 1
YYYY-MM-DDTHH:MM:SSZ.889Z info vmware-vum-server[11193] [Originator@6876 sub=EntityGuard] [EntityGuard 153] Successfully released desired-entity lock for the entityId [domain-c#], refCnt: 0, owner: 140640115603008
YYYY-MM-DDTHH:MM:SSZ.889Z info vmware-vum-server[11193] [Originator@6876 sub=AddClusterDesiredStateAssociationTask] [Task, 524] Task:AddClusterDesiredStateAssociationTask ID:52f59812-ba25-fa8d-b962-713d3f6cfcc5. Finalizing Task
YYYY-MM-DDTHH:MM:SSZ.889Z error vmware-vum-server[11193] [Originator@6876 sub=AddClusterDesiredStateAssociationTask] [Task, 524] Task:AddClusterDesiredStateAssociationTask ID:52f59812-ba25-fa8d-b962-713d3f6cfcc5. Task Failed. Error: Error:
-->    com.vmware.vapi.std.errors.invalid_argument
--> Messages:
-->    com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError<An unknown error occurred while performing the operation.>
-->    com.vmware.vcIntegrity.lifecycle.AddClusterImageAssociationTask.InvalidSpec<Image is invalid. Unable to associate invalid image with the cluster.>

Environment

vCenter 7/8 

Cause

The VC cannot validate the provided image as valid, as it was a custom-built image that was manually modified.

Resolution

  • To workaround this, download a fresh zip from the Broadcom Portal or from the vendor (if custom) and then proceed with image creation for the cluster.