vSphere Replication appliance upgrade fails - Error while running pre-install scripts
search cancel

vSphere Replication appliance upgrade fails - Error while running pre-install scripts

book

Article ID: 312708

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

vSphere Replication appliance update fails without displaying errors after a few seconds.

/opt/vmware/var/log/preupdatelog : 

+ LAST_VERSION=8.5.0.12709
+ NEXT_VERSION=8.7.0.14623
+ '[' 2 '!=' 2 ']'
+ echo 'Installing update from version 8.5.0.12709 to version 8.7.0.14623'
Installing update from version 8.5.0.12709 to version 8.7.0.14623
+ /opt/vmware/vpostgres/current/bin/pg_dump -U vrmsdb -Ft vrmsdb
+ /usr/bin/bzip2 --best
pg_dump: [tar archiver] could not write to output file: No space left on device

 

/opt/vmware/var/log/vami/updatecli.log :

09/02/2024 19:17:26 [INFO] Starting Install
09/02/2024 19:17:26 [INFO] Update status: Starting Install
09/02/2024 19:17:26 [INFO] Update status: Running pre-install scripts
09/02/2024 19:17:26 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/16/pre_install '8.5.0.12709' '8.7.0.15187'
+ exec
09/02/2024 19:17:54 [ERROR] Failed with exit code 256
09/02/2024 19:17:54 [INFO] Update status: Running post-install scripts
09/02/2024 19:17:54 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/16/post_install '8.5.0.12709' '8.7.0.15187' 1
+ exec
09/02/2024 19:17:54 [INFO] Update status: Done post-install scripts
09/02/2024 19:17:54 [INFO] Update status: Running VMware tools reconfiguration
09/02/2024 19:17:54 [INFO] Running /opt/vmware/share/vami/vami_reconfigure_tools
vmware-toolbox-cmd is /bin/vmware-toolbox-cmd
vmtoolsd wrapper not required on this VM with systemd.
09/02/2024 19:17:54 [INFO] Update status: Done VMware tools reconfiguration
09/02/2024 19:17:54 [INFO] Update status: Error while running pre-install scripts
09/02/2024 19:17:54 [ERROR] Failure: updatecli exiting abnormally
09/02/2024 19:17:54 [INFO] Install Finished
12/02/2024 19:54:27 [INFO] Starting Install
12/02/2024 19:54:27 [INFO] Update status: Starting Install
12/02/2024 19:54:27 [INFO] Update status: Running pre-install scripts
12/02/2024 19:54:27 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/19/pre_install '8.5.0.12709' '8.7.0.15187'
+ exec
12/02/2024 19:54:56 [ERROR] Failed with exit code 256
12/02/2024 19:54:56 [INFO] Update status: Running post-install scripts
12/02/2024 19:54:56 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/19/post_install '8.5.0.12709' '8.7.0.15187' 1
+ exec
12/02/2024 19:54:56 [INFO] Update status: Done post-install scripts
12/02/2024 19:54:56 [INFO] Update status: Running VMware tools reconfiguration
12/02/2024 19:54:56 [INFO] Running /opt/vmware/share/vami/vami_reconfigure_tools
vmware-toolbox-cmd is /bin/vmware-toolbox-cmd
vmtoolsd wrapper not required on this VM with systemd.
12/02/2024 19:54:56 [INFO] Update status: Done VMware tools reconfiguration
12/02/2024 19:54:56 [INFO] Update status: Error while running pre-install scripts
12/02/2024 19:54:56 [ERROR] Failure: updatecli exiting abnormally
12/02/2024 19:54:56 [INFO] Install Finished

/opt/vmware/var/log/vami/vami.log :

12/02/2024 20:50:54 [ERROR] Unable to install updates because package files are missing.
12/02/2024 20:50:54 [INFO] Reloading new configuration. file=/opt/vmware/var/lib/vami/update/provider/provider-deploy.xml12/02/2024 20:50:54 [ERROR] failed to load file /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml (Error document empty.)
12/02/2024 20:50:54 [ERROR] Unable to reload configuration file: /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml
12/02/2024 20:51:28 [ERROR] failed to load file /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml (Error document empty.)
12/02/2024 20:52:02 [ERROR] failed to load file /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml (Error document empty.)
12/02/2024 20:52:02 [INFO] Reloading new configuration. file=/opt/vmware/var/lib/vami/update/provider/provider-deploy.xml
12/02/2024 20:52:02 [ERROR] failed to load file /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml (Error document empty.)
12/02/2024 20:52:02 [ERROR] Unable to reload configuration file: /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml
12/02/2024 20:52:02 [INFO] Reloading new configuration. file=/opt/vmware/var/lib/vami/update/provider/provider-deploy.xml
12/02/2024 20:52:02 [ERROR] failed to load file /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml (Error document empty.)
12/02/2024 20:52:02 [ERROR] Unable to reload configuration file: /opt/vmware/var/lib/vami/update/provider/provider-deploy.xml

 

Environment

VMware vSphere Replication 8.x

Cause

  1. Appliance upgrade requires more space.
  2. pg_dump cannot write to output file: No space left on device

Resolution

If the above symptoms and issue matches, please contact Broadcom Support to investigate the issue