When attempting to upgrade VMware Data Services Manager (DSM) from version 2.2.1.6070 to 2.2.3.1196, the process fails during the PROVIDER UPDATE stage.
The following error status is observed in the DSM Management console: PROVIDER PROVIDER UPDATE Install provider-update Source Version - [2.2.1.6070] to Target Version - [2.2.3.1196] FAILED
VMware Data Services Manager 2.2.1
This issue is caused by a known race condition in DSM 2.2.1 where the vpostgresql service on the DSM manager starts before all necessary system dependencies are fully initialized during the reboot sequence. This results in the statistics collector and autovacuum features failing to start, which prevents the upgrade provider from completing its tasks.
To confirm this issue, check the PostgreSQL logs on the DSM appliance:
/data/vpgsql/vpgsql.log.LOG: could not send test message on socket for statistics collector: Operation not permittedLOG: disabling statistics collector for lack of working socketWARNING: autovacuum not started because of misconfigurationThis is a known issue in DSM version 2.2.1. A permanent fix is included in version 2.2.2 and later. To proceed with the upgrade to 2.2.3, use the following workaround to restart the affected service:
Log in to the DSM appliance shell as root.
Restart the PostgreSQL service to ensure all system dependencies are available:
'systemctl restart vpostgresql.service'Verify the service has started cleanly by checking the log file again (/data/vpgsql/vpgsql.log) to ensure the "disabling statistics collector" warning is no longer appearing.
Return to the DSM Management UI and re-initiate the Control Plane upgrade.