[Nova-volume][tgtd] targets are not persistent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Chuck Short | ||
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
[root@camel-nova nova]# nova volume-create 10
[root@camel-nova nova]# tgt-admin --show ALL
Target 1: iqn.2010-
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Prevent removal: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 10737 MB, Block size: 512
Online: Yes
Prevent removal: No
Backing store type: rdwr
Backing store path: /dev/nova-
Backing store flags:
Account information:
ACL information:
ALL
Target 3: iqn.2010-
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00030000
SCSI SN: beaf30
Size: 0 MB, Block size: 1
Online: Yes
Prevent removal: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00030001
SCSI SN: beaf31
Size: 2147 MB, Block size: 512
Online: Yes
Prevent removal: No
Backing store type: rdwr
Backing store path: /dev/nova-
Backing store flags:
Account information:
ACL information:
ALL
[root@camel-nova nova]# /etc/init.d/tgtd restart
Stopping SCSI target daemon: [ OK ]
Starting SCSI target daemon: [ OK ]
[root@camel-nova nova]# tgt-admin --show ALL
[root@camel-nova nova]#
[root@camel-nova nova]# nova volume-attach toattach 14 /dev/vdc
2012-06-10 16:18:08 ERROR nova.rpc.amqp [req-9e485674-
2012-06-10 16:18:08 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp rval = node_func(
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp return f(*args, **kw)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp function(self, context, instance_uuid, *args, **kwargs)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp sys.exc_info())
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib64/
2012-06-10 16:18:08 TRACE nova.rpc.amqp self.gen.next()
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp connector)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib64/
2012-06-10 16:18:08 TRACE nova.rpc.amqp self.gen.next()
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp mountpoint)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp return f(*args, **kw)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp mount_device)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp return method(
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp check_exit_code=[0, 255])
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp check_exit_
2012-06-10 16:18:08 TRACE nova.rpc.amqp File "/usr/lib/
2012-06-10 16:18:08 TRACE nova.rpc.amqp cmd=' '.join(cmd))
2012-06-10 16:18:08 TRACE nova.rpc.amqp ProcessExecutio
2012-06-10 16:18:08 TRACE nova.rpc.amqp Command: sudo nova-rootwrap iscsiadm -m node -T iqn.2010-
2012-06-10 16:18:08 TRACE nova.rpc.amqp Exit code: 19
2012-06-10 16:18:08 TRACE nova.rpc.amqp Stdout: 'Logging in to [iface: default, target: iqn.2010-
2012-06-10 16:18:08 TRACE nova.rpc.amqp Stderr: 'iscsiadm: Could not login to [iface: default, target: iqn.2010-
2012-06-10 16:18:08 TRACE nova.rpc.amqp
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | folsom-3 → 2012.2 |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/10414
Review: https:/