Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 759651 - Bug found in the iface update for the new iface net config params
Bug found in the iface update for the new iface net config params
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: iscsi-initiator-utils (Show other bugs)
5.8
All Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Mike Christie
Bruno Goncalves
:
Depends On:
Blocks: 772956
  Show dependency treegraph
 
Reported: 2011-12-02 17:31 EST by Eddie Wai
Modified: 2012-02-21 01:37 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 01:37:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
This patch fixes the iface update for the new iface net config params (2.50 KB, patch)
2011-12-02 17:41 EST, Eddie Wai
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0263 normal SHIPPED_LIVE iscsi-initiator-utils bug fix and enhancement update 2012-02-20 10:06:35 EST

  None (edit)
Description Eddie Wai 2011-12-02 17:31:35 EST
Description of problem:
Although the new iface additions of gateway/subnet/etc. are
now present in the iface file in rhel6.2 inbox open-iscsi util, however,
the particular parameters are not being passed to iscsiuio upon
connection request.

The problem looks to be related to the iface_rec inside the node_rec
only contains the previously defined fields and not the entire iface
fields.  Unfortunately for us, iscsiuio only gets the iface_rec from the
node_rec and not the iface_rec directly from the database...

Version-Release number of selected component (if applicable):
iscsi-initiator-utils-2.0.872-34

How reproducible:
Every time

Steps to Reproduce:
1.iscsiadm -m iface -I bnx2i-eth0 -n iface.mtu -v 1500 -o update
2.
3.
  
Actual results:
iscsiadm: Cannot modify iface.mtu. Invalid param name.
iscsiadm: Could not update iface bnx2i-eth0: invalid parameter


Expected results:
bnx2i-eth0 updated.

Additional info:
Comment 1 Eddie Wai 2011-12-02 17:41:08 EST
Created attachment 539817 [details]
This patch fixes the iface update for the new iface net config params

Augmented the idbm_recinfo_node routine to include the parsing of
the newly added iface net config params:
  bootproto
  subnet_mask
  gateway
  ipv6_autocfg
  linklocal_autocfg
  router_autocfg
  ipv6_linklocal
  ipv6_router
  state
  vlan_id
  vlan_priority
  vlan_state
  iface_num
  mtu
  port

This will also update the iface_rec instance inside the node_rec struct
for the iscsiuio iface_rec info passing for bnx2i offload.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Comment 3 Mike Christie 2012-01-04 01:01:16 EST
Fixed in iscsi-initiator-utils-6.2.0.872-13.el5. Get it in http://people.redhat.com/mchristi/iscsi/rhel5.8/iscsi-initiator-utils/
Comment 5 Bruno Goncalves 2012-01-12 05:03:56 EST
It is working on iscsi-initiator-utils-6.2.0.872-13.el5

iscsiadm -m iface -I bnx2i.00:10:18:88:e7:fd -n iface.mtu -v 1500 -o update
bnx2i.00:10:18:88:e7:fd updated.

iface.mtu = 1500
Comment 7 errata-xmlrpc 2012-02-21 01:37:04 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0263.html

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