Upgrade fails with module manager
search cancel

Upgrade fails with module manager

book

Article ID: 375397

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Upgrade of MnR from 7.4 to 7.7 fails with module manager on M&R Collector with below error:

./manage-modules.sh update module-manager
Required dependencies, in processing order:
[1] java '8.0.321' => v8.0.321
[2] U module-manager '1.16.9' => v1.17.6
> 1 not modified, 1 to update
> 19.7 MB space required / 70.1 GB available
? Enter the step to modify, 'yes' to accept them, or 'no' to cancel the operation

Starting update of module-manager 1.16.9 from v1.16.9 to v1.17.6...
* Gathering information...
! ERROR: There's not enough space left in '/tmp/APG-Module-Manager-2878'.
! ERROR: 31,503 MB are required while only 10,197 MB are available.
! WARNING: Please remove unused files or select another location.

Environment

 Watch4net|M&R - 7.x

Cause

There was no enough space in /tmp directory for Manager-Module to upgrade

Resolution

  1. Either you increase the space for /tmp directory

OR

  1. Create a /tmp directory with the enough space and then edit the launch-manager.sh configuration file

path  <Base dir APG>/Tools/Module-Manager/1.16.9/bin/launch-manager.sh 

from: if [ z "${_workdir}" ]; then _workdir=${TMPDIR:/tmp}/APG-Module-Manager-${RANDOM}; fi

to: if [ z "${_workdir}" ]; then _workdir=${TMPDIR:<path where the /tmp dir is created with enough space>}/APG-Module-Manager-${RANDOM}; fi

 

e.g.  /opt/tmp (enough space is available).