<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi, i have check that . my current
topology is like this : <br>
controller(run cinder, ip : 10.10.10.10) ------------- switch
----------------- compute node (ip : 10.10.10.30)<br>
i used iscsitarget (ietadm), here my cinder.config <br>
<font color="#333399"><i>[DEFAULT]</i><br>
<i># LOG/STATE</i><br>
<i>verbose = True</i><br>
<i>debug = False</i><br>
<i>iet_conf = /etc/iet/ietd.conf</i><br>
<i>iscsi_helper = ietadm</i><br>
<i>iscsi_ip_address = 10.10.10.10</i><br>
<i>iscsi_target = 10.10.10.10</i><br>
<i>auth_strategy = keystone</i><br>
<i>volume_name_template = volume-%s</i><br>
<i>volume_group = cinder-volumes</i><br>
<i>#volume_name_template = cinder-volumes</i><br>
<i>state_path = /var/lib/cinder</i><br>
<i>volumes_dir = /var/lib/cinder/volumes</i><br>
<i>rootwrap_config = /etc/cinder/rootwrap.conf</i><br>
<i>api_paste_config = /etc/cinder/api-paste.ini</i><br>
<i># RPC</i><br>
<i>rabbit_host = 10.10.10.10</i><br>
<i>rabbit_password = guest</i><br>
<i>rpc_backend = cinder.openstack.common.rpc.impl_kombu</i><br>
<i># DATABASE</i><br>
<i>sql_connection = <a class="moz-txt-link-abbreviated" href="mailto:mysql://cinder:cinder@10.10.10.10/cinder">mysql://cinder:cinder@10.10.10.10/cinder</a></i><br>
<i># API</i><br>
<i>osapi_volume_extension =
cinder.api.contrib.standard_extensions</i></font><br>
<br>
On 7/11/2013 12:43 PM, Hameedullah Khan wrote:<br>
</div>
<blockquote
cite="mid:CADcMsRQZDcvOcebADefsdh6z0CZZaO+m859Cda29CiDhCjJd+A@mail.gmail.com"
type="cite">
<div dir="ltr">Please check your iscsi_ip_address.<br>
<br>
If that is not the issue can you please share more information?
What iscsi implementation are you using? Are you using tgt or
iscsitarget? Can you show your cinder.conf</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jul 11, 2013 at 8:57 AM,
Mahardhika <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"
target="_blank">mahardika.gilang@andalabs.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi, i've got it work when creating volume, but i
can't attach to instance. error log from nova-compute :<br>
<br>
<i>Stderr: 'iscsiadm: No session found.\n'</i><br>
<br>
i have run : iscsiadm -m node -o show<br>
and it show it's values
<div class="im"><br>
On 7/10/2013 6:08 PM, claudio marques wrote:<br>
</div>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="im">Hi
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px">I also found a problem
a while a go with creating or managing volumes.
After some research I could solve it by doing the
following:</div>
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px"><i
style="line-height:22px;font-size:12pt">vim
/usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py</i></div>
<div style="line-height:21px">
<p style="margin-bottom:1.35em"><span lang="EN-US"><br>
</span></p>
<p style="margin-bottom:1.35em"><span lang="EN-US">remove
line 388</span></p>
<p style="margin-bottom:1.35em"><span lang="EN-US"><br>
</span></p>
<p style="margin-bottom:1.35em">385
self.tgtadm.create_iscsi_target(iscsi_name,
iscsi_target,</p>
<p style="margin-bottom:1.35em">386
0, volume_path,
chap_auth,</p>
<p style="margin-bottom:1.35em">387
check_exit_code=False<b>)
<-- close here the method</b></p>
<p style="margin-bottom:1.35em"><span lang="EN-US"></span></p>
<p style="margin-bottom:1.35em">388
<b> <span
style="line-height:22px;font-size:12pt"> old_name=old_name)
--> (remove this line)</span></b></p>
</div>
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px">restart all cinder
services</div>
<div style="line-height:21px"><i
style="font-size:12pt"><br>
</i></div>
<div style="line-height:21px"><i
style="font-size:12pt">cd /etc/init.d/; for i in
$( ls cinder-* ); do sudo service $i restart;
done</i></div>
<div style="line-height:21px"><br>
</div>
If that doesn't help, try to see your iscsitarget is
up and running. See the logs.
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px">Hope it help's</div>
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px">Cheer's</div>
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px">Claudio Marques</div>
<div style="line-height:21px"><br>
</div>
<div style="line-height:21px">
<div
style="line-height:18px;color:rgb(34,34,34);font-family:arial;font-size:small">
<div dir="ltr"><a moz-do-not-send="true"
href="mailto:claudio@onesource.pt"
style="color:rgb(17,85,204)" target="_blank">claudio@onesource.pt</a>
<div><a moz-do-not-send="true"
href="http://www.onesource.pt/"
style="color:rgb(17,85,204)"
target="_blank">http://www.onesource.pt/</a><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
</div>
<div>
<div class="im">
<hr>Date: Wed, 10 Jul 2013 16:36:49 +0700<br>
From: <a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"
target="_blank">mahardika.gilang@andalabs.com</a><br>
To: <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net"
target="_blank">openstack@lists.launchpad.net</a><br>
Subject: [Openstack] Exception during message
handling on Cinder<br>
<br>
</div>
<div>
<div class="h5"> Hi, i've got this Error message
in cinder-volume.log<br>
<br>
ERROR [cinder.volume.iscsi] Failed to create
iscsi target for volume
id:volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd.<br>
ERROR [cinder.volume.manager] volume
volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd:
create failed<br>
ERROR [cinder.openstack.common.rpc.amqp]
Exception during message handling<br>
<br>
i have check on cinder.conf, api-paste.ini
files, let me know if you guys need my config
file<br>
please help me out of this<br>
thanks<br>
<div>-- <br>
Regards,<br>
Mahardhika Gilang<br>
</div>
<br>
</div>
</div>
<div class="im">
_______________________________________________
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net"
target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a>
More help : <a moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp"
target="_blank">https://help.launchpad.net/ListHelp</a></div>
</div>
</div>
</blockquote>
<br>
<div class="im"> <br>
<div>-- <br>
Regards,<br>
Mahardhika Gilang<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature"><br>
</div>
</body>
</html>