<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    Oh! They are same. I just masked the values before pasting the
    configuration files. Although, now that I think of it, its pretty
    harmless. Here are the originals.<br>
    <br>
    controller node - <a class="moz-txt-link-freetext" href="http://paste.openstack.org/show/17513/">http://paste.openstack.org/show/17513/</a><br>
    compute node - <a class="moz-txt-link-freetext" href="http://paste.openstack.org/show/17514/">http://paste.openstack.org/show/17514/</a><br>
    volume node - <a class="moz-txt-link-freetext" href="http://paste.openstack.org/show/17515/">http://paste.openstack.org/show/17515/</a><br>
    <br>
    As per my understanding, I just need to figure out how the volume
    node is identified. Thank you for replying.<br>
    <br>
    Regards,<br>
    Shashank Sahni<br>
    <br>
    On 05/14/2012 09:43 PM, George Mihaiescu wrote:
    <blockquote
cite="mid:413FEEF1743111439393FB76D0221E481F257581@leopard.zoo.q9networks.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
      <style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Grande \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:windowtext;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="Section1">
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy">Is it possible that
              you have two similar
              entries in your hosts file?<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
        <pre><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial;color:navy">I see that your nova.conf on the the compute node mentions “volume-node” but your successful “</span></font>"iscsiadm -m discovery -t st -p volume_node” <font color="navy" face="Arial"><span style="font-family:Arial;color:navy">used a different </span></font>host (<font color="navy" face="Arial"><span style="font-family:Arial;color:navy">volume-node vs. </span></font>volume_node).<o:p></o:p></pre>
        <pre><font face="Courier New" size="2"><span style="font-size:10.0pt"><o:p> </o:p></span></font></pre>
        <pre><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;
color:navy">Try using IP addresses in the config and while testing iscsi discovery.<o:p></o:p></span></font></pre>
        <pre><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;
color:navy"><o:p> </o:p></span></font></pre>
        <pre><font face="Courier New" size="2"><span style="font-size:10.0pt"><o:p> </o:p></span></font></pre>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
        <div>
          <div class="MsoNormal" style="text-align:center"
            align="center"><font color="black" face="Times New Roman"
              size="3"><span style="font-size:12.0pt;color:windowtext">
                <hr tabindex="-1" size="2" width="100%" align="center">
              </span></font></div>
          <p class="MsoNormal"><b><font color="black" face="Tahoma"
                size="2"><span
style="font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold">From:</span></font></b><font
              color="black" face="Tahoma" size="2"><span
                style="font-size:10.0pt;font-family:Tahoma;
                color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net">openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net</a>
[<a class="moz-txt-link-freetext" href="mailto:openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net">mailto:openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net</a>]
                <b><span style="font-weight:bold">On Behalf Of </span></b>Shashank
                Sahni<br>
                <b><span style="font-weight:bold">Sent:</span></b>
                Monday, May 14, 2012 10:28
                AM<br>
                <b><span style="font-weight:bold">To:</span></b>
                <a class="moz-txt-link-abbreviated" href="mailto:raja.meena@wipro.com">raja.meena@wipro.com</a><br>
                <b><span style="font-weight:bold">Cc:</span></b>
                <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                <b><span style="font-weight:bold">Subject:</span></b>
                Re: [Openstack] Problem
                with attaching disks to an instance</span></font><font
              color="black"><span style="color:windowtext"><o:p></o:p></span></font></p>
        </div>
        <p class="MsoNormal"><font color="black" face="Times New Roman"
            size="3"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font color="black" face="Times New Roman"
            size="3"><span style="font-size:12.0pt">Hi,<br>
              <br>
              Thanks for the reply.<br>
              <br>
              Yes, I've gone through the document. Volume creation and
              deletion are working
              perfectly fine. When I run "iscsiadm -m discovery -t st -p
              volume_node" on the compute node, I can see the volumes.
              But somehow the
              compute node is being misinformed about the volume node
              after giving the attach
              command.<br>
              <br>
              I'm not using iscsitarget as per that document.
              Installation of nova-volume on
              ubuntu precise automatically took care of it using tgt.<br>
              <br>
              Kind Regards,<br>
              Shashank Sahni<br>
              <br>
              On 05/14/2012 07:34 PM, <a moz-do-not-send="true"
                href="mailto:raja.meena@wipro.com">raja.meena@wipro.com</a>
              wrote: <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><!--[if gte mso 9]><xml>
 <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u3:shapelayout u4:ext="edit">
  <u3:idmap u4:ext="edit" data="1"/>
 </u3:shapelayout>
</xml><![endif]-->Hi Shashank ,<u5:p></u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D">I
              preassume that the
              steps outlined in the link below has been followed.<u5:p></u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><a
