Ask Your Question

Falied to create Volume ...... TRACE: Stderr: 'Connection refused

asked 2011-04-14 09:01:06 -0500

tonytkdk gravatar image

nova-volume service is running , VG group is created


--lock_path=/var/lock/nova --sql_connection=mysql://root:nova@ --s3_host= --rabbit_host= --cc_host= --ec2_url= --daemonize=1 --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --FAKE_subdomain=ec2 --ca_path=/var/lib/nova/CA --keys_path=/var/lib/nova/keys --networks_path=/var/lib/nova/networks --instances_path=/var/lib/nova/instances --images_path=/var/lib/nova/images --buckets_path=/var/lib/nova/buckets --libvirt_type=kvm --flat_interface=eth1 --logdir=/var/log/nova --verbose --fixed_range= --network_size=256 --flat_network_dhcp_start= --my_ip= --iscsi_ip_prefix= --volume_group=ubuntu2

----nova-volume.log Trace---- 2011-04-14 16:51:47,906 DEBUG nova.utils [-] Running cmd (subprocess): sudo ietadm --op new --tid=2 --params from (pid=28370) execute /usr/lib/pymodules/python2.6/nova/ 2011-04-14 16:51:47,914 DEBUG nova.utils [-] Result was 145 from (pid=28370) execute /usr/lib/pymodules/python2.6/nova/ 2011-04-14 16:51:47,938 ERROR nova [-] Exception during message handling (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/", line 188, in _receive (nova): TRACE: rval = node_func(context=ctxt, **node_args) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/volume/", line 116, in create_volume (nova): TRACE: model_update = self.driver.create_export(context, volume_ref) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/volume/", line 322, in create_export (nova): TRACE: '--params', 'Name=%s' % iscsi_name) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/", line 173, in execute (nova): TRACE: cmd=' '.join(cmd)) (nova): TRACE: ProcessExecutionError: Unexpected error while running command. (nova): TRACE: Command: sudo ietadm --op new --tid=2 --params (nova): TRACE: Exit code: 145 (nova): TRACE: Stdout: '' (nova): TRACE: Stderr: 'Connection refused.\n'

(nova): TRACE:

While I manually execute sudo ietadm --op new --tid=2 --params

nova@ubuntu2:/var/log/nova$ sudo ietadm --op new --tid=2 --params Connection refused.

any suggestion ? Thanks! Did I lost any flag??? or did not enable iSCSI feature?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-04-14 09:08:53 -0500

tonytkdk gravatar image

A foolish mistake...

I forgot to enable iscsitarget

vi /etc/default/iscsitarget False====>True

/etc/init.d/iscsitarget start

volume is rolling on...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-04-14 09:01:06 -0500

Seen: 10 times

Last updated: Apr 14 '11