Unable to save cluster: image Error "Software Solution com.vmware.vsphere-wcp with version 8.0.2-23319993 cannot be found in depot."
search cancel

Unable to save cluster: image Error "Software Solution com.vmware.vsphere-wcp with version 8.0.2-23319993 cannot be found in depot."

book

Article ID: 382522

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vSphere with Tanzu vSphere with Tanzu

Issue/Introduction

On update tab when validating the image we set on this cluster getting below error:

Error "Software Solution com.vmware.vsphere-wcp with version 8.0.2-23319993 cannot be found in depot."

in /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log you would see below stating what is causing issue.

2024-10-25T14:33:36.526+02:00 info vmware-vum-server[3408962] [Originator@6876 sub=ServiceProvider] [EmbeddedPyServiceProvider 1548] Draft validation results: {"info": [], "warnings": [], "errors": [{"id":
"com.vmware.vcIntegrity.lifecycle.EsxImage.SolutionNotFound", "message": {"id": "com.vmware.vcIntegrity.lifecycle.EsxImage.SolutionNotFound", "default_message": "Software Solution com.vmware.vsphere-wcp wit
h version 8.0.2-23319993 cannot be found in depot.", "args": ["com.vmware.vsphere-wcp", "8.0.2-23319993"]}, "resolution": null, "time": "2024-10-25T12:33:36.526Z"}]}
2024-10-25T14:33:36.527+02:00 info vmware-vum-server[3408962] [Originator@6876 sub=DraftsManager] [DraftsManager 1224] ValidateHardwareSupportSpec called

 

Which then leads to failure

2024-10-25T14:33:36.587+02:00 error vmware-vum-server[3408962] [Originator@6876 sub=EntityImageManager] [EntityImageManager 103] [TranslateError] start
2024-10-25T14:33:36.587+02:00 error vmware-vum-server[3408962] [Originator@6876 sub=EntityImageManager] [EntityImageManager 113] [TranslateError] Error: Error:
-->    com.vmware.vapi.std.errors.error
--> Messages:
-->    com.vmware.vcIntegrity.lifecycle.softwarespec.SolutionNotFound<The specified solution is cannot be found in depots.>
-->
2024-10-25T14:33:36.587+02:00 error vmware-vum-server[3408962] [Originator@6876 sub=DraftsManager] [DraftsManager 1408] Failed to get config schemas for draft
2024-10-25T14:33:36.587+02:00 error vmware-vum-server[3408962] [Originator@6876 sub=DraftsManager] [DraftsManager 1489] Failed to validate cluster configuration
2024-10-25T14:33:36.587+02:00 error vmware-vum-server[3408962] [Originator@6876 sub=DraftsManager] [DraftsManager 1523] Failed to validate draft spec.

...

2024-10-25T14:33:36.588+02:00 warning vmware-vum-server[3398641] [Originator@6876 sub=TaskStatsCollector] [taskStatsCollector 190] Task type or creation time not present
2024-10-25T14:33:36.588+02:00 info vmware-vum-server[3408962] [Originator@6876 sub=PM.AsyncTask.DraftCommitClusterTask{117}] [vciTaskBase 1496] SerializeToVimFault fault:
--> (vmodl.fault.SystemError) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.vcIntegrity.lifecycle.softwarespec.SolutionNotFound",
-->          arg = <unset>,
-->          message = <unset>
-->       }
-->    ],
-->    reason = "vLCM Task failed, see Error Stack for details."
-->    msg = "{
-->     "data": null,
-->     "error_type": "ERROR",
-->     "messages": [
-->         {
-->             "args": [],
-->             "default_message": "The specified solution is cannot be found in depots.",
-->             "id": "com.vmware.vcIntegrity.lifecycle.softwarespec.SolutionNotFound"
-->         }
-->     ]
--> }"
--> }

Environment

vSphere 8.0 U2

vSphere Supervisor

Cause

vSphere-wcp solution missing in the offline depot

Resolution

Upload wcp-depot.zip to VUM server using lifecycle manager UI

Once upload is completed verify if the depot is created in the VUM server using the API (SSH into VC and run below dcli commands)
Offline depot without any owner metadata is the newly uploaded depot. Verify it’s content with the depot content API.

# dcli +show-unreleased com vmware esx settings depots offline list
<truncated>
BEA8B6A9DDF1B848DF95635D60BCC82956A7C422:
   owner: [email protected]
   file_id: /storage/updatemgr/patch-store-temp/vum5704569949903948832.zip
   description:
   ownerdata:
   location:
   source_type: PUSH
<truncated>


# dcli +show-unreleased com vmware esx settings depots offline content get --depot BEA8B6A9DDF1B848DF95635D60BCC82956A7C422 +format json | jq -r '.metadata_bundles.vmw[0].solutions."com.vmware.vsphere-wcp".versions'
[
  {
    "display_version": "8.0.2",
    "version": "8.0.2-23504390" ------> This should match
  }
]


Set Spherelet Solution

Verify there is no Spherelet solution set for the cluster.
dcli +show-unreleased com vmware esx settings clusters software solutions list --cluster <cluster_moid>

Set the Spherelet solution on the cluster. (Can monitor the status of the set solution from the UI also)

# dcli +show-unreleased com vmware esx settings clusters software solutions set-task --cluster <cluster_moid> --components '[{"component":"VMware-Spherelet-1-27"}]' --solution "com.vmware.vsphere-wcp" --version "8.0.2-23504390"
<returns_task_id>

Cluster compliance should now run successfully.

Attachments

vsphere-wcp-depot.zip get_app