VMware Cloud Community
AnyykeyNL
Contributor
Contributor

vSphere Appliance upgrade from 7.0.2 to 7.0.3 fails - Patch command path failed

I have a cleanly installed vSphere 7.0.2 environment, I am having massive issues upgrading to 7.0.3. Tried from url and iso.

Getting this error:

 [2021-10-09T23:00:02.282] : Evaluating packages to stage...
 [2021-10-09T23:00:02.282] : Verifying staging area
\ [2021-10-09T23:00:02.282] : ISO unmounted successfully
 [2021-10-09T23:00:02.282] : Staging process completed successfully
Command> software-packages list --staged
 [2021-10-09T23:00:18.282] :
        category: Bugfix
        kb: https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-vcenter-server-703-release-notes.html
        leaf_services: ['vmware-pod', 'vsphere-ui', 'wcp', 'vlcm']
        vendor: VMware, Inc.
        name: VC-7.0.3
        tags: []
        type: Update
        version_supported: []
        size in MB: 6921
        releasedate: October 5, 2021
        executeurl: https://my.vmware.com/group/vmware/get-download?downloadGroup=VC70U3
        version: 7.0.3.00000
        updateversion: True
        allowedSourceVersions: [7.0.0.0,]
        buildnumber: 18700403
        rebootrequired: True
        productname: VMware vCenter Server
        changesetnumber: 9260569
        summary: {'id': 'patch.summary', 'translatable': 'In-place upgrade for vCenter appliances.', 'localized': 'In-placter appliances.'}
        severity: Critical
        TPP_ISO: False
        thirdPartyInstallation: False
        timeToInstall: 0
        requiredDiskSpace: {'/storage/core': 4.3195079421997065, '/storage/seat': 3.515625}
        serviceIgnoreList: ['envoy-hgw', 'acs', 'cds', 'crypto', 'federation', 'token', 'stubbing-service', 'usergroup', '']
        eulaAcceptTime: 2021-10-09 22:59:11 UTC
Command> software-packages install --staged
 [2021-10-09T23:01:11.282] : Validating software update payload
 [2021-10-09T23:01:11.282] : UpdateInfo: Using product version 7.0.2.00500 and build 18455184
 [2021-10-09 23:01:11,115] : Running validate script.....
 [2021-10-09T23:01:15.282] : Validation successful
 [2021-10-09 23:01:15,136] : Copying software packages  [2021-10-09T23:01:15.282] : ISO mounted successfully
133/133
 [2021-10-09T23:04:05.282] : ISO unmounted successfully
 [2021-10-09 23:04:05,236] : Running system-prepare script.....
 [2021-10-09 23:04:10,259] : Running test transaction ....
 [2021-10-09 23:04:12,281] : Running prepatch script.....
 [2021-10-09 23:05:46,435] : Upgrading software packages ....
 [2021-10-09T23:07:57.282] : Setting appliance version to 7.0.3.00000 build 18700403
 [2021-10-09 23:07:57,663] : Running patch script.....
 [2021-10-09T23:09:53.282] : Patch command patch failed
 [2021-10-09T23:09:53.282] :
        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 _patchCompo
    _startDependentServices(c)
  File "/storage/core/software-packages/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 53, in _startDepen
    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:

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

Already tried setting the start timeout in the json files to 1500, but did not work.

Anyone idea why an update on a clean install just does not work 😞

0 Kudos
3 Replies
mmeier440
Contributor
Contributor

I have the same error, did u get it fixed?

0 Kudos
ifescgit
Contributor
Contributor

Hi guys,

have you any news? Same issue here whe tried to update from 7 u2b to 7 u3a! 😓

0 Kudos
petermtl
Contributor
Contributor

I was having the same issue upgrading from 7.0.2.00500 to 7.0.3.00300. In my case, support was able to identify there was an issue with /etc/vmware/vmware-vmon/svcCfgfiles/updatemgr.json. Had to revert back to snapshot (prior upgrade), delete updatemgr.json then the upgrade completed successfully.

0 Kudos