2015-09-22 23:29:18 |
Jordan Callicoat |
bug |
|
|
added bug |
2015-09-22 23:35:57 |
Jordan Callicoat |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=865960 |
|
2015-09-23 13:21:37 |
Eric Desrochers |
bug |
|
|
added subscriber Eric Desrochers |
2015-09-23 17:43:02 |
Chris J Arges |
nominated for series |
|
Ubuntu Trusty |
|
2015-09-23 17:43:02 |
Chris J Arges |
bug task added |
|
tgt (Ubuntu Trusty) |
|
2015-09-23 17:43:02 |
Chris J Arges |
nominated for series |
|
Ubuntu Vivid |
|
2015-09-23 17:43:02 |
Chris J Arges |
bug task added |
|
tgt (Ubuntu Vivid) |
|
2015-09-23 17:43:02 |
Chris J Arges |
nominated for series |
|
Ubuntu Precise |
|
2015-09-23 17:43:02 |
Chris J Arges |
bug task added |
|
tgt (Ubuntu Precise) |
|
2015-09-23 17:47:56 |
Eric Desrochers |
tgt (Ubuntu Trusty): importance |
Undecided |
High |
|
2015-09-23 17:48:01 |
Eric Desrochers |
tgt (Ubuntu Trusty): status |
New |
Confirmed |
|
2015-09-23 17:48:03 |
Eric Desrochers |
tgt (Ubuntu Trusty): assignee |
|
Eric Desrochers (eric-desrochers-z) |
|
2015-09-24 15:24:06 |
Eric Desrochers |
bug |
|
|
added subscriber SRU Verification |
2015-09-24 15:24:16 |
Eric Desrochers |
tags |
|
verification-done |
|
2015-09-24 15:24:22 |
Eric Desrochers |
tgt (Ubuntu Trusty): status |
Confirmed |
In Progress |
|
2015-09-24 15:47:40 |
Eric Desrochers |
description |
With a large number of targets tgtadm --mode target --op show returns inconsistent results. Some targets are not listed during one run, but are shown by a run immediately after.
I grabbed the binary from the wily package and I am getting consistent results, so somewhere between 1.0.43 and 1.0.57 upstream seems to have patched the bug.
Can we get 1.0.57 (or whatever version has the fix) backported to trusty?
----
# ./tgtadm -L iscsi --mode target --op show | fgrep -c Target
564
# dpkg -l | fgrep tgt
ii tgt 1:1.0.43-0ubuntu4 amd64 Linux SCSI target user-space tools
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
----
Buggy 1.0.43 version:
# for i in {1..100} ; do diff -u <(/usr/sbin/tgtadm -L iscsi --mode target --op show | fgrep Target) <(/usr/sbin/tgtadm -L iscsi --mode target --op show | fgrep Target) ; sleep 1 ; done
--- /dev/fd/63 2015-09-22 23:05:38.648448562 +0000
+++ /dev/fd/62 2015-09-22 23:05:38.648448562 +0000
@@ -560,3 +560,5 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
+Target 581: iqn.2010-10.org.openstack:volume-ddcebcc4-eb13-459e-be1d-2068ee03a4c6
--- /dev/fd/63 2015-09-22 23:05:40.720506264 +0000
+++ /dev/fd/62 2015-09-22 23:05:40.720506264 +0000
@@ -560,3 +560,4 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
--- /dev/fd/63 2015-09-22 23:05:41.752535004 +0000
+++ /dev/fd/62 2015-09-22 23:05:41.752535004 +0000
@@ -560,3 +560,5 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
+Target 581: iqn.2010-10.org.openstack:volume-ddcebcc4-eb13-459e-be1d-2068ee03a4c6
--- /dev/fd/63 2015-09-22 23:05:43.828592816 +0000
+++ /dev/fd/62 2015-09-22 23:05:43.828592816 +0000
@@ -560,4 +560,3 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
-Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
----
Working 1.0.57 version:
# for i in {1..100} ; do diff -u <(./tgtadm -L iscsi --mode target --op show | fgrep Target) <(./tgtadm -L iscsi --mode target --op show | fgrep Target) ; sleep 1 ; done
# |
SRU JUSTIFICATION
[Impact]
* tgtadm returns inconsistents results. Some targets are not
listed during one run, but are shown by a run immediately after.
[Test Case]
* With large number of targets :
# ./tgtadm -L iscsi --mode target --op show | fgrep -c Target
564
# dpkg -l | fgrep tgt
ii tgt 1:1.0.43-0ubuntu4 amd64 Linux SCSI target user-space tools
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
----
Buggy 1.0.43 version:
# for i in {1..100} ; do diff -u <(/usr/sbin/tgtadm -L iscsi --mode target --op show | fgrep Target) <(/usr/sbin/tgtadm -L iscsi --mode target --op show | fgrep Target) ; sleep 1 ; done
--- /dev/fd/63 2015-09-22 23:05:38.648448562 +0000
+++ /dev/fd/62 2015-09-22 23:05:38.648448562 +0000
@@ -560,3 +560,5 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
+Target 581: iqn.2010-10.org.openstack:volume-ddcebcc4-eb13-459e-be1d-2068ee03a4c6
--- /dev/fd/63 2015-09-22 23:05:40.720506264 +0000
+++ /dev/fd/62 2015-09-22 23:05:40.720506264 +0000
@@ -560,3 +560,4 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
--- /dev/fd/63 2015-09-22 23:05:41.752535004 +0000
+++ /dev/fd/62 2015-09-22 23:05:41.752535004 +0000
@@ -560,3 +560,5 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
+Target 581: iqn.2010-10.org.openstack:volume-ddcebcc4-eb13-459e-be1d-2068ee03a4c6
--- /dev/fd/63 2015-09-22 23:05:43.828592816 +0000
+++ /dev/fd/62 2015-09-22 23:05:43.828592816 +0000
@@ -560,4 +560,3 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
-Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
[Regression Potential]
* None expected, the patch comes from tgt upstream repo and it is already implemented in Ubuntu Wily and Debian.
[Other Info]
* The fix has been tested by the community and the fix resolved the issue. For more details see Comment #4
[Original Description]
With a large number of targets tgtadm --mode target --op show returns inconsistent results. Some targets are not listed during one run, but are shown by a run immediately after.
I grabbed the binary from the wily package and I am getting consistent results, so somewhere between 1.0.43 and 1.0.57 upstream seems to have patched the bug.
Can we get 1.0.57 (or whatever version has the fix) backported to trusty?
----
# ./tgtadm -L iscsi --mode target --op show | fgrep -c Target
564
# dpkg -l | fgrep tgt
ii tgt 1:1.0.43-0ubuntu4 amd64 Linux SCSI target user-space tools
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
----
Buggy 1.0.43 version:
# for i in {1..100} ; do diff -u <(/usr/sbin/tgtadm -L iscsi --mode target --op show | fgrep Target) <(/usr/sbin/tgtadm -L iscsi --mode target --op show | fgrep Target) ; sleep 1 ; done
--- /dev/fd/63 2015-09-22 23:05:38.648448562 +0000
+++ /dev/fd/62 2015-09-22 23:05:38.648448562 +0000
@@ -560,3 +560,5 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
+Target 581: iqn.2010-10.org.openstack:volume-ddcebcc4-eb13-459e-be1d-2068ee03a4c6
--- /dev/fd/63 2015-09-22 23:05:40.720506264 +0000
+++ /dev/fd/62 2015-09-22 23:05:40.720506264 +0000
@@ -560,3 +560,4 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
--- /dev/fd/63 2015-09-22 23:05:41.752535004 +0000
+++ /dev/fd/62 2015-09-22 23:05:41.752535004 +0000
@@ -560,3 +560,5 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
+Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
+Target 581: iqn.2010-10.org.openstack:volume-ddcebcc4-eb13-459e-be1d-2068ee03a4c6
--- /dev/fd/63 2015-09-22 23:05:43.828592816 +0000
+++ /dev/fd/62 2015-09-22 23:05:43.828592816 +0000
@@ -560,4 +560,3 @@
Target 574: iqn.2010-10.org.openstack:volume-7adaa3bc-fafc-4421-baf7-b25102de1922
Target 578: iqn.2010-10.org.openstack:volume-892c6840-ca04-4474-9976-9eaa8b54c4d2
Target 579: iqn.2010-10.org.openstack:volume-d1d8062f-be47-4f33-b5b9-1befdfb09f65
-Target 580: iqn.2010-10.org.openstack:volume-32a9e401-cf44-4f8f-ba93-fd43ff758e45
----
Working 1.0.57 version:
# for i in {1..100} ; do diff -u <(./tgtadm -L iscsi --mode target --op show | fgrep Target) <(./tgtadm -L iscsi --mode target --op show | fgrep Target) ; sleep 1 ; done
# |
|
2015-09-24 15:48:40 |
Eric Desrochers |
attachment added |
|
debdiff for Trusty https://bugs.launchpad.net/ubuntu/+source/tgt/+bug/1498697/+attachment/4473449/+files/lp1498697_trusty.debdiff |
|
2015-09-24 16:23:37 |
Ubuntu Foundations Team Bug Bot |
tags |
verification-done |
patch verification-done |
|
2015-09-24 16:23:45 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-09-24 19:38:48 |
Eric Desrochers |
tgt (Ubuntu Vivid): status |
New |
Confirmed |
|
2015-09-24 19:38:50 |
Eric Desrochers |
tgt (Ubuntu Vivid): assignee |
|
Eric Desrochers (eric-desrochers-z) |
|
2015-09-24 19:39:11 |
Eric Desrochers |
tgt (Ubuntu Vivid): importance |
Undecided |
High |
|
2015-09-24 19:39:52 |
Eric Desrochers |
tgt (Ubuntu Vivid): status |
Confirmed |
In Progress |
|
2015-09-24 19:41:25 |
Eric Desrochers |
attachment added |
|
debdiff for Vivid https://bugs.launchpad.net/ubuntu/+source/tgt/+bug/1498697/+attachment/4473745/+files/lp1409904_vivid.debdiff |
|
2015-09-24 19:41:30 |
Eric Desrochers |
tgt (Ubuntu Vivid): importance |
High |
Medium |
|
2015-09-25 13:15:03 |
Eric Desrochers |
tgt (Ubuntu Precise): status |
New |
In Progress |
|
2015-09-25 13:15:07 |
Eric Desrochers |
tgt (Ubuntu Precise): importance |
Undecided |
Medium |
|
2015-09-25 13:15:10 |
Eric Desrochers |
tgt (Ubuntu Precise): assignee |
|
Eric Desrochers (eric-desrochers-z) |
|
2015-09-25 13:16:17 |
Eric Desrochers |
attachment added |
|
debdiff for Precise https://bugs.launchpad.net/ubuntu/vivid/+source/tgt/+bug/1498697/+attachment/4474355/+files/lp1498697_precise.debdiff |
|
2015-09-30 14:16:06 |
Eric Desrochers |
tags |
patch verification-done |
patch sts verification-done |
|
2015-09-30 16:52:37 |
Eric Desrochers |
attachment added |
|
2nd debdiff for Vivid https://bugs.launchpad.net/ubuntu/trusty/+source/tgt/+bug/1498697/+attachment/4480119/+files/lp1498697_vivid2.debdiff |
|
2015-09-30 17:08:14 |
Chris J Arges |
removed subscriber SRU Verification |
|
|
|
2015-10-01 17:56:14 |
Brian Murray |
bug |
|
|
added subscriber Brian Murray |
2015-10-01 17:56:17 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-10-02 16:10:09 |
Eric Desrochers |
attachment removed |
2nd debdiff for Vivid https://bugs.launchpad.net/ubuntu/trusty/+source/tgt/+bug/1498697/+attachment/4480119/+files/lp1498697_vivid2.debdiff |
|
|
2015-10-02 16:39:03 |
Brian Murray |
tgt (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-10-02 16:39:06 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-10-02 16:39:12 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-10-02 16:39:20 |
Brian Murray |
tags |
patch sts verification-done |
patch sts |
|
2015-10-02 16:39:21 |
Brian Murray |
tags |
patch sts |
patch sts verification-needed |
|
2015-10-02 16:42:39 |
Brian Murray |
tgt (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2015-10-02 17:08:27 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/tgt |
|
2015-10-02 17:08:28 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/tgt |
|
2015-10-02 18:08:58 |
Eric Desrochers |
attachment added |
|
debdiff for Precise-2 https://bugs.launchpad.net/ubuntu/+source/tgt/+bug/1498697/+attachment/4482207/+files/lp1498697-precise-2.debdiff |
|
2015-10-06 09:36:56 |
Robie Basak |
tgt (Ubuntu): status |
New |
Fix Released |
|
2015-10-06 19:43:44 |
Eric Desrochers |
tags |
patch sts verification-needed |
patch sts verification-done |
|
2015-10-14 13:43:12 |
Launchpad Janitor |
tgt (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-10-14 13:43:16 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-10-14 13:44:37 |
Launchpad Janitor |
tgt (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-11-12 19:12:41 |
Brian Murray |
tgt (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2015-11-12 19:12:45 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-11-12 19:12:53 |
Brian Murray |
tags |
patch sts verification-done |
patch sts |
|
2015-11-12 19:12:54 |
Brian Murray |
tags |
patch sts |
patch sts verification-needed |
|
2015-11-12 22:01:41 |
Mathew Hodson |
tgt (Ubuntu): importance |
Undecided |
Medium |
|
2015-12-10 14:37:01 |
Eric Desrochers |
tags |
patch sts verification-needed |
patch sts verification-done |
|
2015-12-10 21:05:28 |
Launchpad Janitor |
tgt (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|