Exception occurrs when checking data partition diskspace availability on vRA appliance as part of vRLCM upgrade pre-checks
search cancel

Exception occurrs when checking data partition diskspace availability on vRA appliance as part of vRLCM upgrade pre-checks

book

Article ID: 314932

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • The issue will occur when upgrade pre-check is triggered and any of the vRA partitions exceed 2147GB in size
 
  • Upgrading vRA via vRLCM fails at Pre-checks with an Exception while checking Disk space check on data partition

Exception encountered while checking data partition diskspace availability on vRA VA : <vRA_FQDN> Exception : For input string: "<Integer_Value_larger_than_2,147,483,647>"

 

  • The /var/log/vmware/vrlcm/vmware_vrlcm.log file contains the following error:

 

2022-10-06 10:41:04.417 INFO [pool-3-thread-14] c.v.v.l.d.v.h.VraPreludeInstallHelper - -- ====================================================
2022-10-06 10:41:04.417 INFO [pool-3-thread-14] c.v.v.l.d.v.h.VraPreludeInstallHelper - -- Error Stream ::
2022-10-06 10:41:04.418 INFO [pool-3-thread-14] c.v.v.l.d.v.h.VraPreludeInstallHelper - -- ====================================================
2022-10-06 10:41:04.418 INFO [pool-3-thread-14] c.v.v.l.d.v.h.VraPreludeInstallHelper - -- null
2022-10-06 10:41:04.418 INFO [pool-3-thread-14] c.v.v.l.d.v.h.VraPreludeInstallHelper - -- ====================================================
2022-10-06 10:41:04.418 ERROR [pool-3-thread-14] c.v.v.l.p.c.v.t.u.VraVaPrecheckTaskUtil - -- Exception while checking data partition diskspace availability on vRA VA : <vRA_FQDN>
java.lang.NumberFormatException: For input string: "<Integer_Value_Larger_Than_2,147,483,647>"
        at java.lang.NumberFormatException.forInputString(Unknown Source) ~[?:?]
        at java.lang.Integer.parseInt(Unknown Source) ~[?:?]
        at java.lang.Integer.parseInt(Unknown Source) ~[?:?]
        at com.vmware.vrealize.lcm.plugin.core.vra80.task.util.VraVaPrecheckTaskUtil.checkDataPartition(VraVaPrecheckTaskUtil.java:992) [vmlcm-vrapreludeplugin-core-8.8.0-SNAPSHOT.jar!/:?]
        at com.vmware.vrealize.lcm.plugin.core.vra80.task.util.VraVaPrecheckTaskUtil.validateVraUpgrade(VraVaPrecheckTaskUtil.java:121) [vmlcm-vrapreludeplugin-core-8.8.0-SNAPSHOT.jar!/:?]
        at com.vmware.vrealize.lcm.plugin.core.vra80.task.upgrade.VraVaUpgradePreValidationTask.execute(VraVaUpgradePreValidationTask.java:202) [vmlcm-vrapreludeplugin-core-8.8.0-SNAPSHOT.jar!/:?]
        at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:63) [vmlcm-engineservice-core-8.8.0-SNAPSHOT.jar!/:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]

 


Environment

VMware vRealize Suite Lifecycle Manager 8.x
VMware vRealize Automation 8.x

Cause

The issue occurs when the sizes of the vRA nodes' data partition exceeds the maximum range supported by the integer data type (2,147,483,647) resulting in a NumberFormatException  being thrown.

Resolution

You can either shrink the partition below so that pre-checks pass or ignore the pre-check failures and proceed with the upgrade.