VMware Cloud Community
iamtheshwa
Contributor
Contributor

VCenter 6.7 update failing

Hello,

Trying to do an update on one of my vCenter 6.7 appliances from version 6.7.0.20000 to 6.7.0.31000. I'm getting an error during the test transaction process.

I have tried updating via the web interface as well as via the cli using software-packages command but the issue remains. This is on a closed network so i have to update via ISO.

I've attached messages log and software-packages log.

Thanks

Josh

Reply
0 Kudos
4 Replies
a_p_
Leadership
Leadership

Welcome to the Community,

you may need to first update/patch vCenter to 6.7.0.30000 (Update 2) in order to be able to install later "U2x" updates/patches.

André

Reply
0 Kudos
iamtheshwa
Contributor
Contributor

Thanks Andre!

I just tried to update to 6.7.0.3000 as you mentioned via the web GUI as well as via the CLI. Unfortunately I get the same results. It hangs at the Running test transaction stage and then eventually fails.  What's weird is I have 6 other vCenters that all updated fine. This is the only one having this issue. The only thing i can think of that happened with this one that may have changed things is it ran out of disk space at one point in the past. But we since then fixed that issue. Could there be something residual from that occurrence that is now causing this issue?

Thanks

Josh

Reply
0 Kudos
a_p_
Leadership
Leadership

Hard to say what's causing the issue. In case you have a support contract with VMware, I'd suggest that you open a support case.

Other than this you could backup the vCSA's configuration, deploy a new one (same version/build as the original one) using the restore option, and try the update on that one.

You could test this in e.g. a dedicated virtual network (not connected to the production LAN), in which you just run a DC/DNS (e.g. restored from backup, or cloned), and the vCSA.

André

Reply
0 Kudos
Raj1988
Enthusiast
Enthusiast

Can you reboot the VCSA and then retry the patching ?

From logs .

2019-07-17T16:00:48.198 [1362]DEBUG:vmware.vherd.base.software_update:You can find the output of the command in temp files out /var/log/vmware/applmgmt/update-out1h6gtr4a, err /var/log/vmware/applmgmt/update-errfwyk2s63

2019-07-17T16:10:50.198 [1362]DEBUG:vmware.vherd.base.software_update:STDOUT:

2019-07-17T16:10:50.198 [1362]DEBUG:vmware.vherd.base.software_update:STDERR: error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Filetriggername index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Transfiletriggername index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Recommendname index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Suggestname index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Supplementname index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Enhancename index using db5 - File exists (17)

2019-07-17T16:10:50.198 [1362]DEBUG:vmware.vherd.base.software_update:Test transaction failed to update package

out=

error=error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Filetriggername index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Transfiletriggername index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Recommendname index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Suggestname index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Supplementname index using db5 - File exists (17)

error: rpmdb: BDB0002 __fop_file_setup:  Retry limit (100) exceeded

error: cannot open Enhancename index using db5 - File exists (17)

rc=134

2019-07-17T16:10:50.198 [1362]CRITICAL:root:Installation process failed

2019-07-17T16:10:50.198 [1362]CRITICAL:root:Test transaction failed to update packages

2019-07-17T16:10:50.198 [1362]DEBUG:root:Test transaction failed to update packages

Exception:

Traceback (most recent call last):

  File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 487, in install

    answers=answer)

  File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 2028, in installPackagesEP

    _runTestTransaction(pkgType, percent=50)

  File "/usr/lib/applmgmt/base/py/vmware/vherd/base/task_manager.py", line 146, in trackedfunc

    return func(*args, **kwargs)

  File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 1084, in _runTestTransaction

    raise GenericException("Test transaction failed to update packages")

Reply
0 Kudos