74 Commits

Author SHA1 Message Date
Wenchao Hao
2ced5a5aad Backport bugfix patches from mainline
Reference:https://github.com/open-iscsi/open-iscsi/commit/fd0b3973
          https://github.com/open-iscsi/open-iscsi/commit/8c6d7bc2

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit c3202a63a18a10a33ad46049f6da0a5ee28bc9cd)
2022-12-02 16:47:58 +08:00
openeuler-ci-bot
8592de5c25
!103 [sync] PR-100: Substitute self-developed patch with mainline patch
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-09-27 12:48:00 +00:00
Wenchao Hao
e4083eca39 Substitute self-developed patch with mainline patch
Substitute self-developed patch with mainline patch to fix
nr_sessions do not work during iscsid restart.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit ab5ffaf7d01d014f35c83446c2ce263ebaa4e496)
2022-09-27 19:40:49 +08:00
openeuler-ci-bot
4e7017d58a
!99 [sync] PR-97: Remove unused fwparam_ibft.[ch] files in fwparam_ibft.
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-06-23 11:41:13 +00:00
Wenchao Hao
0d83847983 Remove unused fwparam_ibft.[ch] files in fwparam_ibft.
These files are apparently unused, so remove them.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit a02307caf86deba379626fba2f8cb8cc59f1a3ec)
2022-06-23 19:29:11 +08:00
openeuler-ci-bot
4dc01bbc44
!96 [sync] PR-94: 高版本补丁分析合入
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-02-18 07:40:04 +00:00
Wu Bo
524d147e7c Backport bugfix patches
Following patches are added:

0017-iscsi-sysfs-check-state-before-onlining-devs.patch
0018-iscsiadm-Call-log_init-first-to-fix-a-segmentation-f.patch
0019-Fix-issues-discovered-by-gcc12.patch
0020-Fix-more-issues-discovered-by-gcc12.patch
0021-actor-enhanced-print-error-log-when-init-a-initilize.patch
0022-initiator_common-make-set-operational-parameter-log-.patch

Signed-off-by: Wu Bo <wubo40@huawei.com>
(cherry picked from commit 36cc8318bb8cb23d09d8a68795f1e97ea0268ffc)
2022-02-18 15:19:05 +08:00
openeuler-ci-bot
9877489523
!91 [sync] PR-90: Remove useless patch
Merge pull request !91 from openeuler-sync-bot/sync-pr90-master-to-openEuler-22.03-LTS-Next
2022-02-09 07:31:13 +00:00
Wenchao Hao
b79a9d6604 Remove useless patch
remove patch 0009-fix-iscsiadm-op-new-report-to-cannot-rename-error.patch

This patch get iscsid's pid from pidfile /var/run/iscsid.pid, and judge
if iscsid is alive according to that pid. While now iscsid.service would
not hold a pidfile, so this patch can not work as desired.

What's more, iscsiadm would try to connect to iscsid before send request
to iscsid, if iscsid is not alive, the connection would failed and
return error.

At wrost, if iscsid died after connect success, it would timeout after
1 second. And the patch
0009-fix-iscsiadm-op-new-report-to-cannot-rename-error.patch can not fix
this too.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 03045f674c2e910ecebf4ab3695ccf35e015dc92)
2022-02-09 15:18:02 +08:00
openeuler-ci-bot
01176a267e
!89 [sync] PR-87: Remove iscsi-init.service from iscsi and iscsid service file
Merge pull request !89 from openeuler-sync-bot/sync-pr87-master-to-openEuler-22.03-LTS-Next
2022-02-08 11:29:54 +00:00
Wenchao Hao
a24644bc8f Remove iscsi-init.service from iscsi and iscsid service file
iscsi-init.service is aimed to generate initiatorname.iscsi,
this name would be generated by spec file in openeulr, so we
excluded the iscsi-init.service.

