- Upgrade Validation fails at step 3 of 9.
- The error Cannot continue the installation of the PAK file because Pre-Upgrade Validation Checks have failed is present.
- Checking top command output shows that Swap is showing a total of 0 instead of the expected 4102M.
- The /storage/log/vcops/log/pakmanager/logs/vropsupgradepakfilename/validate_stderr.log contains the following error in relation to the failed swap_space_check validation script:
DEBUG - Swap: 0 0 0
DEBUG - total: 0mb, used: 0mb
ERROR - swap_space_check failed, float division by zero
Traceback (most recent call last):
File "validate.py", line 1974, in main
result, result_description = getattr(envInfo, check_name)()
File "validate.py", line 1393, in swap_space_check
swap_percent = float(used)/float(total)
ZeroDivisionError: float division by zero
ERROR - float division by zero
- Attempting to enable swap again using the swapon -a command results in the following error:
swapon: /dev/sda2: read swap header failed: Invalid argument