Bug 772623 - RFE: [ovirt-engine-core] Removing a storage domain should not ask a user to select a specific host.
Summary: RFE: [ovirt-engine-core] Removing a storage domain should not ask a user to s...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.3.4
Assignee: lpeer
QA Contact:
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-09 13:17 UTC by Kiril Nesenko
Modified: 2015-01-24 11:19 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-12 07:33:13 UTC
oVirt Team: ---


Attachments (Terms of Use)
logs (264.22 KB, application/x-bzip)
2012-01-09 13:17 UTC, Kiril Nesenko
no flags Details

Description Kiril Nesenko 2012-01-09 13:17:41 UTC
Created attachment 551562 [details]
logs

Description of problem:
I have FC DC. I have removed the DC and tried to remove the storage domain with another host (host without FC). It fails.
It should be able to remove the storage domain only with a host that support that specific storage type. 

2012-01-09 15:03:38,524 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FormatStorageDomainVDSCommand] (pool-11-thread-7) START, FormatStorageDomainVDSCommand(vdsId = 7b6aeff6-3ac0-11e1-a5b0-001a4a16970d, storageDomainId=c0c1f723-e003-41cb-85b7-646377e5c3e5), log id: 275bfee7
2012-01-09 15:03:38,622 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-11-thread-7) Failed in FormatStorageDomainVDS method
2012-01-09 15:03:38,623 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-11-thread-7) Error code StorageDomainFormatError and error message VDSGenericException: VDSErrorException: Failed to FormatStorageDomainVDS, error = Error formating a storage domain: ('c0c1f723-e003-41cb-85b7-646377e5c3e5',)
2012-01-09 15:03:38,623 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-11-thread-7) Command org.ovirt.engine.core.vdsbroker.vdsbroker.FormatStorageDomainVDSCommand return value 
 Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
mStatus                       Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
mCode                         352
mMessage                      Error formating a storage domain: ('c0c1f723-e003-41cb-85b7-646377e5c3e5',)


Version-Release number of selected component (if applicable):
ic153.3

How reproducible:
Always

Steps to Reproduce:
1. Make sure you have FC DC.
2. Remove the DC
3. Go to Storage tab and try to remove the fc data with host that not support FC
  
Actual results:
Failing to remove the storage domain

Expected results:
Only hosts that support that specific storage type should be available in UI.


Additional info:

Comment 1 Kiril Nesenko 2012-01-09 13:42:57 UTC
When removing a storage domain, user should not be able to select a host. The domain just should be removed with a host that support that specific storage type.

Comment 2 Itamar Heim 2012-01-14 12:00:17 UTC
this is easy if there is a host in the DC. but it could be hosts lost communication to this SD, or there is no host in its DC that can do it.
so for the default flow this should be trivial, but not for corner cases

Comment 3 Itamar Heim 2012-12-12 07:33:13 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.