Bug 1289526

Summary: Cinder LVM iSCSI driver with LIO helper fails to handle multiple concurrent requests to attach/detach volumes
Product: Red Hat OpenStack Reporter: Jaison Raju <jraju>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: ddomingo, dmaley, dshetty, ebarrera, eharney, geguileo, jbuchta, jraju, jschluet, jwaterwo, lyarwood, pcaruana, scohen, sgotliv, yeylon, yrabl
Target Milestone: ---Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1221614 Environment:
Last Closed: 2015-12-10 13:58:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1221614    
Bug Blocks: 1227404, 1227405, 1254755    

Comment 1 Jaison Raju 2015-12-09 10:42:04 UTC
Hello Team,

Can anyone confirm if the following message is a proof that this bug was triggered ?
May 13 15:56:31 osp1-compute04 kernel: strict_strtoul() failed for port_str: -22

This error has been noticed multiple times in the past but issue where 'nova-compute cannot login to iscsi'  occurred only once .

I was able to recover this by adding acl in target :
# targetcli
/> ls
/> cd /iscsi/iqn.2010-10.org.openstack:volume-3f344318-c12e-4d92-a87c-02c025e6915a/tpg1/acls/iqn.1994-05.com.redhat:95c3136ac590/
/iscsi/iqn.20...:95c3136ac590> get auth

There was no acl set.
I created acl & since no userid & password was set ,so i set it .
Check from /var/lib/iscsi/node/*/* file if node.session.auth variables on compute.
Use same information to set on targetcli .
https://wiki.archlinux.org/index.php/ISCSI_Target

Regards,
Jaison R

Comment 2 Gorka Eguileor 2015-12-10 13:58:11 UTC
Please update to latest version as that should be fixed with persistence and concurrency issues patches.