VMware Cloud Community
pcburakq
Contributor
Contributor

vCenter 7.0.1 - 7.0.3k update fails

I've tried to update vCenter 7.0.1 to 7.0U3k via 5480, It fails because of low diskspace.

I've tried to patch it via ISO, while it goes almost all the way it fails with the following error;

[2023-03-11T12:48:37.070] : Setting appliance version to 7.0.3.01300 build 21290409
[2023-03-11 12:48:37,231] : Running patch script.....
[2023-03-11T12:55:30.070] : Patch command patch failed
[2023-03-11T12:55:30.070] :
Mismatch:
summary: Internal error occurs during execution of update process Traceback (most recent call last):
File "/storage/core/software-packages/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 203, in patch
_patchComponents(ctx, userData, statusAggregator.reportingQueue)
File "/storage/core/software-packages/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 84, in _patchC omponents
_startDependentServices(c)
File "/storage/core/software-packages/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 53, in _startD ependentServices
serviceManager.start(depService)
File "/storage/core/software-packages/scripts/patches/libs/sdk/service_manager.py", line 901, in wrapper
return getattr(controller, attr)(*args, **kwargs)
File "/storage/core/software-packages/scripts/patches/libs/sdk/service_manager.py", line 794, in start
super(VMwareServiceController, self).start(serviceName)
File "/storage/core/software-packages/scripts/patches/libs/sdk/service_manager.py", line 665, in start
raise IllegalServiceOperation(errorText)
service_manager.IllegalServiceOperation: Service cannot be started. Error: Error executing start on service sts. Detai ls {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"sts"
],
"localized": "An error occurred while starting service 'sts'"
}
],
"componentKey": null,
"problemId": null,
"resolution": null
}
Service-control failed. Error: {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"sts"
],
"localized": "An error occurred while starting service 'sts'"
}
],
"componentKey": null,
"problemId": null,
"resolution": null
}


.
resolution: Send upgrade log files to VMware technical support team for further assistance.

 

When i tried to start the sts service myself, i get this Error;

Command> service-control --start sts
Operation not cancellable. Please wait for it to finish...
Performing start operation on service sts...
Error executing start on service sts. Details {
    "detail": [
        {
            "id": "install.ciscommon.service.failstart",
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "sts"
            ],
            "localized": "An error occurred while starting service 'sts'"
        }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
}
Service-control failed. Error: {
    "detail": [
        {
            "id": "install.ciscommon.service.failstart",
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "sts"
            ],
            "localized": "An error occurred while starting service 'sts'"
        }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
}
Command>

I wanted to create a support ticket but it asks for a paid service to be registered so i was unable to.

Any idea why or which logs i should check out?

Regards

0 Kudos
4 Replies
Ajay1988
Expert
Expert

If you are at the same state and not reverted: Try to see if you can start the sts service manually. service-control --start sts If service starts then you might have to rollback snapshot prior to update and follow https://kb.vmware.com/s/article/89163. Then reboot the VC and validate all the services are up. Then upgrade.
If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
Lalegre
Virtuoso
Virtuoso

@pcburakq,

You mentioned first that your update failed because of lack of space and then you tried again. Did you clean that space before re-trying?

Copy here the output of df -h

0 Kudos
memaad
Virtuoso
Virtuoso

1. Check sts certificate status using this KB article https://kb.vmware.com/s/article/79248

2. check free space using df -h

3. Check if root account has expired

 

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
RajeevVCP4
Expert
Expert

You said disk space run command 

df -h and check  root partition space ( sda3 mostly)

if space less increase space how to increase space 

https://kb.vmware.com/s/article/2145603

If space is good then follow this KB

https://kb.vmware.com/s/article/90550

 

 

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
0 Kudos