Blame SOURCES/udisks-2.10.0-iscsi_test_02_lio_target_conf.patch
|
|
9a0544 |
commit 13a6a27eecdd1fb527b9151309366970b182a58d
|
|
|
9a0544 |
Author: Tomas Bzatek <tbzatek@redhat.com>
|
|
|
9a0544 |
Date: Thu Oct 20 17:17:10 2022 +0200
|
|
|
9a0544 |
|
|
|
9a0544 |
tests: Fix LIO target config auth
|
|
|
9a0544 |
|
|
|
9a0544 |
Linux kernel 6.0 brought number of the LIO target changes related to authentication
|
|
|
9a0544 |
that made our tests fail. Turned out our target config was incorrect, e.g.
|
|
|
9a0544 |
not requiring auth for CHAP tests, etc. The kernel 6.0 looks to be more strict
|
|
|
9a0544 |
in this regard.
|
|
|
9a0544 |
|
|
|
9a0544 |
diff --git a/src/tests/dbus-tests/targetcli_config.json b/src/tests/dbus-tests/targetcli_config.json
|
|
|
9a0544 |
index 25d506b6..3be9eac2 100644
|
|
|
9a0544 |
--- a/src/tests/dbus-tests/targetcli_config.json
|
|
|
9a0544 |
+++ b/src/tests/dbus-tests/targetcli_config.json
|
|
|
9a0544 |
@@ -385,7 +385,7 @@
|
|
|
9a0544 |
"tpgs": [
|
|
|
9a0544 |
{
|
|
|
9a0544 |
"attributes": {
|
|
|
9a0544 |
- "authentication": 0,
|
|
|
9a0544 |
+ "authentication": 1,
|
|
|
9a0544 |
"cache_dynamic_acls": 0,
|
|
|
9a0544 |
"default_cmdsn_depth": 64,
|
|
|
9a0544 |
"default_erl": 0,
|
|
|
9a0544 |
@@ -432,7 +432,7 @@
|
|
|
9a0544 |
}
|
|
|
9a0544 |
],
|
|
|
9a0544 |
"parameters": {
|
|
|
9a0544 |
- "AuthMethod": "CHAP,None",
|
|
|
9a0544 |
+ "AuthMethod": "CHAP",
|
|
|
9a0544 |
"DataDigest": "CRC32C,None",
|
|
|
9a0544 |
"DataPDUInOrder": "Yes",
|
|
|
9a0544 |
"DataSequenceInOrder": "Yes",
|
|
|
9a0544 |
@@ -471,7 +471,7 @@
|
|
|
9a0544 |
"tpgs": [
|
|
|
9a0544 |
{
|
|
|
9a0544 |
"attributes": {
|
|
|
9a0544 |
- "authentication": 0,
|
|
|
9a0544 |
+ "authentication": 1,
|
|
|
9a0544 |
"cache_dynamic_acls": 0,
|
|
|
9a0544 |
"default_cmdsn_depth": 64,
|
|
|
9a0544 |
"default_erl": 0,
|
|
|
9a0544 |
@@ -520,7 +520,7 @@
|
|
|
9a0544 |
}
|
|
|
9a0544 |
],
|
|
|
9a0544 |
"parameters": {
|
|
|
9a0544 |
- "AuthMethod": "CHAP,None",
|
|
|
9a0544 |
+ "AuthMethod": "CHAP",
|
|
|
9a0544 |
"DataDigest": "CRC32C,None",
|
|
|
9a0544 |
"DataPDUInOrder": "Yes",
|
|
|
9a0544 |
"DataSequenceInOrder": "Yes",
|