iscsi problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Devstack fails to create a working iscsi configuration on both controller and compute nodes, and as a consecuence, compute nodes fail to connect to iscsi server on controller node and use the lvm instance volumes stored into the controller hdd.
On the controller node, iscsi daemon seems to listen only on loopback address, while the compute node, only tries to connect to iscsi server in ip 127.0.0.1 (instead of the controller's ip address)
in the compute node, in the syslog file:
.........
"target_portal": "127.0.0.1:3260"
........
compute1 iscsid: connect to 127.0.0.1:3260 failed (Connection refused)
........
and also, in the /etc/iscsi/.... files:
stack@compute1:
# BEGIN RECORD 2.0-871
node.name = iqn.2010-
node.tpgt = -1
node.startup = automatic
iface.iscsi_
iface.transport
node.discovery_port = 0
node.discovery_type = static
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.session.
node.conn[
node.conn[0].port = 3260
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
node.conn[
# END RECORD
I'm trying devstack on:
- Ubuntu 12.04
- Grizzly
[CONTROLLER LOCALRC]
SERVICE_
disable_service n-net
enable_service quantum q-svc q-agt q-l3 q-dhcp q-meta q-lbaas
FLOATING_
Q_PLUGIN=
ENABLE_
TENANT_
Q_USE_NAMESPACE
Q_HOST=
MYSQL_HOST=
RABBIT_
GLANCE_
KEYSTONE_
KEYSTONE_
RYU_API_
RYU_OFP_
MYSQL_PASSWORD=
RABBIT_
SERVICE_
SERVICE_
ADMIN_PASSWORD=
DEST=/opt/stack
SCREEN_
LOGFILE=
SYSLOG=True
SYSLOG_
SYSLOG_PORT=5140
RECLONE=yes
MULTI_HOST=True
[COMPUTE LOCALRC]
SERVICE_
HOST_IP=
disable_
enable_service n-cpu quantum q-agt
Q_PLUGIN=
ENABLE_
Q_USE_NAMESPACE
Q_HOST=
MYSQL_HOST=
RABBIT_
GLANCE_
KEYSTONE_
KEYSTONE_
MYSQL_PASSWORD=
RABBIT_
SERVICE_
SERVICE_
ADMIN_PASSWORD=
DEST=/opt/stack
SCREEN_
LOGFILE=
SYSLOG=True
SYSLOG_
SYSLOG_PORT=5140
RECLONE=yes
Changed in devstack: | |
status: | New → Invalid |
in the compute node, in the syslog file:
.........
"target_portal": "127.0.0.1:3260"
........
compute1 iscsid: connect to 127.0.0.1:3260 failed (Connection refused)
........
From your comment it is understood that iscsi running on local address rather than controller ip address
while running daemon also from compute you can run below cmd to discover targets
iscsiadm -m discovery -t sendtargets -p <iscsi-target-ip>