Bug 801388 - Wrong error when trying to create block storage domain smaller than 10 GB
Summary: Wrong error when trying to create block storage domain smaller than 10 GB
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.3.4
Assignee: Einav Cohen
QA Contact:
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-08 12:25 UTC by Jakub Libosvar
Modified: 2016-02-10 16:53 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-12 07:33:18 UTC
oVirt Team: Storage


Attachments (Terms of Use)

Description Jakub Libosvar 2012-03-08 12:25:08 UTC
Description of problem:
When attempting to create iscsi storage domain which size is less than 10GB, AttachStorageDomainToPool fails with ACTION_TYPE_FAILED_STORAGE_DOMAIN_NOT_EXIST and similar error message is written in displayed error dialogue.

Version-Release number of selected component (if applicable):
ovirt-engine-backend-3.0.0_0001-3.git4364f1b.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create iscsi storage domain smaller than 10 GB
  
Actual results:
Error says Storage domain doesn't exist

Expected results:
Error says that storage domain smaller than 10GB cannot be created

Additional info:
vdsm provides error to backend correctly:
2012-03-08 13:06:27,681 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (http--0.0.0.0-8443-8) [6554c995] Command CreateVGVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to CreateVGVDS, error = Volume Group not big enough: ('VG size must be more than 10240 MiB',)
2012-03-08 13:06:27,681 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand] (http--0.0.0.0-8443-8) [6554c995] FINISH, CreateVGVDSCommand, log id: b396d
2012-03-08 13:06:27,682 ERROR [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] (http--0.0.0.0-8443-8) [6554c995] Command org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to CreateVGVDS, error = Volume Group not big enough: ('VG size must be more than 10240 MiB',)
2012-03-08 13:06:27,694 INFO  [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] (http--0.0.0.0-8443-8) [6554c995] Command [id=917a3b0e-a7eb-4347-bd5b-89430a73717a]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.storage_domain_dynamic; snapshot: 6a2da07a-1e0a-4060-abaf-780c67fc598a.
2012-03-08 13:06:27,701 INFO  [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] (http--0.0.0.0-8443-8) [6554c995] Command [id=917a3b0e-a7eb-4347-bd5b-89430a73717a]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.storage_domain_static; snapshot: 6a2da07a-1e0a-4060-abaf-780c67fc598a.
2012-03-08 13:06:27,715 ERROR [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] (http--0.0.0.0-8443-8) [6554c995] Transaction rolled-back for command: org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand.
2012-03-08 13:06:27,811 WARN  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (http--0.0.0.0-8443-8) [35c23738] CanDoAction of action AttachStorageDomainToPool failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ATTACH,ACTION_TYPE_FAILED_STORAGE_DOMAIN_NOT_EXIST
2012-03-08 13:07:35,803 INFO  [org.ovirt.engine.core.bll.DbUserCacheManager] (QuartzScheduler_Worker-38) DbUserCacheManager::refreshAllUserData() - entered

Comment 1 mkublin 2012-03-28 07:50:39 UTC
Not backend bug, but gui.
I suppose the gui is creating a storage domain, it is fails, but gui continues 
to a new operation AttachStorageDomainToPoolCommand, with out any relation to failure at the previous command

Comment 2 Itamar Heim 2012-12-12 07:33:18 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


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