Bug 676320 - VDSM [TXT]: Wrong Error pop-up when adding small VG [NEEDINFO]
Summary: VDSM [TXT]: Wrong Error pop-up when adding small VG
Keywords:
Status: CLOSED DUPLICATE of bug 676321
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: vdsm22
Version: 5.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-09 14:21 UTC by Ortal
Modified: 2016-04-18 06:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-10 10:56:16 UTC
Target Upstream Version:
ykaul: needinfo? (ogvura)


Attachments (Terms of Use)

Description Ortal 2011-02-09 14:21:56 UTC
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


Note You need to log in before you can comment on or make changes to this bug.