Synopsis
targetcli bug fix and enhancement update
Type/Severity
Product Enhancement Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
View affected systems
Topic
An updated targetcli package that fixes several bugs and adds two enhancements is now available for Red Hat Enterprise Linux 7.
Description
The targetcli package contains an administration shell for configuring Internet Small Computer System Interface (iSCSI), Fibre Channel over Ethernet (FCoE), and other SCSI targets, using the Target Core Mod/Linux-IO (TCM/LIO) kernel target subsystem. FCoE users also need to install and use the fcoe-utils package.
This update fixes the following bugs:
- Previously, the "targetcli saveconfig" command did not save the max_data_area_mb control string. As a consequence, the property was lost when restarting the target service or rebooting the node. With this update, the property is saved and restored correctly. (BZ#1566107)
- Previously, the targetcli utility removed storage objects under certain conditions. This happened when the volume hosting the storage objects was down and the user restored target configuration with the command "targetcli restoreconfig". With this update, configuration is now saved at a block granularity, and, as a result, the described problem no longer occurs. (BZ#1566108)
- Previously, the targetcli utility did not create the /etc/target/ and /etc/target/backup/ directories if they were missing. As a consequence, if the user deleted the directories, the "targetcli saveconfig" command failed. With this update, targetcli recreates the directories if they are missing. As a result, the described problem no longer occurs. (BZ#1571316)
In addition, this update adds the following enhancements:
- With this update, the "targetcli saveconfig" command backs up the /etc/target/saveconfig.json file only if it is different from the most recent copy. This avoids creating duplicate backups. (BZ#1571316)
- With this update, the targetcli utility now provides the backup_files_limit global configuration option, which limits the maximum number of backup files. (BZ#1571316)
Users of targetcli are advised to upgrade to this updated package, which fixes these bugs and adds these enhancements.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
For details on how to apply this update, refer to:
https://access.redhat.com/articles/11258
Affected Products
-
Red Hat Enterprise Linux Server 7 x86_64
-
Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.7 x86_64
-
Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.6 x86_64
-
Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.5 x86_64
-
Red Hat Enterprise Linux Server - AUS 7.7 x86_64
-
Red Hat Enterprise Linux Server - AUS 7.6 x86_64
-
Red Hat Enterprise Linux Server - Extended Life Cycle Support 7 x86_64
-
Red Hat Enterprise Linux Workstation 7 x86_64
-
Red Hat Enterprise Linux Desktop 7 x86_64
-
Red Hat Enterprise Linux for IBM z Systems 7 s390x
-
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.7 s390x
-
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.6 s390x
-
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.5 s390x
-
Red Hat Enterprise Linux for Power, big endian 7 ppc64
-
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.7 ppc64
-
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.6 ppc64
-
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.5 ppc64
-
Red Hat Enterprise Linux for Scientific Computing 7 x86_64
-
Red Hat Enterprise Linux for Power, little endian 7 ppc64le
-
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.7 ppc64le
-
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.6 ppc64le
-
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.5 ppc64le
-
Red Hat Enterprise Linux Server - TUS 7.7 x86_64
-
Red Hat Enterprise Linux Server - TUS 7.6 x86_64
-
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7 s390x
-
Red Hat Enterprise Linux for ARM 64 7 aarch64
-
Red Hat Enterprise Linux for Power 9 7 ppc64le
-
Red Hat Enterprise Linux EUS Compute Node 7.7 x86_64
-
Red Hat Enterprise Linux EUS Compute Node 7.6 x86_64
-
Red Hat Enterprise Linux EUS Compute Node 7.5 x86_64
-
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 7.7 ppc64le
-
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 7.6 ppc64le
-
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 7.7 x86_64
-
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 7.6 x86_64
-
Red Hat Enterprise Linux for IBM System z (Structure A) 7 s390x
-
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7 ppc64
-
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7 ppc64le
Fixes
-
BZ - 1566107
- targetcli: On saveconfig dump control string max_data_area_mb [rhel-7.5.z]
-
BZ - 1566108
- targetcli: Storage Objects gets removed Upon restoreconfig, if the underlying backend is down [rhel-7.5.z]
-
BZ - 1571316
- targetcli: Need improvements in configuration backup [rhel-7.5.z]
Note:
More recent versions of these packages may be available.
Click a package name for more details.
Red Hat Enterprise Linux Server 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.5
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - AUS 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - AUS 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Workstation 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Desktop 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for IBM z Systems 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
s390x |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
s390x |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
s390x |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.5
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
s390x |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, big endian 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.5
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Scientific Computing 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, little endian 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.5
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - TUS 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - TUS 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
s390x |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for ARM 64 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
aarch64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for Power 9 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux EUS Compute Node 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux EUS Compute Node 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux EUS Compute Node 7.5
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 7.7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 7.6
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
x86_64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux for IBM System z (Structure A) 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
s390x |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64 |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7
SRPM |
targetcli-2.1.fb46-4.el7_5.src.rpm
|
SHA-256: 99c151abce99055fa4ab7536029b952136b4adadf808b45dc3f9d31f8c1dbc10 |
ppc64le |
targetcli-2.1.fb46-4.el7_5.noarch.rpm
|
SHA-256: 5cd042c59c4b15607f4a1ef3babf5aca362fbc8c65967d684cab5fb47ee2e5d8 |