<div dir="ltr"><div>Hi <span name="Adrián Norte" class="">Adrián</span>,<br><br></div>I don't think it is listening on  <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a><br><br> <div>This is the output which I am getting:<br><i>Ops-Controller:~ # netstat -tunelp|grep 5672<br>tcp        0      0 :::5672                 :::*                    LISTEN      113        69412      30402/beam          <br>Ops-Controller:~ #</i><br><br></div><div>Do I need to configure anything?<br>I have already done the steps mentioned in the guide to make rabbitmq server up and running.<br></div><div><br></div><div>BR,<br></div><div>Varun<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 2:58 PM, Adrián Norte <span dir="ltr"><<a href="mailto:adrian@bashlines.com" target="_blank">adrian@bashlines.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">
    check if amqp is listening on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a> or somewhere else. if it
    is listening correctly try restarting amqp and then telnet to it.<br>
    <div>El 07/11/14 a las 14:41, varun
      bhatnagar escribió:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Brad/Erik,<br>
            <br>
          </div>
          Thanks for replying.<br>
          <br>
        </div>
        <div>I am installing glance service on Ops-Controller & it
          is able to ping itself.<br>
        </div>
        <div>Firewall is turned off.<br>
          <br>
        </div>
        <div>I have executed netstat command and this is what it prints:<br>
          <i>Ops-Controller:~ # netstat -tunelp|grep 9292<br>
            tcp        0      0 <a href="http://0.0.0.0:9292" target="_blank">0.0.0.0:9292</a>           
            0.0.0.0:*               LISTEN      115        65443     
            29864/python        <br>
            Ops-Controller:~ # <br>
          </i><br>
        </div>
        <div><br>
        </div>
        I also checked the glance-api.log file and this is what it says:<br>
        <div><br>
          2014-11-04 16:24:45.986 29872 ERROR
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on
          localhost:5672 is unreachable: Socket closed. Trying again in
          1 seconds.<br>
          2014-11-04 16:24:47.012 29872 INFO
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] Reconnecting to AMQP
          server on localhost:5672<br>
          2014-11-04 16:24:47.014 29872 INFO
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] Delaying reconnect for
          1.0 seconds...<br>
          2014-11-04 16:24:51.056 29872 ERROR
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on
          localhost:5672 is unreachable: Socket closed. Trying again in
          3 seconds.<br>
          2014-11-04 16:24:54.060 29872 INFO
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] Reconnecting to AMQP
          server on localhost:5672<br>
          2014-11-04 16:24:54.061 29872 INFO
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] Delaying reconnect for
          1.0 seconds...<br>
          2014-11-04 16:24:58.106 29872 ERROR
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on
          localhost:5672 is unreachable: Socket closed. Trying again in
          5 seconds.<br>
          2014-11-04 16:25:03.114 29872 INFO
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] Reconnecting to AMQP
          server on localhost:5672<br>
          2014-11-04 16:25:03.118 29872 INFO
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] Delaying reconnect for
          1.0 seconds...<br>
          2014-11-04 16:25:07.163 29872 ERROR
          oslo.messaging._drivers.impl_rabbit
          [b98ec839-53c8-4ef7-9e52-0426362c76e6
          f9b4e4d416cb434b943b0c09e2d97845
          be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on
          localhost:5672 is unreachable: Socket closed. Trying again in
          7 seconds.<br>
          <br>
        </div>
        <div>The problem still exists. Can you please suggest something.<br>
          <br>
          BR,<br>
        </div>
        <div>Varun<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Nov 6, 2014 at 9:47 PM, Erik
          McCormick <span dir="ltr"><<a href="mailto:emccormick@cirrusseven.com" target="_blank">emccormick@cirrusseven.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">I would suggest turning on verbose=true and
              debug=true in the glance-api.conf and seeing where it's
              trying to connect to and what exactly is happening. </p>
            <p dir="ltr">For a wild guess, any chance you've got a
              firewall enabled and not opened the port to your public
              endpoint interface?</p>
            <p dir="ltr">-Erik</p>
            <div class="gmail_quote">
              <div>
                <div>On Nov 6, 2014 6:23 PM, "varun
                  bhatnagar" <<a href="mailto:varun292006@gmail.com" target="_blank">varun292006@gmail.com</a>>
                  wrote:<br type="attribution">
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div>
                    <div dir="ltr">Hi,
                      <div><br>
                      </div>
                      <div>I am trying to install glance service on
                        controller and I am following instructions given
                        in the installation guide (<a href="http://docs.openstack.org/icehouse/install-guide/install/zypper/content/glance-verify.html" target="_blank">http://docs.openstack.org/icehouse/install-guide/install/zypper/content/glance-verify.html</a>)</div>
                      <div><br>
                      </div>
                      <div>The OS is SLES 11, hostname is Ops-Controller
                        & openstack version is Icehouse.</div>
                      <div><br>
                      </div>
                      <div>When I was done with the installation I tried
                        doing post installation steps & when I tried
                        uploading the image in glance using following
                        command:</div>
                      <div><br>
                      </div>
                      <div>
                        <div><i>glance image-create --name "myImage"
                            --disk-format qcow2 \</i></div>
                        <div><i>--container-format bare --is-public True
                            --progress < cirros-0.3.2-x86_64-disk.img</i></div>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>I got the following error message:</div>
                      <div><br>
                      </div>
                      <div><i>Error communicating with <a href="http://Ops-Controller:9292" target="_blank">http://Ops-Controller:9292</a>
                          timed out</i><br>
                      </div>
                      <div><i><br>
                        </i></div>
                      <div>Can anyone tell me what went wrong here.</div>
                      <div><br>
                      </div>
                      <div>BR,</div>
                      <div>Varun</div>
                    </div>
                    <br>
                  </div>
                </div>
                _______________________________________________<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>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <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></div></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">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>