<div dir="ltr">I guess I've got something:<div><br></div><div><div>2013-09-23 16:52:17     INFO [cinder.openstack.common.rpc.common] Connected to AMQP server on localhost:5672</div></div><div><br></div><div>I've found this page <a href="https://ask.openstack.org/en/question/4581/cinder-unable-to-connect-to-rabbitmq/">https://ask.openstack.org/en/question/4581/cinder-unable-to-connect-to-rabbitmq/</a> and zipmaster07 answered "<span style="background-color:rgb(241,241,255);color:rgb(75,75,75);font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:14px;line-height:19px">r</span><span style="background-color:rgb(241,241,255);color:rgb(75,75,75);font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4">abbit_virtual_host = /nova</span></div>

<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75);background-color:rgb(241,241,255)">I commented out the "rabbit_virtual_host", restarted all cinder services and I can see a successful connection to AMQP now."</p>

<div>And I did that, now it's connected, but what is this rabbit_virtual_host? What does it do?</div><div>I'll test my volumes now.</div><div><br></div><div>Regards.</div><div><br></div><div><br></div><div><br></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/23 Guilherme Russi <span dir="ltr"><<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>I've looked at the quantum/server.log and nova-scheduler.log and they show:</div><div> </div><div>2013-09-23 16:25:27     INFO [quantum.openstack.common.rpc.common] Reconnecting to AMQP server on localhost:5672</div>


<div>2013-09-23 16:25:27     INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on localhost:5672</div><div><br></div><div><div>2013-09-23 16:24:01.830 5971 INFO nova.openstack.common.rpc.common [-] Reconnecting to AMQP server on <a href="http://127.0.0.1:5672" target="_blank">127.0.0.1:5672</a></div>


<div>2013-09-23 16:24:01.879 5971 INFO nova.openstack.common.rpc.common [-] Connected to AMQP server on <a href="http://127.0.0.1:5672" target="_blank">127.0.0.1:5672</a></div></div><div><br></div><div>But at the cinder-volume.log:</div>


<div><br></div><div><div>INFO [cinder.openstack.common.rpc.common] Reconnecting to AMQP server on localhost:5672</div><div>2013-09-23 16:46:04    ERROR [cinder.openstack.common.rpc.common] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.</div>


</div><div><br></div><div><br></div><div>I was typing when you sent your answer, here is it:</div><div><br></div><div><div>rabbitmq-server status</div><div>Status of node rabbit@hemera ...</div><div>[{pid,17266},</div><div>


 {running_applications,[{rabbit,"RabbitMQ","2.7.1"},</div><div>                        {os_mon,"CPO  CXC 138 46","2.2.7"},</div><div>                        {sasl,"SASL  CXC 138 11","2.1.10"},</div>


<div>                        {mnesia,"MNESIA  CXC 138 12","4.5"},</div><div>                        {stdlib,"ERTS  CXC 138 10","1.17.5"},</div><div>                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},</div>


<div> {os,{unix,linux}},</div><div> {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:30] [kernel-poll:true]\n"},</div><div> {memory,[{total,30926120},</div><div>          {processes,14354392},</div>


<div>          {processes_used,14343184},</div><div>          {system,16571728},</div><div>          {atom,1124441},</div><div>          {atom_used,1120343},</div><div>          {binary,268176},</div><div>          {code,11134417},</div>


<div>          {ets,2037120}]},</div><div> {vm_memory_high_watermark,0.4},</div><div> {vm_memory_limit,<a href="tel:3299385344" value="+553299385344" target="_blank">3299385344</a>}]</div><div>...done.</div></div><div><br>

