Hi,
we have:
vCenter 5.1U3 (upgraded from clean install of 5.1.0b)
External MS SQL Server 2008 R2 SP1
Windows 2008 R2 SP1
our upgrade is failing the same:
---------------------------
install.vpxd.action.failed
---------------------------
VMware VirtualCenter failed firstboot.
Database in-place upgrade failed. Please see vcdb_inplace.err and vcdb_inplace.out for details.
Please refer to vSphere documentation to troubleshoot or Please contact VMware Support.
---------------------------
OK
---------------------------
and in the vcdb_req.err file we also see:
WARNING: Cannot execute statement(rc=100).
DELETE FROM VPX_TABLE
^^^^^^^^^^
WARNING: Cannot execute statement(rc=100).
DELETE FROM VPX_INDEX_COLUMN
^^^^^^^^^^
WARNING: Cannot execute statement(rc=100).
DELETE FROM VPX_SCHEMA_HASH
^^^^^^^^^^
We are running the upgrade as a user with 'sa' rights to MSSQL and 'admin' rights to vCenter, SSO and Windows. vCenter is installed to run as an AD service account. This AD account has db_owner role assigned for the vCenter DB.
Our original vCenter 5.1.0b DB was manually created, and then populated by the vCenter installer. It does not use the VMX schema mentioned in the vSphere6 documentation. Instead, the vSphere 5 installer mapped the AD service account to the vCenter DB user 'dbo', with a schema of 'dbo'.
Our upgrade would not progress until we added the AD Service account the ability to VIEW SERVER STATE to the instance. Without this the installer failed accessing the system tables when trying to get the SQL instance port. Apparently this is 'optional' in the vSphere 6 notes!
I have checked the SQL permissions, and remembered to add the temporary permissions to MSDB for the upgrade.
However - I CAN UPGRADE SUCCESSFULLY if I add the vCenter AD service account to the SQL role 'sysadmin' - so this has to be a SQL rights issue. I could just do this temporarily for the install, then remove afterwards, but who knows what could break in the future if you do this.
I'll raise a support ticket with VMware and update if I get anything useful.
Regards,
Rob.