Skip to content
  • There are no suggestions because the search field is empty.

Netwitness Upgrade to 12.4 does not Start or Fails at Leapp Prechecks due to Inadequate Disk Space

Issue

Netwitness host upgrade to 12.4 does not start or fails at leapp prechecks due to inadequate disk space. The upgrade fails with below errors.

/var/log/salt/minion:

salt-minion: [ERROR] Failed to execute "leapp upgrade"

/var/log/leapp/leapp-upgrade.log:

Error Summary
Disk Requirements:
At least xMB more space needed on the / filesystem.

Cause

The issue occurs due to inadequate disk space in / partition. If the host has any XFS partitions with ‘ftype’ set as 0, the overlay mounts created by leapp could requires extra disk space than the default 2048MB and this leads to leapp upgrade failure. 

  • To validate 'ftype' value, please use below command:
[root@nwhost~]# xfs_info /var/netwitness/concentrator/index | grep ftype
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1

Resolution

  • Run the following command to update the default value for LEAPP_OVL_SIZE variable, so that it creates overlay mounts with size 4GB instead of 2GB.
sed -i 's/2048/4096/g' /usr/share/leapp-repository/repositories/system_upgrade/common/libraries/overlaygen.py
  • Run the following command to update the default base directory for leapp to /var/netwitness which has more available space.
sed -i s#/var/lib/leapp#/var/netwitness#g /usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/constants.py

Note: The symlink will be intact in the system. When the leapp utility is used for Alma Linux 8 to Alma Linux 9 in future, it will be useful. 

  • Proceed to re-trigger the upgrade for the Netwitness host from Admin Server.

Notes

This issue has been fixed in 12.4.1 version permanently.


Product Details

Netwitness Product Set: NetWitness Logs & Network
Netwitness Product/Service Type: All NetWitness Components
Netwitness Version/Condition: 12.4
Platform: CentOS, AlmaLinux


Summary

This knowledge outlines the procedure to fix insufficient disk error during the upgrade.


Approval Reviewer Queue

Technical approval queue