<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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-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-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&limit=20 HTTP/1.1" 300 787
0.000769<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client
[req-3b498a7e-2d6a-4337-a314-12abfbac0117
4c91f07132454a97b21fff35402b7825 4a6213a64312482896130efc3047195c
- - -] Registry client request GET /images/detail raised
MultipleChoices<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client Traceback (most recent call
last):<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client File
"/openstack/venvs/glance-13.3.8/lib/python2.7/site-packages/glance/registry/client/v1/client.py",
line 123, in do_request<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client **kwargs)<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client File
"/openstack/venvs/glance-13.3.8/lib/python2.7/site-packages/glance/common/client.py",
line 70, in wrapped<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client return func(self, *args,
**kwargs)<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client File
"/openstack/venvs/glance-13.3.8/lib/python2.7/site-packages/glance/common/client.py",
line 373, in do_request<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client
headers=copy.deepcopy(headers))<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client File
"/openstack/venvs/glance-13.3.8/lib/python2.7/site-packages/glance/common/client.py",
line 87, in wrapped<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client return func(self, method,
url, body, headers)<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client File
"/openstack/venvs/glance-13.3.8/lib/python2.7/site-packages/glance/common/client.py",
line 534, in _do_request<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client raise
exception.MultipleChoices(body=read_body(res))<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.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.client <br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client The body of response returned:<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client {"versions": [{"status":
"CURRENT", "id": "v2.3", "links": [{"href":
<a class="moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
"SUPPORTED", "id": "v2.2", "links": [{"href":
<a class="moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
"SUPPORTED", "id": "v2.1", "links": [{"href":
<a class="moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
"SUPPORTED", "id": "v2.0", "links": [{"href":
<a class="moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v2/">"http://10.6.0.3:9191/v2/"</a>, "rel": "self"}]}, {"status":
"SUPPORTED", "id": "v1.1", "links": [{"href":
<a class="moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v1/">"http://10.6.0.3:9191/v1/"</a>, "rel": "self"}]}, {"status":
"SUPPORTED", "id": "v1.0", "links": [{"href":
<a class="moz-txt-link-rfc2396E" href="http://10.6.0.3:9191/v1/">"http://10.6.0.3:9191/v1/"</a>, "rel": "self"}]}]}<br>
2017-03-02 11:10:16.843 2104 ERROR
glance.registry.client.v1.client <br>
2017-03-02 11:10:16.844 2104 ERROR glance.common.wsgi
[req-3b498a7e-2d6a-4337-a314-12abfbac0117
4c91f07132454a97b21fff35402b7825 4a6213a64312482896130efc3047195c
- - -] 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,<br>
</p>
<div class="moz-signature">-- <br>
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<title></title>
<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;">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;">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>
</body>
</html>