Bug 1288423 - iscsi initiatorname is identical for all overcloud nodes
Summary: iscsi initiatorname is identical for all overcloud nodes
Keywords:
Status: CLOSED DUPLICATE of bug 1244328
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 7.0 (Kilo)
Hardware: All
OS: Linux
urgent
high
Target Milestone: ga
: 8.0 (Liberty)
Assignee: James Slagle
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
: 1301188 (view as bug list)
Depends On:
Blocks: 1290377
TreeView+ depends on / blocked
 
Reported: 2015-12-04 07:42 UTC by Martin Tessun
Modified: 2019-09-12 09:28 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-31 01:51:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2075663 0 None None None Never

Description Martin Tessun 2015-12-04 07:42:22 UTC
Description of problem:
The Overcloud will be deployed using the "overcloud-full" image.
This image will be deployed on ALL Overclodu nodes and this image has an iSCSI initiator name:
cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.1994-05.com.redhat:d0c58fd0f44

This iSCSI initiatorname is the same on ALL Overcloud nodes and if you don't change this name the Live Migration will not work at all in an environment with the same IQN on ALL nodes!

Version-Release number of selected component (if applicable):
OSP-d 7.1.0
OSP 7.0.2

How reproducible:
always

Steps to Reproduce:
1. Install 2+ Overcloud nodes
2. Check that the /etc/iscsi/initiatorname contains the same entry on all nodes

Actual results:
The content is identical across all nodes

Expected results:
Every node should have its own unique initiator-id

Additional info:
I fixed this problem by a Pre-Deployment script for the Controller and Compute Nodes:

# Set unique iSCSI IQN
IQN=$(/sbin/iscsi-iname)
/bin/crudini --set /etc/iscsi/initiatorname.iscsi '' InitiatorName "$IQN"

This (or something similiar) sould be added to the installer.

Comment 1 Christian Horn 2015-12-07 08:41:20 UTC
related/DUP? 
bz1244328 - blockdev cannot see logged iscsi target after live migration

Comment 3 Mike Burns 2016-01-26 13:25:52 UTC
*** Bug 1301188 has been marked as a duplicate of this bug. ***

Comment 4 Perry Myers 2016-01-31 01:51:29 UTC

*** This bug has been marked as a duplicate of bug 1244328 ***


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