href="http://docs.openstack.org/trunk/openstack-compute/admin/content/managing-volumes.html"
                moz-do-not-send="true">http://docs.openstack.org/trunk/openstack-compute/admin/content/managing-volumes.html</a><u5:p></u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D">Thanks<u5:p></u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D">Meena
              Raja<u5:p></u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <p class="MsoNormal"><font color="#1f497d" face="Calibri"
            size="2"><span
              style="font-size:11.0pt;font-family:Calibri;color:#1F497D"><u5:p> </u5:p></span></font><o:p></o:p></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><font color="black" face="Tahoma"
                  size="2"><span
style="font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold">From:</span></font></b><font
                color="black" face="Tahoma" size="2"><span
                  style="font-size:10.0pt;font-family:Tahoma;
                  color:windowtext"> <a moz-do-not-send="true"
                    href="mailto:openstack-bounces+raja.meena=wipro.com@lists.launchpad.net">openstack-bounces+raja.meena=wipro.com@lists.launchpad.net</a>
                  [<a moz-do-not-send="true"
                    href="mailto:openstack-bounces+raja.meena=wipro.com@lists.launchpad.net">mailto:openstack-bounces+raja.meena=wipro.com@lists.launchpad.net</a>]
                  <b><span style="font-weight:bold">On Behalf Of </span></b>Shashank
                  Sahni<br>
                  <b><span style="font-weight:bold">Sent:</span></b>
                  Monday, May 14, 2012 6:23 PM<br>
                  <b><span style="font-weight:bold">To:</span></b>
                  Razique Mahroua<br>
                  <b><span style="font-weight:bold">Cc:</span></b> <a
                    moz-do-not-send="true"
                    href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                  <b><span style="font-weight:bold">Subject:</span></b>
                  Re: [Openstack] Problem
                  with attaching disks to an instance<u5:p></u5:p></span></font><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><u5:p><font color="black" face="Times New
              Roman" size="3"><span style="font-size:12.0pt"> <o:p></o:p></span></font></u5:p></p>
        <p class="MsoNormal"><font color="black" face="Times New Roman"
            size="3"><span style="font-size:12.0pt">Hi,<br>
              <br>
              I set this option in the configuration files of both
              compute and controller.
              Restarted the service, but unfortunately same result.<br>
              <br>
              Regards,<br>
              Shashank Sahni<br>
              <br>
              On 05/14/2012 05:58 PM, Razique Mahroua wrote: <o:p></o:p></span></font><u5:p></u5:p></p>
        <div>
          <p class="MsoNormal"><font color="black" face="Lucida Grande ,
              serif" size="2"><span
                style="font-size:11.0pt;font-family:"Lucida Grande
                \, serif"">Hi,<br>
                do you have the flag iscsi_ip_prefix configured in your
                nova.conf ?<br>
                Razique<br>
                <br>
                <br>
                <br>
              </span></font><o:p></o:p></p>
          <u5:p></u5:p>
          <div
            style="margin-left:18.75pt;margin-top:22.5pt;margin-right:18.75pt;
            margin-bottom:7.5pt">
            <div style="border:none;border-top:solid #EDEEF0
              1.0pt;padding:4.0pt 0in 0in 0in;
              display:table">
              <div>
                <p class="MsoNormal" style="vertical-align:middle"><font
                    color="black" face="Lucida Grande , serif" size="2"><span
                      style="font-size:11.0pt;font-family:"Lucida
                      Grande \, serif""><img id="_x0000_i1025"
                        src="cid:part6.08090209.00000805@linuxers.org"
                        name="postbox-contact.jpg" border="0"
                        height="25" width="25"></span></font><o:p></o:p></p>
              </div>
              <u5:p></u5:p>
              <div>
                <p class="MsoNormal" style="vertical-align:middle"><font
                    color="black" face="Lucida Grande , serif" size="2"><span
                      style="font-size:11.0pt;font-family:"Lucida
                      Grande \, serif""><a
                        href="mailto:shredder12@linuxers.org"
                        moz-do-not-send="true"><b><span
                            style="font-weight:bold">Shashank Sahni</span></b></a><u5:p></u5:p></span></font><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal" style="vertical-align:middle"><font
                    color="black" face="Times New Roman" size="2"><span
                      style="font-size:11.0pt">14 mai 2012 14:22</span></font><o:p></o:p></p>
              </div>
            </div>
          </div>
          <u5:p></u5:p>
          <div style="margin-left:.25in;margin-right:.25in">
            <p class="MsoNormal"><font color="black" face="Times New
                Roman" size="2"><span style="font-size:11.0pt">Hi
                  everyone,<br>
                  <br>
                  I'm trying to configure a multi-node installation.
                  Here is a brief overview.<br>
                  <br>
                  1) controller -
                  api+network+scheduler+novnc+glance+keystone (nova.conf
                  - <a href="http://paste.openstack.org/show/17470/"
                    target="_blank" moz-do-not-send="true">http://paste.openstack.org/show/17470/</a>)<br>
                  2) compute node (nova.conf - <a
                    href="http://paste.openstack.org/show/17469"
                    target="_blank" moz-do-not-send="true">http://paste.openstack.org/show/17469</a>)<br>
                  3) volume node(single)<br>
                  <br>
                  Compute and vnc are working fine. I'm able to create
                  and delete volumes. Iscsi
                  discovery from the compute nodes is working too. But
                  when I try to attach a
                  volume, the compute node tries to connect to the
                  controller node instead of
                  volume and hence crashes with the following error.<br>
                  <br>
                  2012-05-14 17:32:13 TRACE nova.rpc.amqp
                  ProcessExecutionError: Unexpected error
                  while running command.<br>
                  2012-05-14 17:32:13 TRACE nova.rpc.amqp Command: sudo
                  nova-rootwrap iscsiadm -m
                  node -T iqn.2010-10.org.openstack:volume-00000003 -p
                  controller:3260 --rescan<br>
                  2012-05-14 17:32:13 TRACE nova.rpc.amqp Exit code: 255<br>
                  2012-05-14 17:32:13 TRACE nova.rpc.amqp Stdout: ''<br>
                  2012-05-14 17:32:13 TRACE nova.rpc.amqp Stderr:
                  'iscsiadm: No portal found.\n'<br>
                  <br>
                  Any suggestions?<br>
                  <br>
                  Kind Regards,<br>
                  Shashank Sahni<u5:p></u5:p></span></font><o:p></o:p></p>
            <div>
              <p class="MsoNormal"><font color="black" face="Times New
                  Roman" size="2"><span style="font-size:11.0pt">_______________________________________________<br>
                    Mailing list: <a
                      href="https://launchpad.net/%7Eopenstack"
                      moz-do-not-send="true">https://launchpad.net/~openstack</a><br>
                    Post to : <a
                      href="mailto:openstack@lists.launchpad.net"
                      moz-do-not-send="true">openstack@lists.launchpad.net</a><br>
                    Unsubscribe : <a
                      href="https://launchpad.net/%7Eopenstack"
                      moz-do-not-send="true">https://launchpad.net/~openstack</a><br>
                    More help : <a
                      href="https://help.launchpad.net/ListHelp"
                      moz-do-not-send="true">https://help.launchpad.net/ListHelp</a><u5:p></u5:p></span></font><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"><font color="black" face="Lucida Grande ,
              serif" size="2"><span
                style="font-size:11.0pt;font-family:"Lucida Grande
                \, serif""><u5:p> </u5:p></span></font><o:p></o:p></p>
          <div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><font
                color="black" face="Lucida Grande , serif" size="2"><span
                  style="font-size:11.0pt;font-family:"Lucida
                  Grande \, serif"">--
                  <br>
                  Nuage & Co - Razique Mahroua <br>
                  <b><span style="font-weight:bold"><a
                        href="mailto:razique.mahroua@gmail.com"
                        moz-do-not-send="true">razique.mahroua@gmail.com</a><u5:p></u5:p></span></b></span></font><o:p></o:p></p>
            <div>
              <p class="MsoNormal"><font color="black" face="Lucida
                  Grande , serif" size="2"><span
                    style="font-size:11.0pt;font-family:"Lucida
                    Grande \, serif""><img id="_x0000_i1026"
                      src="cid:part15.02060403.06070408@linuxers.org"
                      name="image.jpg" border="0" height="125"
                      width="125"></span></font><o:p></o:p></p>
            </div>
            <u5:p></u5:p>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><font
                color="black" face="Lucida Grande , serif" size="2"><span
                  style="font-size:11.0pt;font-family:"Lucida
                  Grande \, serif""> 
                  <u5:p></u5:p></span></font><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><u5:p><font color="black" face="Times New
              Roman" size="3"><span style="font-size:12.0pt"> <o:p></o:p></span></font></u5:p></p>
        <p><strong><b><font color="green" face="Palatino Linotype"
                size="2"><span
                  style="font-size:10.0pt;font-family:"Palatino
                  Linotype";color:green">Please do
                  not print this email unless it is absolutely
                  necessary. </span></font></b></strong><o:p></o:p></p>
        <u5:p></u5:p>
        <p><font color="black" face="Times New Roman" size="3"><span
              style="font-size:12.0pt">The
              information contained in this electronic message and any
              attachments to this
              message are intended for the exclusive use of the
              addressee(s) and may contain
              proprietary, confidential or privileged information. If
              you are not the
              intended recipient, you should not disseminate, distribute
              or copy this e-mail.
              Please notify the sender immediately and destroy all
              copies of this message and
              any attachments. <o:p></o:p></span></font></p>
        <p><font color="black" face="Times New Roman" size="3"><span
              style="font-size:12.0pt">WARNING:
              Computer viruses can be transmitted via email. The
              recipient should check this
              email and any attachments for the presence of viruses. The
              company accepts no
              liability for any damage caused by any virus transmitted
              by this email. <o:p></o:p></span></font></p>
        <p><font color="black" face="Times New Roman" size="3"><span
              style="font-size:12.0pt"><a moz-do-not-send="true"
                href="http://www.wipro.com">www.wipro.com</a> <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font color="black" face="Times New Roman"
            size="3"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>