Red Hat Bugzilla – Bug 759651
Bug found in the iface update for the new iface net config params
Last modified: 2012-02-21 01:37:04 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:
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>
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/
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
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