Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1602158

Summary: ceph iscsi: windows 2016 retries STPG even though success is returned
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Christie <mchristi>
Component: iSCSIAssignee: Mike Christie <mchristi>
Status: CLOSED ERRATA QA Contact: Manohar Murthy <mmurthy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1CC: anharris, ceph-eng-bugs, ceph-qe-bugs, hnallurv, jdillama, kdreyer, tchandra
Target Milestone: rc   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-iscsi-config-2.6-7.el7cp ceph-iscsi-cli-2.7-4.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:22:32 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:

Description Mike Christie 2018-07-17 22:06:08 UTC
Description of problem:

After recovering from a iscsi path down, windows 2016 will retry a STPG even though success is returned. In the logs we will see this repeated:

Jul 17 01:28:41 commando tcmu-runner: 2018-07-17 01:28:41.768 60588 [ERROR] tcmu_emulate_set_tgt_port_grps:750 rbd/poolA.win2k16_vol3: Failing STPG for group 2
Jul 17 01:28:41 commando tcmu-runner: tcmu_emulate_set_tgt_port_grps:750 rbd/poolA.win2k16_vol3: Failing STPG for group 2
Jul 17 01:28:42 commando tcmu-runner: 2018-07-17 01:28:42.017 60588 [WARN] tcmu_block_device:395 rbd/poolA.win2k16_vol3: Kernel does not support the block_dev action.
Jul 17 01:28:42 commando tcmu-runner: tcmu_block_device:395 rbd/poolA.win2k16_vol3: Kernel does not support the block_dev action.
Jul 17 01:28:42 commando tcmu-runner: 2018-07-17 01:28:42.018 60588 [WARN] tcmu_rbd_lock:735 rbd/poolA.win2k16_vol3: Acquired exclusive lock.

The block_dev/unblock warnings can be ignored.

The problem is that the first STPG fails for a currently unknown reason. It is retried as expected. This works, but then the initiator sends the STPG again. The above sequence then repeats about 46 times.

The initiator then tries the second path and it works the first time and the initiator does not retry.

block_device:395 rbd/poolA.win2k16_vol3: Kernel does not support the block_dev action.
Jul 17 01:28:43 catalina tcmu-runner: tcmu_block_device:395 rbd/poolA.win2k16_vol3: Kernel does not support the block_dev action.
Jul 17 01:28:43 catalina tcmu-runner: 2018-07-17 01:28:43.222 59934 [WARN] tcmu_rbd_lock:735 rbd/poolA.win2k16_vol3: Acquired exclusive lock.
Jul 17 01:28:43 catalina tcmu-runner: tcmu_rbd_lock:735 rbd/poolA.win2k16_vol3: Acquired exclusive lock.
Jul 17 01:28:43 catalina tcmu-runner: 2018-07-17 01:28:43.270 59934 [WARN] tcmu_unblock_device:418 rbd/poolA.win2k16_vol3: Kernel does not support the block_dev action.
Jul 17 01:28:43 catalina tcmu-runner: tcmu_unblock_device:418 rbd/poolA.win2k16_vol3: Kernel does not support the block_dev action.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 10 errata-xmlrpc 2018-09-26 18:22:32 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.

https://access.redhat.com/errata/RHBA-2018:2819