Upgrade of Management Server to VIOM 7.4.2.500 fails with upgrading tasks never completing in the GUI

book

Article ID: 100052312

calendar_today

Updated On:

Description

Error Message

As per /var/opt/VRTSsfmh/logs/hf.log:

2021-12-17 12:15:40 [debug] 4453 update_mh: Failed to start DB: 256: Starting SFMdb...
su -habdbsync  -c "pg_ctl -o "-p 5636" -w start -D "/var/opt/VRTSsfmcs/db/data" -l /var/VRTSsfmcs/db/data.dblog "
waiting for server to start.... stopped waiting

2021-12-17 12:15:45 [error] 4453 update_mh: postupgrade_db_pass - Failed to update dbpass for habdbsync : , please contact VERITAS Support.
2021-12-17 12:15:45 [error] 4453 update_mh: postupgrade_db_pass - Failed to update dbpass for habguest : , please contact VERITAS Support.
2021-12-17 12:15:45 [error] 4453 update_mh: postupgrade_db_pass - Failed to update dbpass for habgui : , please contact VERITAS Support.
2021-12-17 12:15:45 [debug] 4453 update_mh: Start Services if not running
2021-12-17 12:15:45 [debug] 4453 update_mh: Starting Service DB
2021-12-17 12:15:50 [debug] 4453 update_mh: Failed to start DB: 256: Starting SFMdb...
su -habdbsync  -c "pg_ctl -o "-p 5636" -w start -D "/var/opt/VRTSsfmcs/db/data" -l /var/VRTSsfmcs/db/data.dblog "

Cause

Failure to upgrade was due to the following line having been commented in /etc/sudoers:

root   ALL=(ALL)       ALL

This had the effect of impacting sudo commands in the VIOM upgrade.

Resolution

Recovery requires a bespoke procedure. If affected, please raise a support case with Veritas.

Going forward, VIOM 8.0 will remove use of sudo, thereby avoiding this scenario.

Issue/Introduction

Upgrade of Management Server to VIOM 7.4.2.500 fails with upgrading tasks never completing in the GUI