[Openstack] ISCSCi is not connecting in cinder volume creation

MANISH yadav.bit at gmail.com
Tue Nov 20 07:58:37 UTC 2012


Dear All

I have problem with cinder iscsi connection actullay iscsi is not
authenticated.

My Log Is here

[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 at 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

-- 

Warm Regards,

Manish Kumar Abhishek
+91-7350661889
www.worldofmanish.co.in
manish at worldofmanish.co.in

Let us all plant a tree, else, print sensibly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121120/bb81edc4/attachment.html>


More information about the Openstack mailing list