<div dir="ltr"><div>What version of Openstack are we talking about ?<br><br></div>Saverio<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-02 12:11 GMT+01:00 Grant Morley <span dir="ltr"><<a href="mailto:grant@absolutedevops.io" target="_blank">grant@absolutedevops.io</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi All,</p>
    <p>Not sure if anyone can help, but as of today we are unable to
      launch any instances and I have traced back the error to glance.
      Whenever I try and launch an instance I get the below returned:</p>
    <p>openstack server create --flavor g1.small --image "Ubuntu-16.04"
      --key-name ib-desktop --security-group default --nic
      net-id=e2d925f0-63c1-442f-<wbr>9158-6a138e5847ce gmtest<br>
      Could not find resource Ubuntu-16.04</p>
    <p>The image exists:</p>
    <p>openstack image list | grep Ubuntu-16.04</p>
    <p>| d5d43ba0-82e9-43de-8883-<wbr>5ebaf07bf3e3 | Ubuntu-16.04   | active
      |</p>
    <p>The traceback gives a really odd message about Multiple choices (
      All images have unique names )</p>
    <p>Below is the stack trace - not sure if anyone has come across
      this before? I am stumped at the moment.</p>
    <p>2017-03-02 11:10:16.842 2107 INFO eventlet.wsgi.server [-]
      10.6.2.255,10.6.0.39 - - [02/Mar/2017 11:10:16] "GET
      /images/detail?is_public=none&<wbr>limit=20 HTTP/1.1" 300 787
      0.000769<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client
      [req-3b498a7e-2d6a-4337-a314-<wbr>12abfbac0117
      4c91f07132454a97b21fff35402b78<wbr>25 4a6213a64312482896130efc304719<wbr>5c
      - - -] Registry client request GET /images/detail raised
      MultipleChoices<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client Traceback (most recent call
      last):<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client   File
"/openstack/venvs/glance-13.3.<wbr>8/lib/python2.7/site-packages/<wbr>glance/registry/client/v1/<wbr>client.py",
      line 123, in do_request<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client     **kwargs)<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client   File
"/openstack/venvs/glance-13.3.<wbr>8/lib/python2.7/site-packages/<wbr>glance/common/client.py",
      line 70, in wrapped<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client     return func(self, *args,
      **kwargs)<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client   File
"/openstack/venvs/glance-13.3.<wbr>8/lib/python2.7/site-packages/<wbr>glance/common/client.py",
      line 373, in do_request<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client    
      headers=copy.deepcopy(headers)<wbr>)<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client   File
"/openstack/venvs/glance-13.3.<wbr>8/lib/python2.7/site-packages/<wbr>glance/common/client.py",
      line 87, in wrapped<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client     return func(self, method,
      url, body, headers)<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client   File
"/openstack/venvs/glance-13.3.<wbr>8/lib/python2.7/site-packages/<wbr>glance/common/client.py",
      line 534, in _do_request<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client     raise
      exception.MultipleChoices(<wbr>body=read_body(res))<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client MultipleChoices: The request
      returned a 302 Multiple Choices. This generally means that you
      have not included a version indicator in a request URI.<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client <br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client The body of response returned:<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client {"versions": [{"status":
      "CURRENT", "id": "v2.3", "links": [{"href":
      <a class="m_3286897184080812313moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/" target="_blank">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
      "SUPPORTED", "id": "v2.2", "links": [{"href":
      <a class="m_3286897184080812313moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/" target="_blank">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
      "SUPPORTED", "id": "v2.1", "links": [{"href":
      <a class="m_3286897184080812313moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/" target="_blank">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
      "SUPPORTED", "id": "v2.0", "links": [{"href":
      <a class="m_3286897184080812313moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/" target="_blank">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
      "SUPPORTED", "id": "v1.1", "links": [{"href":
      <a class="m_3286897184080812313moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v1/" target="_blank">"http://10.6.0.3:9191/v1/"</a>, "rel": "self"}]}, {"status":
      "SUPPORTED", "id": "v1.0", "links": [{"href":
      <a class="m_3286897184080812313moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v1/" target="_blank">"http://10.6.0.3:9191/v1/"</a>, "rel": "self"}]}]}<br>
      2017-03-02 11:10:16.843 2104 ERROR
      glance.registry.client.v1.<wbr>client <br>
      2017-03-02 11:10:16.844 2104 ERROR glance.common.wsgi
      [req-3b498a7e-2d6a-4337-a314-<wbr>12abfbac0117
      4c91f07132454a97b21fff35402b78<wbr>25 4a6213a64312482896130efc304719<wbr>5c
      - - -] Caught error: The request returned a 302 Multiple Choices.
      This generally means that you have not included a version
      indicator in a request URI.<br>
      <br>
    </p>
    <p>Any help would be great.</p>
    <p>Regards,<span class="HOEnZb"><font color="#888888"><br>
    </font></span></p><span class="HOEnZb"><font color="#888888">
    <div class="m_3286897184080812313moz-signature">-- <br>
      
      
      <div style="height:13px"> </div>
      <div> <font face="Lucida Grande, Verdana, Arial, sans-serif" color="#A8D8FF"> <span style="font-size:11px;line-height:15px;float:left;margin-right:10px"> <img src="cid:part1.07778AA5.1BA463D1@absolutedevops.io" style="color:#a8d8ff;font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:11px;line-height:15px;float:left;margin-top:0px;margin-right:10px"> </span>
        </font>
        <div style="margin-left:80px;line-height:15px;color:rgb(109,190,255);margin-bottom:5px"> <span style="font-family:Hind,'Lucida Grande',Verdana,Arial,sans-serif;font-size:18px;font-weight:200;color:rgb(35,157,255)">Grant Morley</span> <span style="color:rgb(35,157,255);font-size:15px"> </span> <font face="Hind, Lucida Grande, Verdana, Arial, sans-serif"> <span style="font-size:15px"> </span> </font> </div>
        <div style="margin-left:80px;line-height:15px;color:rgb(109,190,255);margin-bottom:10px"> <font face="Hind,
            Lucida Grande, Verdana, Arial, sans-serif"> <span style="font-size:15px">Cloud Lead</span> </font> </div>
        <div style="font-family:Hind,'Lucida Grande',Verdana,Arial,sans-serif;font-size:13px;margin-left:80px;line-height:15px;color:rgb(153,153,153)"> <span style="color:#616161">Absolute</span> <span style="color:#98a5b0">DevOps
            Ltd</span> <br>
          Units H, J & K, Gateway 1000, Whittle Way, Stevenage,
          Herts, SG1 2FP
        </div>
        <div style="font-family:Hind,helvetica,arial;font-size:13px;margin-left:80px"> <a href="http://www.absolutedevops.io/" style="color:#239dff;font-family:Hind,'Lucida Grande',Verdana,Arial,sans-serif;line-height:15px;margin-right:6px;text-decoration:none" target="_blank">www.absolutedevops.io</a> <a href="mailto:grant@absolutedevops.i" style="color:#239dff;font-family:Hind,'Lucida Grande',Verdana,Arial,sans-serif;line-height:15px;margin-right:6px;text-decoration:none" target="_blank">grant@absolutedevops.io</a> <a style="color:#239dff;font-family:Hind,'Lucida Grande',Verdana,Arial,sans-serif;line-height:15px;margin-right:6px">0845 874 0580</a> </div>
      </div>
    </div>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.<wbr>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
<br></blockquote></div><br></div>