Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1359018 - targetcli HeaderDigest param should be string not yesno
Summary: targetcli HeaderDigest param should be string not yesno
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: targetcli
Version: 7.3
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Maurizio Lombardi
QA Contact: Martin Hoyer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-22 06:15 UTC by Martin Hoyer
Modified: 2018-01-26 15:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-26 15:26:50 UTC


Attachments (Terms of Use)

Description Martin Hoyer 2016-07-22 06:15:21 UTC
Description of problem:
It should be possible to set HeaderDigest parameter to "CRC32C". Currently it's Yes|No, which does not work:

Not setting HeaderDigest! Syntax error, 'NONE' is not Yes|No.
/iscsi/iqn.20...torage-1/tpg1> set parameter HeaderDigest=CRC32C
Not setting HeaderDigest! Syntax error, 'CRC32C' is not Yes|No.
/iscsi/iqn.20...torage-1/tpg1> set parameter HeaderDigest=No
Cannot set parameter HeaderDigest: [Errno 22] Invalid argument
/iscsi/iqn.20...torage-1/tpg1> set parameter HeaderDigest=Yes
Cannot set parameter HeaderDigest: [Errno 22] Invalid argument

Andy's patch:
https://github.com/open-iscsi/targetcli-fb/commit/7a2be647f0a3db1a063f05b6736d924568ef8721

Version-Release number of selected component (if applicable):
targetcli-2.1.fb41-3.el7

How reproducible:
100%

Steps to Reproduce:
/iscsi/iqn.20...torage-1/tpg1> set parameter HeaderDigest=CRC32C

Actual results:
unable to set HeaderDigest

Expected results:
HeaderDigest set to CRC32C

Comment 4 Maurizio Lombardi 2018-01-26 15:26:50 UTC
Patch merged in targetcli-2.1-fb43
RHEL7.5 runs targetcli-2.1-fb46

I close this bz.


Note You need to log in before you can comment on or make changes to this bug.