Bug 964595

Summary: [vdsm] add dependency on the new iscsiadm package
Product: Red Hat Enterprise Virtualization Manager Reporter: Liron Aravot <laravot>
Component: vdsmAssignee: Saggi Mizrahi <smizrahi>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: abaron, acathrow, bazulay, cboyle, iheim, jkt, lpeer, pstehlik, smizrahi, ybronhei, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: is26 Doc Type: Bug Fix
Doc Text:
After deleting the iscsi storage, ISCSIADM operations got stuck and wouldn't end.This caused connectStoragePool/GetDeviceList to fail on timeout. This has been fixed by removing forceIscsiScan() as iscsiadm already does that when refreshing sessions, and rewriting the logic with a simpler implementation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 16:07:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 983553    
Bug Blocks: 1044030    
Attachments:
Description Flags
Logs for the host that turned to unassigned after removing storage
none
Logs for the host that stayed in the up state after removing storage none

Description Liron Aravot 2013-05-19 08:18:48 UTC
Description of problem:
After deletion of iscsi storage (not from engine) - ISCSIADM operation got stuck and won't end.
this causes that connectStoragePool/GetDeviceList fail on timeout

Version-Release number of selected component (if applicable):
si17
vdsm-xmlrpc-4.10.2-19.0.el6ev.noarch
vdsm-cli-4.10.2-19.0.el6ev.noarch
vdsm-4.10.2-19.0.el6ev.x86_64
vdsm-python-4.10.2-19.0.el6ev.x86_64
rhevm-3.2.0-10.26.rc.el6ev.noarch

Steps to Reproduce:
1. iscsi pool - two hosts, one domain, pool is up
2. delete the iscsi storage
  
Actual results:
1. connectStoragePool always fail on timeout
2. getDeviceList doesn't work
3. lock queue on vdsm grows indefinitely.

Comment 1 GenadiC 2013-05-19 08:45:20 UTC
Created attachment 749983 [details]
Logs for the host that turned to unassigned after removing storage

Comment 2 GenadiC 2013-05-19 08:46:18 UTC
Created attachment 749988 [details]
Logs for the host that stayed in the up state after removing storage

Comment 3 Barak 2013-07-29 13:45:44 UTC
Saggi,

It looks like the patch for iscsiadm will get into 6.5,
So we need to send a patch for VDSM to sdjust.

Comment 5 Jiri Belka 2013-12-10 10:39:40 UTC
ok, is26.

# rpm -q vdsm ; rpm -qR vdsm | grep ^i
vdsm-4.13.2-0.1.rc.el6ev.x86_64
initscripts >= 9.03.31-2.el6_3.1
iproute  
iscsi-initiator-utils >= 6.2.0.873-3

Comment 6 errata-xmlrpc 2014-01-21 16:07:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0040.html