This commit remove requires of iscsi-init in iscsi.service

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 10f483e312fc2ff74dc92247022ede7a86dc2e3c)
2022-02-08 19:12:12 +08:00
openeuler-ci-bot
9b216b2569
!86 [sync] PR-84: Remove unnecessary tool iscsiuio
Merge pull request !86 from openeuler-sync-bot/sync-pr84-master-to-openEuler-22.03-LTS-Next
2022-02-08 10:23:40 +00:00
Wenchao Hao
9bf034018d Remove unnecessary tool iscsiuio
iscsiuio is used in conjunction with specific linux driver to
improve performance, such as QLogic NetXtreme II or QLogic CNIC driver.
It is not a necessary tool of open-iscsi.

What's more, iscsiuio used a package uio which is out of maintain now,
which would introduce CVEs unhandled. So I want to remove this tool
from open-iscsi.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 6648d72aebb373ada77784f56ae285540772dc66)
2022-02-08 18:03:26 +08:00
openeuler-ci-bot
4b072fe16c
!79 [sync] PR-78: Remove password printing in session info display
Merge pull request !79 from openeuler-sync-bot/sync-pr78-master-to-openEuler-22.03-LTS-Next
2022-01-26 02:49:21 +00:00
Wenchao Hao
e3bef46ef3 Remove password printing in session info display
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit b366eabcb30410c5f6ffad4a586ac99b7d04dbe0)
2022-01-26 10:05:36 +08:00
openeuler-ci-bot
cf44af4764 !77 [sync] PR-76: Remove iscsid's dependence of iscsi-init.service
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-12-06 10:47:55 +00:00
Wenchao Hao
8ba7c2b440 Remove iscsid.service of iscsi-init.service
iscsi-init.service is aimed to generate initiatorname.iscsi,
this name would be generated by spec file in openeulr, so we
excluded the iscsi-init.service.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit a68435f388a094288e5192314067bccf52da567c)
2021-12-06 17:04:35 +08:00
openeuler-ci-bot
14b8a310bb !75 [sync] PR-74: Update to open-iscsi-2.1.5
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-11-30 03:33:35 +00:00
Wenchao Hao
9d711fbdf1 iscsi: Update open-iscsi version to 2.1.5-1
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 55a4432e4907145dcb85ba3b42a45698f8141ef4)
2021-11-29 09:42:46 +08:00
openeuler-ci-bot
2bda379de6 !70 [sync] PR-67: Update URL
From: @openeuler-sync-bot
Reviewed-by: @wubo009
Signed-off-by: @wubo009
2021-10-21 04:15:56 +00:00
Wenchao Hao
89a9fc125c Update URL
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit f37e40e0609a63f17efed77488f5a4f588a077dd)
2021-10-21 11:25:53 +08:00
openeuler-ci-bot
758b44d104 !66 remove unnecessary build require.
From: @zhouwenpei
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-23 09:28:57 +00:00
zhouwenpei
2788800e58 remove unnecessary build require. 2021-07-23 16:12:34 +08:00
openeuler-ci-bot
86e273ba98 !52 Fix file residual files after open-iscsi removed
From: @wenchao-hao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-04-15 16:17:19 +08:00
Wenchao Hao
7d71425ccb Fix file residual files after open-iscsi removed
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-04-08 17:01:50 +08:00
openeuler-ci-bot
dfe445f128 !50 Fix iscsiadm segfault when exiting
From: @wenchao-hao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-03-02 14:03:56 +08:00
Wenchao Hao
80ff3ed667 Fix iscsiadm segfault when exiting
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-03-01 11:20:39 +08:00
openeuler-ci-bot
9449040514 !49 Fix iscsiadm op new report to can not rename error
From: @wenchao-hao
Reviewed-by: @liuzhiqiang26,@wubo009
Signed-off-by: @wubo009
2021-02-24 15:45:00 +08:00
Wenchao Hao
177f8ee7e0 Fix iscsiadm op new report to can not rename error
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-02-22 22:43:21 +08:00
openeuler-ci-bot
67d2780d91 !39 Update open-iscsi version to 2.1.3-1
From: @wenchao-hao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @volcanodragon
2021-01-30 14:09:34 +08:00
Wenchao Hao
873d6590de iscsi: Update open-iscsi version to 2.1.3-1
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2021-01-29 16:15:36 +08:00
openeuler-ci-bot
8859ea24ff !34 iscsid: Change iscsid service PIDFile to /run/iscsid.ipd
From: @wenchao-hao
Reviewed-by: @wubo009
Signed-off-by: @liuzhiqiang26
2020-12-12 17:38:36 +08:00
Wenchao Hao
c30f286c34 iscsid: Change iscsid service PIDFile to /run/iscsid.ipd
The pid file has be changed from /var/run/iscsid.pid to
/run/iscsid.pid in code, here perform a sync.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2020-12-12 17:16:06 +08:00
openeuler-ci-bot
032598196b !33 高版本补丁合入-epoch2
From: @wenchao-hao
Reviewed-by: @liuzhiqiang26,@wubo009
Signed-off-by: @wubo009
2020-11-23 09:34:20 +08:00
Wenchao Hao
c9c0567638 Remove patched which should not apply
0027-use-openssl-for-random-data-generation.patch and
0028-drop-unused-get_random_bytes.patch can be considered as
feature patches which should not apply

