VMware Cloud Community
aokid
Enthusiast
Enthusiast

Upgrade VCSA 6.7 to 7.0 failed

I did it by VCSA 7.0 installer UI.

At the import phase of Stage 2, error message was shown that import process of Update Manager component failed.

I took logs. Some part of  Import_com.vmware.vcIntegrity.log is as below:

2020-04-14T09:53:34.526Z INFO vcIntegrity_upgrade vcIntegrity Import phase. Importing data destination completed.

2020-04-14T09:53:34.526Z INFO vcIntegrity_upgrade Start vmware-updatemgr service

2020-04-14T09:53:34.527Z INFO service_manager Executing command '[['/bin/service-control', '--status', 'vmware-updatemgr']]'

2020-04-14T09:53:35.71Z INFO service_manager Command '[['/bin/service-control', '--status', 'vmware-updatemgr']]' has exit-code='0' and stdout: Stopped:

vmware-updatemgr

stderr:

2020-04-14T09:53:35.71Z INFO service_manager Starting service 'vmware-updatemgr' ...

2020-04-14T09:53:35.72Z INFO service_manager Executing command '[['/bin/service-control', '--start', 'vmware-updatemgr']]'

2020-04-14T09:53:39.112Z INFO service_manager Command '[['/bin/service-control', '--start', 'vmware-updatemgr']]' has exit-code='1' and stdout: Operation not cancellable. Please wait for it to finish...

Performing start operation on service updatemgr...

stderr: Error executing start on service updatemgr. Details {

    "detail": [

        {

            "id": "install.ciscommon.service.failstart",

            "translatable": "An error occurred while starting service '%(0)s'",

            "args": [

                "updatemgr"

            ],

            "localized": "An error occurred while starting service 'updatemgr'"

        }

    ],

    "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": [

                "updatemgr"

            ],

            "localized": "An error occurred while starting service 'updatemgr'"

        }

    ],

    "componentKey": null,

    "problemId": null,

    "resolution": null

}

--------------------snip (same message)--------------------

Traceback (most recent call last):

  File "/usr/lib/vmware/cis_upgrade_runner/payload/componentPhaseLauncher.py", line 461, in main

    executionResult = systemExtension(exeContext)

  File "/usr/lib/vmware/cis_upgrade_runner/libs/sdk/extensions.py", line 94, in __call__

    result = self.extension(*args)

  File "/usr/lib/vmware/cis_upgrade_runner/libs/sdk/extensions.py", line 110, in _func

    return func(*args)

  File "/usr/lib/vmware/cis_upgrade_runner/payload/component-scripts/vcIntegrity/__init__.py", line 60, in doImport

    return vcIntegrity_upgrade.importData(context)

  File "/usr/lib/vmware/cis_upgrade_runner/payload/component-scripts/vcIntegrity/vcIntegrity_upgrade.py", line 512, in importData

    importDataLin(context)

  File "/usr/lib/vmware/cis_upgrade_runner/payload/component-scripts/vcIntegrity/vcIntegrity_upgrade.py", line 505, in importDataLin

    serviceManager.start(VUM_SERVICE_NAME)

  File "/usr/lib/vmware/cis_upgrade_runner/libs/sdk/service_manager.py", line 979, in wrapper

    return getattr(controller, attr)(*args, **kwargs)

  File "/usr/lib/vmware/cis_upgrade_runner/libs/sdk/service_manager.py", line 887, in start

    super(VMwareServiceController, self).start(serviceName)

  File "/usr/lib/vmware/cis_upgrade_runner/libs/sdk/service_manager.py", line 745, in start

    raise IllegalServiceOperation(errorText)

service_manager.IllegalServiceOperation: Service cannot be started. Error: Error executing start on service updatemgr. Details {

    "detail": [

        {

            "id": "install.ciscommon.service.failstart",

            "translatable": "An error occurred while starting service '%(0)s'",

            "args": [

                "updatemgr"

            ],

            "localized": "An error occurred while starting service 'updatemgr'"

        }

    ],

    "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": [

                "updatemgr"

            ],

            "localized": "An error occurred while starting service 'updatemgr'"

        }

    ],

    "componentKey": null,

    "problemId": null,

    "resolution": null

}

How can I resolve those errors and successfully upgrade?

7 Replies
IRIX201110141
Champion
Champion

You should open an #SR.

Otherwise you can try to wipe the VUM DB in your 6.7 vcenter before starting the update. There is a KB which tells you how to reset the VUMDB and deleting all downloaded content/patches/ISO.

Regards,
Joerg

aokid
Enthusiast
Enthusiast

Hi Joerg-san,

Thank you for your suggetion.

I have already tried KB2147284 VMware Knowledge Base but the phenomenon did not change.

I'd better wait for a future release.

Reply
0 Kudos
Nawals
Expert
Expert

I would suggest if not have important baseline and groups in update manager then just un-register the update manager plugin and then start upgrade without any issue.

NKS Please Mark Helpful/correct if my answer resolve your query.
aokid
Enthusiast
Enthusiast

Hi Nawals-san,

Thank you for your suggestion.

I have already tried remove custom baselines but not yet tested  un-register the update manager plugin.

I did upgrade procedure again after the plugin was removed as described in KB1025360 VMware Knowledge Base​ .

Then I got another error that failed to create VUM database.

Reply
0 Kudos
Nawals
Expert
Expert

Are your VUM running on dedicated server?

NKS Please Mark Helpful/correct if my answer resolve your query.
Reply
0 Kudos
aokid
Enthusiast
Enthusiast

No. It's VCSA, vCenter Server and VUM are running on the same virtual machine.

They should be using same embedded PostgreSQL in VCSA.

Reply
0 Kudos
Nawals
Expert
Expert

Ok. Something strange. Have you rebooted the VCSA and then try. If you already tried then suggest to check with VMware support...

NKS Please Mark Helpful/correct if my answer resolve your query.
Reply
0 Kudos