Description of problem: Can't configure host with more than 2TB memory Version-Release number of selected component (if applicable): 3.2.2 (sf19.2) How reproducible: 100% Steps to Reproduce: 1. configure RHEV with 2 hosts 2. in /usr/share/vdsm/caps.py set caps['memSize'] = '2147483648' 3. restart vdsm process Actual results: host become non-responsive Expected results: host should be up from engine.log =============== 2013-08-13 10:50:22,560 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] (QuartzScheduler_Worker-64) Failed to parse memSize value 2147483648 to integer: java.lang.NumberFormatException: For input string: "2147483648" Changes made in /usr/share/vdsm/caps.py ======================================= caps['memSize'] = str(utils.readMemInfo()['MemTotal'] / 1024) #caps['memSize'] = '3221225472' caps['memSize'] = '2147483648'
Created attachment 786094 [details] logs
by mistake we set the memSize in KB instead of MB. as from the code you can see it gets the value in KB but split by 1024. we need to set memSize(KB)/1024