0029-Preparing-for-version-2.1.2.patch should keepace with tar package

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2020-11-20 16:29:02 +08:00
Wenchao Hao
e04742a163 backport patches from epoch2
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2020-11-12 17:28:13 +08:00
openeuler-ci-bot
275d7b2a47 !29 高版本补丁合入-epoch1
From: @wenchao-hao
Reviewed-by: @liuzhiqiang26,@wubo009
Signed-off-by: @wubo009
2020-11-06 18:10:08 +08:00
wenchao-hao
862d109cb4 backport patches from epoch1 2020-10-31 17:29:53 +08:00
openeuler-ci-bot
f9fb9c33bd !27 backport patch for solving install problem
Merge pull request !27 from wguanghao/develop
2020-09-01 22:09:59 +08:00
zhangyouming
81fd136d87 backport one patch for solving install problem 2020-09-01 20:14:41 +08:00
openeuler-ci-bot
71438285b7 !21 update open-iscsi version to 2.1.1-1
Merge pull request !21 from wguanghao/develop
2020-07-17 09:04:55 +08:00
wangjun196@huawei.com
e4f6e5e502 Merge branch 'develop' of https://gitee.com/wguanghao/open-iscsi into develop
merge
2020-07-16 18:25:45 +08:00
wangjun196@huawei.com
98867d2f7f rename patches and add changelog 2020-07-15 16:05:16 +08:00
wuguanghao
c80899afad Merge branch 'develop' of https://gitee.com/wguanghao/open-iscsi into develop 2020-07-10 14:55:40 +08:00
wuguanghao
cc9925b8c1 update open-iscsi version to 2.1.1-1 2020-07-10 14:51:47 +08:00
wuguanghao
2d3713b722 update open-iscsi version to 2.1.1-1 2020-07-10 14:33:48 +08:00
openeuler-ci-bot
2bf1df0544 !20 open-iscsi: remove useless readme files
Merge pull request !20 from liuzhiqiang/master
2020-07-07 14:42:24 +08:00
ZhiqiangLiu
028314e361 open-iscsi: remove useless readme files
open-iscsi: remove useless readme files

Signed-off-by: Zhiqiang Liu <lzhq28@mail.ustc.edu.cn>
2020-07-05 11:41:17 +08:00
openeuler-ci-bot
e60c116105 !18 Fix devel without node header files
Merge pull request !18 from sigui/master
2020-06-16 11:09:19 +08:00
si-gui
1d72dac25e Rename 0043-Fix-devel-without-node-header-files.patch to 0045 2020-06-16 09:29:23 +08:00