VMware Cloud Community
Bucha7
Contributor
Contributor

vCenter 6.5 patch fails

I am having some issues patching my vcenter server from 6.5.0u3 to 6.5.0u3o ... I am running the update from an iso file using the command software-package install --iso and it mounts the iso, stages the patches and I go through accepting the terms and conditions and then it fails with no warning message.  I tried updating from the appliance manager with the same results.

A couple of notes..

This is an isolated system without access to the internet

I reset the root password on the appliance prior to attempting to patch

I am not sure if this is related but the /storage/logs directory was out of disk space and giving errors in the appliance manager... prior to attempting the patch I increased the disk space and expanded the disk, the errors went away

I pulled what I think is the relevant log files from the failed install but I really am not sure what to make of them, they are copied below.  They are the logs from /var/log/vmware/applmgmt/software-packages.log, if there is another spot I should check for relevant logs I am all ears.

Any help would be greatly appreciated! 

ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

2021-05-04T21:18:02.124 [10326]INFO:vmware.vherd.base.software_update:ISO unmounted successfully
2021-05-04T21:18:02.124 [10539]DEBUG:vmware.vherd.base.extensibility.script_executor:Add script folder /storage/core/software-packages/scripts to python path
2021-05-04T21:18:02.124 [10539]DEBUG:update_script:Apply day0 patching
2021-05-04T21:18:02.124 [10539]DEBUG:vmware.update.extensions:Found script hook <module 'update_script' from '/storage/core/software-packages/scripts/update_script.pyc'>:PrepareProductInstallationHook'
2021-05-04T21:18:02.124 [10539]DEBUG:vmware.update.extensions:Executing script hook '<module 'update_script' from '/storage/core/software-packages/scripts/update_script.pyc'>:PrepareProductInstallationHook' with arguments <vmware.update.specs.UpdateSpec object at 0x7fae7abda110>.
2021-05-04T21:18:02.124 [10539]DEBUG:vmware.update.extensions:The component script returned 'None'
2021-05-04T21:18:02.124 [10326]DEBUG:vmware.vherd.base.software_update:Script /storage/core/software-packages/scripts/update_script.py is processed looking for /storage/core/software-packages/prepare.json
2021-05-04T21:18:02.124 [10326]DEBUG:vmware.vherd.base.software_update:Script didn't return result, assume success
2021-05-04T21:18:02.124 [10326]DEBUG:vmware.vherd.base.software_update:Run command: ['/bin/rpm', '-Uhv', '--test', u'/storage/core/software-packages/*.rpm']
2021-05-04T21:18:02.124 [10326]DEBUG:vmware.vherd.base.software_update:You can find the output of the command in temp files out /var/log/vmware/applmgmt/update-out87CgTe, err /var/log/vmware/applmgmt/update-errQRSEDq
2021-05-04T21:18:03.124 [10326]DEBUG:vmware.vherd.base.software_update:STDOUT:
2021-05-04T21:18:03.124 [10326]DEBUG:vmware.vherd.base.software_update:STDERR: error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "???" records from Requirename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "libpthread.so.0(GLIBC_2.2.5)(64bit)" records from Requirename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "libpthread.so.0(GLIBC_2.2.5)(64bit)" records from Requirename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: Failed dependencies:
libjson-c.so.2()(64bit) is needed by (installed) rsyslog-8.15.0-9.ph1.x86_64
libgcc = 5.3.0-5.ph1 is needed by (installed) libstdc++-5.3.0-5.ph1.x86_64
openssl = 1.0.2r-1.ph1 is needed by (installed) openssl-c_rehash-1.0.2r-1.ph1.x86_64

2021-05-04T21:18:03.124 [10326]DEBUG:vmware.vherd.base.software_update:Test transaction failed to update package

out=
error=error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "???" records from Requirename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "libpthread.so.0(GLIBC_2.2.5)(64bit)" records from Requirename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "libpthread.so.0(GLIBC_2.2.5)(64bit)" records from Requirename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: Failed dependencies:
libjson-c.so.2()(64bit) is needed by (installed) rsyslog-8.15.0-9.ph1.x86_64
libgcc = 5.3.0-5.ph1 is needed by (installed) libstdc++-5.3.0-5.ph1.x86_64
openssl = 1.0.2r-1.ph1 is needed by (installed) openssl-c_rehash-1.0.2r-1.ph1.x86_64

rc=150

2021-05-04T21:18:03.124 [10326]CRITICAL:root:Installation process failed
2021-05-04T21:18:03.124 [10326]DEBUG:root:Test transaction failed to update packages
Exception:
Traceback (most recent call last):
File "/usr/lib/applmgmt/support/scripts/software-packages.py", line 471, in install
answers=answer)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 1951, in installPackagesEP
_runTestTransaction(pkgType, percent=50)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/task_manager.py", line 155, in trackedfunc
return func(*args, **kwargs)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/software_update.py", line 1082, in _runTestTransaction
raise GenericException("Test transaction failed to update packages")
GenericException: Test transaction failed to update packages

2021-05-04T21:18:03.124 [10326]DEBUG:vmware.vherd.base.software_update:Initialized software update state
Staged status = True
Staged packages:
{}
Installed packages:
{}
Payload packages:
{}
MetaData:
{}
Script results:

 

 

 

0 Kudos
0 Replies