Hello,
I'm trying to upgrade from VCSA 6.7.0.51000 to VCSA 7.0.3.00300 and it fails at step 2 with:
{
"progress": 89,
"progress_message": {
"id": "install.ciscommon.component.starting",
"translatable": "Starting %(0)s...",
"args": [
"Workload Control Plane"
],
"localized": "Starting Workload Control Plane..."
},
"status": "error",
"info": [],
"warning": [],
"question": null,
"error": {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"wcp"
],
"localized": "An error occurred while starting service 'wcp'"
},
{
"id": "install.wcp.start.service",
"translatable": "Failed to start Workload Control Plane Service.",
"localized": "Failed to start Workload Control Plane Service."
}
],
"componentKey": "wcp",
"problemId": null,
"resolution": {
"id": "install.default.failure.resolution",
"translatable": "This is an unrecoverable error, please retry install. If you encounter this error again, please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.",
"localized": "This is an unrecoverable error, please retry install. If you encounter this error again, please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request."
}
},
"start_time": "2022-05-07T12:40:26.672Z",
"end_time": "2022-05-07T12:51:40.476Z"
}
and:
2022-05-07T12:51:39.618Z info wcp [cmd/main.go:239] Initializing Wcp Service. pid=42501 build=19007367 change=9408644
2022-05-07T12:51:39.854Z info wcp [vclib/client.go:228] Using vim.version hash: 7.0.3.0
2022-05-07T12:51:39.855Z debug wcp [ssolib/sts.go:87] Getting HOK signer; store: vpxd-extension, alias: vpxd-extension
2022-05-07T12:51:40.074Z debug wcp [ssolib/sts.go:87] Getting HOK signer; store: vpxd-extension, alias: vpxd-extension
2022-05-07T12:51:40.263Z error wcp [ssolib/service_accounts.go:261] Encountered error when opening file /etc/vmware/wcp/.storageUser: open /etc/vmware/wcp/.storageUser: no such file or directory
2022-05-07T12:51:40.263Z error wcp [ssolib/service_accounts.go:186] Failed to parse Service Account data from file /etc/vmware/wcp/.storageUser: open /etc/vmware/wcp/.storageUser: no such file or directory
2022-05-07T12:51:40.263Z fatal wcp [ssolib/service_accounts.go:65] Failed to load storage service account from /etc/vmware/wcp/.storageUser, verify that firstboot succeeded
Do you have any ideas?
Thanks in advance.
Please retry with the u3d , if failed with the same error, you have to open a support request.
I've reached support, and the problem was solved after manually creating and populating the file with some precise info.
Hey - also hitting this same issue. Are you able to share the steps to resolve? Thanks!
I think this was corrected with the last version of 7.0.3d, you can also try to go to 7.0 then update to 7.0.3d.
Thanks @virtualqc - looks like I'm already using the latest - VMware-VCSA-all-7.0.3-19717403.iso - but giving it another run through now just in case!
Also tried the upgrade to initial 7.0 release. Unfortunately fails with the following -
Looking online it seems that because I am running the latest 6.7 release currently (6.7.0.51000) - the version of 7.0 which I upgrade to must have a release date after the date of the 6.7 version.
Have a support case in flight, but guess have to keep waiting for them to come up with something.
I've had exactly the same error with the 7.0.3d, so it's not the case.
Yeah 7.0.3d definitely isn't working for me either, just get the "Failed to start Workload Control Plane Service." issue.
If u see the same error in wcp.log ""/etc/vmware/wcp/.storageUser: no such file or directory" .
Do you have another VC in linked mode to this VC?
Take snapshot and follow the workaround for this issue ; to delete the wcp storage user from SSO.
get vc-machine-id :
/usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost
The user name should be `workload_storage_management-<vc-machine-id>`.
You can use below command format to delete the user.
/usr/lib/vmware-vmafd/bin/dir-cli user delete --account 'workload_storage_management-<vc-machine-id>'
@Ajay1988 - thanks for the response. Yes have another VC in linked mode, this is already successfully upgraded to v7.
Will give your suggestion a go and report back.
Thanks for the feedback so nice to find solutions without having to open tickets to support
I am seeing permission denied in my logs.
2022-12-30T19:57:28.212Z info wcp [vclib/client.go:236] Using vim.version hash: 7.0.3.0
2022-12-30T19:57:28.212Z debug wcp [ssolib/sts.go:87] Getting HOK signer; store: vpxd-extension, alias: vpxd-extension
2022-12-30T19:57:28.4Z error wcp [ssolib/service_accounts.go:348] Encountered error when opening file /etc/vmware/wcp/.storageUser: open /etc/vmware/wcp/.storageUser: permission denied
2022-12-30T19:57:28.4Z error wcp [ssolib/service_accounts.go:254] Failed to parse Service Account data from file /etc/vmware/wcp/.storageUser: open /etc/vmware/wcp/.storageUser: permission denied
2022-12-30T19:57:28.4Z fatal wcp [ssolib/storage_user.go:29] Failed to load storage service account from /etc/vmware/wcp/.storageUser, verify that firstboot succeeded
2022-12-30T20:08:35.602Z info wcp [vclib/client.go:236] Using vim.version hash: 7.0.3.0
2022-12-30T20:08:35.602Z debug wcp [ssolib/sts.go:87] Getting HOK signer; store: vpxd-extension, alias: vpxd-extension
2022-12-30T20:08:35.803Z error wcp [ssolib/service_accounts.go:348] Encountered error when opening file /etc/vmware/wcp/.storageUser: open /etc/vmware/wcp/.storageUser: permission denied
2022-12-30T20:08:35.803Z error wcp [ssolib/service_accounts.go:254] Failed to parse Service Account data from file /etc/vmware/wcp/.storageUser: open /etc/vmware/wcp/.storageUser: permission denied
2022-12-30T20:08:35.803Z fatal wcp [ssolib/storage_user.go:29] Failed to load storage service account from /etc/vmware/wcp/.storageUser, verify that firstboot succeeded
Any thoughts?
Thanks!
