iscsiadm -m session have no sessions

Bug #1080396 reported by manish
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

[DEFAULT]

# LOGS/STATE
verbose=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova

# AUTHENTICATION
auth_strategy=keystone

# SCHEDULER
scheduler_driver=nova.scheduler.multi.MultiScheduler
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# CINDER
volume_api_class=nova.volume.cinder.API
#osapi_volume_listen_port=5900

# DATABASE
sql_connection=mysql://novaUser:manish@192.168.100.10/nova

# COMPUTE

#libvirt_type=kvm
#libvirt_use_virtio_for_bridges=True
start_guests_on_host_boot=True
resume_guests_state_on_host_boot=True
#api_paste_config=/etc/nova/api-paste.ini
allow_admin_api=True
use_deprecated_auth=False
nova_url=http://192.168.100.10:8774/v1.1/
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# APIS
ec2_host=192.168.100.10
ec2_url=http://192.168.100.10:8773/services/Cloud
keystone_ec2_url=http://192.168.100.10:5000/v2.0/ec2tokens
s3_host=192.168.100.10
cc_host=192.168.100.10
metadata_host=192.168.100.10
#metadata_listen=0.0.0.0
enabled_apis=ec2,osapi_compute,metadata

# RABBITMQ
rabbit_host=192.168.100.10

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.100.10:9292

# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
public_interface=em1
flat_interface=em1
flat_network_bridge=br100
fixed_range=10.1.1.0/24
network_size=256
flat_network_dhcp_start=10.0.1.2
flat_injected=False
connection_type=libvirt
multi_host=True
my_ip=192.168.100.10

# NOVNC CONSOLE
novnc_enabled=True
novncproxy_base_url=http://192.168.100.10:6080/vnc_auto.html
vncserver_proxyclient_address=192.168.100.10
vncserver_listen=0.0.0.0

///////////////////////////////////////////////////////////////////////////////////////////////////////
Libvert.log
//////////////////////////////////////////////////////////////////////////////

: virNetSocketReadWire:1003 : End of file while reading data: Input/output error
2012-11-18 06:51:31.915+0000: 994: error : virNetSocketReadWire:1003 : End of file while reading data: Input/output error

/////////////////////////////
syslog
///////////////////////////
Nov 18 20:12:19 ubuntu-cc kernel: [185134.330966] iscsi_trgt: Removing all connections, sessions and targets
Nov 18 20:12:20 ubuntu-cc kernel: [185135.361785] iSCSI Enterprise Target Software - version 1.4.20.3
Nov 18 20:12:20 ubuntu-cc kernel: [185135.361822] iscsi_trgt: Registered io type fileio
Nov 18 20:12:20 ubuntu-cc kernel: [185135.361824] iscsi_trgt: Registered io type blockio
Nov 18 20:12:20 ubuntu-cc kernel: [185135.361825] iscsi_trgt: Registered io type nullio
Nov 18 20:12:20 ubuntu-cc ietd: unable to bind server socket (Address already in use)!
Nov 18 20:12:20 ubuntu-cc ietd: unable to bind server socket (Address already in use)!

///////////////////////////////////////////////////////
/etc/network/interface
///////////////////////////////////////////////////////

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto em1
iface em1 inet static
        address 192.168.100.10
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255
        gateway 192.168.100.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 196.1.109.99

auto br100
iface br100 inet static
address 10.1.1.1
netmask 255.255.255.0
bridge_stp off
bridge_fd 0

//////////////////////////////////////
ifconfig output
////////////////////////////////////

root@ubuntu-cc:~# ifconfig
br100 Link encap:Ethernet HWaddr 18:03:73:cb:37:56
          inet addr:10.1.1.3 Bcast:10.1.1.255 Mask:255.255.255.0
          inet6 addr: fe80::1a03:73ff:fecb:3756/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:33335 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17332 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5028060 (5.0 MB) TX bytes:37774372 (37.7 MB)

em1 Link encap:Ethernet HWaddr 18:03:73:cb:37:56
          inet6 addr: fe80::1a03:73ff:fecb:3756/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:180634 errors:0 dropped:406 overruns:0 frame:0
          TX packets:131793 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:160264464 (160.2 MB) TX bytes:54466131 (54.4 MB)
          Interrupt:20 Memory:e1a00000-e1a20000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:1869544 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1869544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:790913724 (790.9 MB) TX bytes:790913724 (790.9 MB)

