Bug 1154425 - [BLOCKED] When creating iSCSI storage domain, receive warning noting "The operation might be unrecoverable and destructive!" on only one of the hosts, the list of LUNs grows with Storage domain being added and then removed
Summary: [BLOCKED] When creating iSCSI storage domain, receive warning noting "The ope...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Daniel Erez
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On: deactivate_lv_on_domain_deactivation
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-19 15:53 UTC by Gilad Lazarovich
Modified: 2022-07-13 07:54 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-31 13:36:24 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Engine and VDSM logs (1.50 MB, application/x-gzip)
2014-10-19 15:53 UTC, Gilad Lazarovich
no flags Details
LUN listing from both hosts, host capabilities and sanlock.log (6.65 KB, application/x-gzip)
2014-10-21 14:42 UTC, Gilad Lazarovich
no flags Details
full set of logs from a new setup (1.63 MB, application/x-gzip)
2014-11-12 10:10 UTC, Gilad Lazarovich
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47622 0 None None None 2022-07-13 07:54:09 UTC

Description Gilad Lazarovich 2014-10-19 15:53:05 UTC
Created attachment 948300 [details]
Engine and VDSM logs

Description of problem:
When creating iSCSI storage domain, receive warning noting "The operation might be unrecoverable and destructive!" on only one of the hosts.  The UI displays "The following LUNs are already in use" and then lists the LUNs, the list grows with Storage domain being added and then removed

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

How reproducible:
100%

Steps to Reproduce:
1. Using a setup with 2 hosts that have the same set of iSCSI LUNs, attempt to add an iSCSI Storage Domain using all available LUNs (first using one host, and then the next host - removing the Storage domain in between)

Actual results:
In my case, one of the 2 hosts shows a warning noting 5 out of the 10 available LUNs are available, while the second host shows no such warning and creates the Storage domain right away.  After removing the Storage domain, then trying again, the number of LUNs in use appears to increase (though not 100% consistent for this)

Additional information:
See attached logs

Comment 1 Daniel Erez 2014-10-20 21:23:37 UTC
Hi Gilad,

The warning is displayed based on the 'status' (used/free/unusable) property of each LUN. Can you please attach the output of getDeviceList for each host (after reproducing the described scenario)? Any difference between the hosts (vdsm build/os version/etc)?

Comment 2 Gilad Lazarovich 2014-10-21 14:42:02 UTC
Created attachment 949000 [details]
LUN listing from both hosts, host capabilities and sanlock.log

Comment 3 Daniel Erez 2014-10-22 10:58:23 UTC
According the logs [1], same lun appears as status 'free' in vdsd host, whereas, in status 'used' in vdsc host. Since the status should be identical from both hosts, moving component to vdsm for further investigation.

@Gilad - can you please check the described scenario with another set of hosts to understand if the issue is isolated to a specific host?

[1] 
* vdsd_deviceList:
 "{'GUID': '360060160f4a030000fa06fb98edbe311',
  ...
  'status': 'free',
  ...}"

* vdsc_deviceList:
 "{'GUID': '360060160f4a030000fa06fb98edbe311',
  ...
  'status': 'used',
  ...}"

Comment 4 Gilad Lazarovich 2014-11-12 10:10:00 UTC
Created attachment 956673 [details]
full set of logs from a new setup

Comment 5 Gilad Lazarovich 2014-11-12 10:10:27 UTC
Please note that this is fully reproducible on the original environment and also on a newly build vt9 environment (different hosts, engine), please find the full complement of logs in the new attachment

Comment 6 Allon Mureinik 2015-05-31 13:36:24 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.