</div><div><br></div><div>Yes, I've restarted the rabbitmq-server, but as you can see at the logs, quantum and nova are connected.</div>
<div><br></div><div>Ideas??</div><div><br></div><div>Regards.</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/23 Marcelo Dieder <span dir="ltr"><<a href="mailto:marcelodieder@gmail.com" target="_blank">marcelodieder@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000099">
    <font size="-1"><font face="Arial">What's the status of your
        rabbitmq?<br>
        <br>
        <font size="-1"><font face="Arial"># rabbitmqctl status<br>
            <br>
            And d<font size="-1"><font face="Arial">o you tried restart
                the rabbitmq?<br>
                <br>
                <font size="-1"><font face="Arial">Regar<font size="-1"><font face="Arial">ds,<br>
                        <font size="-1"><font face="Arial">Marcelo
                            Dieder</font></font><br>
                      </font></font></font></font></font></font><br>
          </font></font><br>
      </font></font><div><div>
    <div>On 09/23/2013 03:31 PM, Guilherme Russi
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">Yes, it is at the same place
        <div><br>
        </div>
        <div>
          <div>cat /etc/cinder/cinder.conf </div>
          <div>[DEFAULT]</div>
          <div>rootwrap_config=/etc/cinder/rootwrap.conf</div>
          <div>sql_connection = mysql://cinder:password@localhost/cinder</div>
          <div>api_paste_confg = /etc/cinder/api-paste.ini</div>
          <div>iscsi_helper=ietadm</div>
          <div>#iscsi_helper = tgtadm</div>
          <div>volume_name_template = volume-%s</div>
          <div>volume_group = cinder-volumes</div>
          <div>verbose = True</div>
          <div>auth_strategy = keystone</div>
          <div>iscsi_ip_address=localhost</div>
          <div>rabbit_host = localhost</div>
          <div>rabbit_port = 5672</div>
          <div>rabbit_userid = rabbit</div>
          <div>rabbit_password = password</div>
          <div>rabbit_virtual_host = /nova</div>
          <div>state_path = /var/lib/cinder</div>
          <div>lock_path = /var/lock/cinder</div>
          <div>volumes_dir = /var/lib/cinder/volumes</div>
        </div>
        <div><br>
        </div>
        <div>Another idea?</div>
        <div><br>
        </div>
        <div>Regards.</div>
      </div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">2013/9/23 Gangur, Hrushikesh (HP
          Converged Cloud - R&D - Sunnyvale) <span dir="ltr"><<a href="mailto:hrushikesh.gangur@hp.com" target="_blank">hrushikesh.gangur@hp.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div link="blue" vlink="purple" lang="EN-US">
              <div>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ensure
                    that cinder configuration files have correct IP of
                    rabbimq host.</span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                <p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
                    Guilherme Russi [mailto:<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>]
                    <br>
                    <b>Sent:</b> Monday, September 23, 2013 10:53 AM<br>
                    <b>To:</b> openstack<br>
                    <b>Subject:</b> [Openstack] Cinder error</span></p>
                <div>
                  <div>
                    <p class="MsoNormal"> </p>
                    <div>
                      <p class="MsoNormal">Hello guys, I'm reinstalling
                        my OpenStack Grizzly and I'm getting problem
                        with my cinder, I'm getting "<strong>Error: </strong>Unable
                        to retrieve volume list." I was looking at the
                        cinder log and I only found this error: ERROR
                        [cinder.openstack.common.rpc.common] AMQP server
                        on <a href="http://192.168.3.1:5672" target="_blank">192.168.3.1:5672</a>
                        is unreachable: Socket closed. Trying again in
                        30 seconds.</p>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <p class="MsoNormal">I have a partition created:</p>
                      </div>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal">pvdisplay </p>
                        </div>
                        <div>
                          <p class="MsoNormal">  --- Physical volume ---</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  PV Name              
                            /dev/sda7</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  VG Name              
                            cinder-volumes</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  PV Size              
                            279,59 GiB / not usable 1,00 MiB</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Allocatable          
                            yes </p>
                        </div>
                        <div>
                          <p class="MsoNormal">  PE Size              
                            4,00 MiB</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Total PE            
                             71574</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Free PE              
                            66454</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Allocated PE        
                             5120</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  PV UUID              
                            KHITxF-uagF-xADc-F8fu-na8t-1OXT-rDFbQ6</p>
                        </div>
                        <div>
                          <p class="MsoNormal">   </p>
                        </div>
                        <div>
                          <p class="MsoNormal">root@hemera:/home/hemera#
                            vgdisplay </p>
                        </div>
                        <div>
                          <p class="MsoNormal">  --- Volume group ---</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  VG Name              
                            cinder-volumes</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  System ID             </p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Format              
                             lvm2</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Metadata Areas        1</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Metadata Sequence No  6</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  VG Access            
                            read/write</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  VG Status            
                            resizable</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  MAX LV                0</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Cur LV                2</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Open LV               0</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Max PV                0</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Cur PV                1</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Act PV                1</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  VG Size              
                            279,59 GiB</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  PE Size              
                            4,00 MiB</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Total PE            
                             71574</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Alloc PE / Size      
                            5120 / 20,00 GiB</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  Free  PE / Size      
                            66454 / 259,59 GiB</p>
                        </div>
                        <div>
                          <p class="MsoNormal">  VG UUID              
                            mhN3uV-n80a-zjeb-uR35-0IPb-BFmo-G2Qehu</p>
                        </div>
                      </div>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <p class="MsoNormal">I don't know how to fix
                          this error, any help?</p>
                      </div>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <p class="MsoNormal">Thank you all and regards.</p>
                      </div>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <p class="MsoNormal">Guilherme.</p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>