Bug 1297689 - No error message is shown on getDevicelist failure when adding a new FC storage domain
Summary: No error message is shown on getDevicelist failure when adding a new FC stora...
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.Core
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Idan Shaby
QA Contact: Elad
Depends On:
TreeView+ depends on / blocked
Reported: 2016-01-12 08:56 UTC by Idan Shaby
Modified: 2016-07-05 08:02 UTC (History)
7 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-05 08:02:17 UTC
oVirt Team: Storage
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
tnisan: devel_ack+
acanan: testing_ack+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 51720 0 master MERGED frontend: fix FcpStorageView faults 2016-01-13 16:29:34 UTC

Description Idan Shaby 2016-01-12 08:56:53 UTC
Description of problem:
When trying to add a storage domain of the type Fibre channel, if the connection to the FC host is blocked and getDeviceList fails, no luns are loaded to the view but also no error message is shown to the user, causing a false understanding that no luns actually exist.

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

How reproducible:

Steps to Reproduce:
1. Open the New Domain window in the webadmin.
2. Choose a FC host.
3. Block the connection between the engine and the FC host.
4. Set the Storage Type to Fibre Channel.

Actual results:
The process is stuck for a while (about 40-50 seconds on my env) since getDeviceList doesn't end.
When it fails, no luns are loaded to the view, and no error message is shown to the user.

Expected results:
An error message should be shown.

Additional info:

Comment 1 Elad 2016-04-19 07:44:50 UTC
In a DC with a host exposed to FC, initiated storage domain creation via Webadmin, blocked connectivity between the engine and the host using iptables, picked FC in the domain creation prompt.

Domain creation prompt gets stuck for ~1 minute due to a failure in GetDeviceList [1] and then the following error message is presented in Webadmin:

" Could not retrieve LUNs, please check your storage. "


2016-04-19 09:55:16,490 ERROR [org.ovirt.engine.core.bll.storage.disk.lun.GetDeviceListQuery] (default task-4) [] Exception: org.ovirt.engine.core.common.errors.EngineException: EngineEx
ception: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: VDSGenericException: VDSNetworkException: Heartbeat exeeded (Failed with error VDS_NETWORK_ERROR and code 5022)
        at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:114) [bll.jar:]
        at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:]
        at org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:254) [bll.jar:]
        at org.ovirt.engine.core.bll.storage.disk.lun.GetDeviceListQuery.executeQueryCommand(GetDeviceListQuery.java:29) [bll.jar:]

Verified using:

Comment 2 Sandro Bonazzola 2016-07-05 08:02:17 UTC
oVirt 4.0.0 has been released, closing current release.

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