RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 885850 - RHEVH iSCSI initiator name change not persistent until a reboot
Summary: RHEVH iSCSI initiator name change not persistent until a reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.3
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 902592 (view as bug list)
Depends On: 1022783
Blocks: 902586 902592 913686
TreeView+ depends on / blocked
 
Reported: 2012-12-10 19:39 UTC by Brett Thurber
Modified: 2014-01-21 19:16 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, changing the iSCSI initiator name on the hypervisor console did not take effect until the hypervisor was rebooted. Now, the iSCSI daemon is automatically restarted when changes are made in the hypervisor console, so changes to the initiator name are persistent.
Clone Of:
: 902586 902592 (view as bug list)
Environment:
Last Closed: 2014-01-21 19:16:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0033 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2014-01-22 00:14:30 UTC

Description Brett Thurber 2012-12-10 19:39:47 UTC
Description of problem:
In RHEVH console, under Remote Storage Configuration, change the intiator name on the RHEVH host.  Without rebooting RHEVH, try and connect to a iSCSI target.  Initiator name on the storage device is identified as the original name for the RHEVH host, not the updated name.  A reboot of the RHEVH host resolves this.

Version-Release number of selected component (if applicable):
3.1 GA
RHEV Hypervisor - 6.3 - 20121121.0.el6_3

How reproducible:
Every time.

Steps to Reproduce:
1.  Change the initiator name on the RHEVH host.
2.  Connect to a iSCSI target.  Observe the initiator name used was the original, not the new name. 
3.  Reboot RHEVH host to resolve initiator name change.
  
Actual results:
Initiator name change in RHEV console does not take affect until a reboot.

Expected results:
Initiator name change in RHEV console should be immediately persistent without a reboot.

Additional info:
N/A

Comment 1 Mike Burns 2012-12-11 16:47:46 UTC
NOTE:  this is for filing upstream ovirt-node bugs, not RHEV-H bugs.  Those should go through a support case with Red Hat.

The bug itself will likely apply to ovirt-node iso images as well, so I'll keep it open.

Joey -- probably just a matter of restarting the right iscsi daemon after making the change.

Comment 2 Joey Boggs 2013-01-22 03:22:56 UTC
looks to be a problem with the iscsi service starting and only in RHEV-H moving there

[root@localhost ~]# service iscsi status
No active sessions
[root@localhost ~]# service iscsi restart
Stopping iscsi:                                            [  OK  ]
[root@localhost ~]# service iscsi status
iscsi is stopped

-----------------
commenting out the below and finishing out the init script start function

    # if no nodes are setup to startup automatically exit cleanly
#    grep -qrs "node.startup = automatic" /var/lib/iscsi/nodes
#    [ $? -eq 0 ] || exit 0



-------------------
[root@localhost ~]# service iscsi restart
Stopping iscsi:                                            [  OK  ]
Starting iscsi: iscsiadm: No records found
                                                           [  OK  ]
[root@localhost ~]# service iscsi status
No active sessions

Comment 6 Chris Leech 2013-01-25 01:07:06 UTC
I'm guessing that all the management console is doing is editing /etc/iscsi/initiatorname.iscsi ?  Unfortunately iscsid will not pick up changes without a restart.

Also, in comment #2 there are references to the iscsi service.  The iscsi service is for bringing up persistent sessions configures as automatic.  What needs to be restarted is the iscsid service.

Comment 8 Joey Boggs 2013-01-25 01:59:17 UTC
*** Bug 902592 has been marked as a duplicate of this bug. ***

Comment 16 Charlie 2013-11-12 04:54:37 UTC
Reviewed text

Comment 18 errata-xmlrpc 2014-01-21 19:16:49 UTC
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-2014-0033.html


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