[Bug 1807978] Re: vmtest: iscsi/LVM tests failing on cosmic/disco
Scott Moser
ssmoser2+ubuntu at gmail.com
Wed Dec 12 00:41:20 UTC 2018
** Description changed:
+ === Begin SRU Template ===
+ [Impact]
+ This bug results in lvm devices on top of iscsi block devices not being
+ available to the system. The journal will show messages like:
+ [ 17.666655] systemd[1]: dev-disk-by\x2duuid-a98f706b\x2db064\x2d4682\x2d8eb2\x2d6c2c1284060c.device: Dependency Before=network-online.target ignored (.device units cannot be delayed)
+
+ And ultimately
+ TIME [0m] Timed out waiting for device dev-di...device.
+
+ [Test Case]
+ This can be tested by running curtin's vmtest test harness.
+ A run like this should suffice:
+
+ env CURTIN_VMTEST_ADD_REPOS=proposed \
+ CURTIN_VMTEST_UPGRADE_PACKAGES=open-iscsi \
+ ./tools/jenkins-runner \
+ tests/vmtests/test_iscsi.py \
+ tests/vmtests/test_lvm_iscsi.py \
+ tests/vmtests/test_mdadm_iscsi.py \
+ tests/vmtests/test_basic.py
+
+ That is all the iscsi based tests and a 'basic' install for good
+ measure.
+
+ [Regression Potential]
+ Chance of regression is hopefully low, and hopefully lower now than before.
+ Regression is almost certainly limited to iscsi devices.
+
+ [Other Info]
+ An attempt to fix bug 1802354 added a udev rule for open-iscsi that looked
+ like:
+ SUBSYSTEM=="block", ACTION=="add", ENV{ID_PATH}=="*-iscsi-*", ENV{SYSTEMD_WANTS}="iscsid.service"
+
+ The problem was ENV{SYSTEMD_WANTS}="iscsid.service".
+
+ The '=' operator would truncate the udev-added "wants". lvm also utilized
+ SYSTEMD_WANTS, and the two would conflict.
+
+ This is the second regression fix to the open-iscsi package as a result
+ of the fix for bug 1755858.
+
+ The regression was caught by curtin's test harness (vmtest). Specifically
+ the following tests would fail:
+
+ tests/vmtests/test_lvm_iscsi.py:BionicTestIscsiLvm
+ tests/vmtests/test_lvm_iscsi.py:CosmicTestIscsiLvm
+ tests/vmtests/test_lvm_iscsi.py:DiscoTestIscsiLvm
+
+ Related Bugs:
+ * bug 1755858: iscsid autostarts on all servers when it has nothing to do
+ * bug 1802354: vmtest: iscsi tests failing on cosmic/disco
+ === End SRU Template ===
+
TestIscsiBasic and other Iscsi tests on Cosmic/Disco are failing in
vmtest on jenkins.
- - looked some at curtin at iscsi failures cosmic, disco
- - 604 was first fail like this.
- cosmic 20181204
- disco 20181129
- https://jenkins.ubuntu.com/server/job/curtin-vmtest-devel-amd64/604/consoleFull
- 602 PASSED and did run disco
- cosmic 20181114
- disco 20181109
+ - looked some at curtin at iscsi failures cosmic, disco
+ - 604 was first fail like this.
+ cosmic 20181204
+ disco 20181129
+ https://jenkins.ubuntu.com/server/job/curtin-vmtest-devel-amd64/604/consoleFull
+ 602 PASSED and did run disco
+ cosmic 20181114
+ disco 20181109
- - seems likely tied to open-iscsi upload https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1755858 or https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1802354
- I want to revert iscsi and see if it fixes.
+ - seems likely tied to open-iscsi upload https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1755858 or https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1802354
+ I want to revert iscsi and see if it fixes.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1807978
Title:
vmtest: iscsi/LVM tests failing on cosmic/disco
Status in curtin package in Ubuntu:
Invalid
Status in open-iscsi package in Ubuntu:
Triaged
Status in curtin source package in Bionic:
Invalid
Status in open-iscsi source package in Bionic:
In Progress
Status in curtin source package in Cosmic:
Invalid
Status in open-iscsi source package in Cosmic:
In Progress
Bug description:
=== Begin SRU Template ===
[Impact]
This bug results in lvm devices on top of iscsi block devices not being
available to the system. The journal will show messages like:
[ 17.666655] systemd[1]: dev-disk-by\x2duuid-a98f706b\x2db064\x2d4682\x2d8eb2\x2d6c2c1284060c.device: Dependency Before=network-online.target ignored (.device units cannot be delayed)
And ultimately
TIME [0m] Timed out waiting for device dev-di...device.
[Test Case]
This can be tested by running curtin's vmtest test harness.
A run like this should suffice:
env CURTIN_VMTEST_ADD_REPOS=proposed \
CURTIN_VMTEST_UPGRADE_PACKAGES=open-iscsi \
./tools/jenkins-runner \
tests/vmtests/test_iscsi.py \
tests/vmtests/test_lvm_iscsi.py \
tests/vmtests/test_mdadm_iscsi.py \
tests/vmtests/test_basic.py
That is all the iscsi based tests and a 'basic' install for good
measure.
[Regression Potential]
Chance of regression is hopefully low, and hopefully lower now than before.
Regression is almost certainly limited to iscsi devices.
[Other Info]
An attempt to fix bug 1802354 added a udev rule for open-iscsi that looked
like:
SUBSYSTEM=="block", ACTION=="add", ENV{ID_PATH}=="*-iscsi-*", ENV{SYSTEMD_WANTS}="iscsid.service"
The problem was ENV{SYSTEMD_WANTS}="iscsid.service".
The '=' operator would truncate the udev-added "wants". lvm also utilized
SYSTEMD_WANTS, and the two would conflict.
This is the second regression fix to the open-iscsi package as a result
of the fix for bug 1755858.
The regression was caught by curtin's test harness (vmtest). Specifically
the following tests would fail:
tests/vmtests/test_lvm_iscsi.py:BionicTestIscsiLvm
tests/vmtests/test_lvm_iscsi.py:CosmicTestIscsiLvm
tests/vmtests/test_lvm_iscsi.py:DiscoTestIscsiLvm
Related Bugs:
* bug 1755858: iscsid autostarts on all servers when it has nothing to do
* bug 1802354: vmtest: iscsi tests failing on cosmic/disco
=== End SRU Template ===
TestIscsiBasic and other Iscsi tests on Cosmic/Disco are failing in
vmtest on jenkins.
- looked some at curtin at iscsi failures cosmic, disco
- 604 was first fail like this.
cosmic 20181204
disco 20181129
https://jenkins.ubuntu.com/server/job/curtin-vmtest-devel-amd64/604/consoleFull
602 PASSED and did run disco
cosmic 20181114
disco 20181109
- seems likely tied to open-iscsi upload https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1755858 or https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1802354
I want to revert iscsi and see if it fixes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1807978/+subscriptions
More information about the foundations-bugs
mailing list