"Error[VdbError] (-5) The data being fetched is NULL at column position 18 for "VPX_DS_INFO.MAX_PHYSICAL_RDM_FILE_SIZE"" error while upgrading VCSA from 6.5 to 6.7
book
Article ID: 343742
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
Upgrading vCenter appliance from 6.5 to 6.7 fails with the error:
Error[VdbError] (-5) The data being fetched is NULL at column position 18 for "VPX_DS_INFO.MAX_PHYSICAL_RDM_FILE_SIZE"
In the FirstbootInfrastructure.log file, you see entries similar to:
2019-05-07T10:16:36.87Z INFO firstbootInfrastructure [Failed] /usr/lib/vmware-vpx/firstboot/vpxd_firstboot.py is complete 2019-05-07T10:16:36.89Z WARNING firstbootInfrastructure Bug component info file does not exist 2019-05-07T10:16:36.89Z INFO firstbootInfrastructure Firstboot duration: 1396 sec 2019-05-07T10:16:36.89Z INFO firstbootInfrastructure First boot is a failure
In the vpxd_firstboot.py_13448_stderr.log file you see entries similar to:
2019-05-07T10:16:35.987Z error vpxd[32030] [Originator@6876 sub=Main] Init failed. VdbError: Error[VdbError] (-5) The data being fetched is NULL at column position 18 for "VPX_DS_INFO.MAX_PHYSICAL_RDM_FILE_SIZE" --> Backtrace:
Environment
VMware vCenter Server Appliance 6.5.x VMware vCenter Server 6.5.x VMware vCenter Server Appliance 6.7.x VMware vCenter Server 6.7.x
Cause
This issue occurs when there are one or more entries are having null values which causes vpxd firstboot failure in the table vpx_datastore_info the MAX_PHYSICAL_RDM_FILE_SIZE or MAX_VIRTUAL_RDM_FILE_SIZE.
Resolution
To resolve this issue:
Take snapshot of the VCSA.
Connect to the vCenter database using below commands: