Hide Forgot
Description of problem: VDSM [TXT]: Wrong Error pop-up when adding small VG Version-Release number of selected component (if applicable): RHEVM Version: ic91 VDSM Version: vdsm22-4.5-63.15.el5_6 How reproducible: always Steps to Reproduce: 1. Install RHEVM Version ic91 2. Attempt to add new iSCSI data domain with VG size of: 5G Actual results: Getting an Error of: Not big enough Volume Gruop RHEVM.log: 2011-02-07 17:40:35,425 ERROR [com.redhat.rhevm.vdsbroker.VDSCommandBase] (pool-21-thread-24) Command CreateVGVDS execution failed. Exception: VDSGenericException: VDSErrorException: Failed in vdscommand to Create VGVDS, error = Volume Group not big enough: ('VG size must be more than 10737418240 bytes',) 2011-02-07 17:40:35,425 ERROR [com.redhat.rhevm.bll.CommandBase] (pool-21-thread-24) Command com.redhat.rhevm.bll.storage.AddSANStorageDomainCommand throw Vdc Bll exception. With error message VdcBLLException: com .redhat.rhevm.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to CreateVGVDS, error = Volume Group not big enough: ('VG size must be more than 10737418240 bytes' ,) 2011-02-07 17:40:35,426 ERROR [com.redhat.rhevm.bll.CommandBase] (pool-21-thread-24) Transaction rolled-back for command: com.redhat.rhevm.bll.storage.AddSANStorageDomainCommand. 2011-02-07 17:44:38,737 INFO [com.redhat.rhevm.bll.CommandBase] (http-0.0.0.0-443-2) Running command: ConnectStorageToVdsCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type : System VDSM Log: Thread-2658::ERROR::2011-02-09 16:06:36,444::misc::66::irs::Volume Group not big enough: ('VG size must be more than 10737418240 bytes',) Thread-2658::ERROR::2011-02-09 16:06:36,444::misc::67::irs::Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 978, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/hsm.py", line 788, in public_createVG newVG.create(devices) File "/usr/share/vdsm/storage/vg.py", line 274, in create raise se.VolumeGroupSizeError("VG size must be more than %s bytes" % str(MINIMALVGSIZE)) VolumeGroupSizeError: Volume Group not big enough: ('VG size must be more than 10737418240 bytes',) Expected results: Sould add the minimum size to create new VG for example: Volume Group should be at least XGb size" Additional info: ** Please see attached screen shot