virbr0 Link encap:Ethernet HWaddr 1e:0c:b2:72:a5:a4
          inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

vnet0 Link encap:Ethernet HWaddr fe:16:3e:14:70:6e
          inet6 addr: fe80::fc16:3eff:fe14:706e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1563 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5384 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:378819 (378.8 KB) TX bytes:1170167 (1.1 MB)

vnet1 Link encap:Ethernet HWaddr fe:16:3e:6a:d9:60
          inet6 addr: fe80::fc16:3eff:fe6a:d960/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1535 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5272 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:372117 (372.1 KB) TX bytes:1146789 (1.1 MB)

vnet2 Link encap:Ethernet HWaddr fe:16:3e:17:95:93
          inet6 addr: fe80::fc16:3eff:fe17:9593/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1558 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5408 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:379377 (379.3 KB) TX bytes:1175531 (1.1 MB)

there is no ip in em1

Revision history for this message
manish (manish.yadav) wrote :
Revision history for this message
manish (manish.yadav) wrote :

Nov 18 11:01:55 ubuntu-cc ietd: duplicated target iqn.2010-10.org.openstack:volume-f995746e-24fa-4396-98e8-d90fb7187fae
Nov 18 11:01:55 ubuntu-cc ietd: unable to create logical unit 0 in target 1: 17
Nov 18 11:02:14 ubuntu-cc kernel: [152136.847085] scsi7 : iSCSI Initiator over TCP/IP
Nov 18 11:02:14 ubuntu-cc kernel: [152136.848907] connection2:0: >detected conn error (1019)
Nov 18 11:02:15 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:02:29 ubuntu-cc dnsmasq-dhcp[31616]: DHCPREQUEST(br100) 10.1.1.2 fa:16:3e:41:e3:27
Nov 18 11:02:29 ubuntu-cc dnsmasq-dhcp[31616]: DHCPACK(br100) 10.1.1.2 fa:16:3e:41:e3:27 3
Nov 18 11:02:32 ubuntu-cc kernel: [152154.864247] connection2:0: >detected conn error (1019)
Nov 18 11:02:33 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:02:49 ubuntu-cc kernel: [152172.128598] connection2:0: >detected conn error (1019)
Nov 18 11:02:50 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:03:06 ubuntu-cc kernel: [152189.393482] connection2:0: >detected conn error (1019)
Nov 18 11:03:07 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:03:24 ubuntu-cc kernel: [152206.658512] connection2:0: >detected conn error (1019)
Nov 18 11:03:24 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:03:29 ubuntu-cc dnsmasq-dhcp[31616]: DHCPREQUEST(br100) 10.1.1.2 fa:16:3e:41:e3:27
Nov 18 11:03:29 ubuntu-cc dnsmasq-dhcp[31616]: DHCPACK(br100) 10.1.1.2 fa:16:3e:41:e3:27 3
Nov 18 11:03:41 ubuntu-cc kernel: [152223.922946] connection2:0: >detected conn error (1019)
Nov 18 11:03:42 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:03:58 ubuntu-cc kernel: [152241.187675] connection2:0: >detected conn error (1019)
Nov 18 11:03:59 ubuntu-cc iscsid: Kernel reported iSCSI connection 2:0 error (1019 - ISCSI_ERR_XMIT_FAILED: Transmission of iSCSI packet failed) state (2)
Nov 18 11:04:16 ubuntu-cc iscsid: Connection2:0 to [target: iqn.2010-10.org.openstack:volume-f995746e-24fa-4396-98e8-d90fb7187fae, portal: 192.168.100.10,3260] through [iface: def$
Nov 18 11:04:29 ubuntu-cc dnsmasq-dhcp[31616]: DHCPREQUEST(br100) 10.1.1.2 fa:16:3e:41:e3:27

Revision history for this message
John Griffith (john-griffith) wrote :

Hi Manish,

Could you include your cinder.conf settings as well as perhaps paste-bin of your cinder-volume log?

John

Changed in cinder:
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

This bug lacks the necessary information to effectively reproduce and
fix it, therefore it has been closed. We should reopen the bug by when
we have more information and set the bug status back to ''New''.

Changed in cinder:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.