Ask Your Question
1

sahara Image Registry Error: Unable to fetch available images

asked 2015-07-29 10:26:12 -0500

whg gravatar image

updated 2015-07-29 10:26:57 -0500

i installed sahara kilo in virtual environment,

build an Image of ubuntu_sahara_vanilla_hadoop_2_6_latest.qcow2 for sahara Plugin and Upload the image to the

glance Image service


$ openstack image list
+--------------------------------------+----------------------------------+
| ID                                   | Name                             |
+--------------------------------------+----------------------------------+
| eeddaf5c-bac3-42da-904b-2da24741219a | ubuntu_sahara_vanilla_hadoop_2_6 |
| a243e1db-e299-4176-aedb-7b47bd83996d | trusty-server-cloudimg-amd64     |
| 35323c14-1192-40dc-9fb2-9ae0d3ddd30e | cirros-0.3.4-x86_64              |
+--------------------------------------+----------------------------------+

when i tried to registry iamge from horizon, i got an error : Unable to fetch available images

the sahara log


2015-07-29 23:05:52.058 29160 INFO sahara.utils.wsgi [-] 16.157.134.150 - - [29/Jul/2015 23:05:52] "GET /v1.1/61fb8056916941c6bb19ef1a0f1109c0/plugins/spark/0.9.1 HTTP/1.1" 200 61429 0.008901
2015-07-29 23:05:52.355 29160 INFO sahara.utils.wsgi [-] 16.157.134.150 - - [29/Jul/2015 23:05:52] "GET /v1.1/61fb8056916941c6bb19ef1a0f1109c0/plugins/cdh/5 HTTP/1.1" 200 511901 0.168864
2015-07-29 23:05:52.657 29160 INFO sahara.utils.wsgi [-] 16.157.134.150 - - [29/Jul/2015 23:05:52] "GET /v1.1/61fb8056916941c6bb19ef1a0f1109c0/plugins/cdh/5.3.0 HTTP/1.1" 200 768558 0.196890
2015-07-29 23:06:27.467 29160 ERROR sahara.utils.api [-] Request aborted with status code 500 and message 'Internal Server Error'
2015-07-29 23:06:27.468 29160 ERROR sahara.utils.api [-] Traceback (most recent call last):
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/sahara/utils/api.py", line 90, in handler
    return func(*kwargs)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/sahara/api/acl.py", line 44, in handler
    return func(args, *kwargs)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/sahara/api/v10.py", line 206, in images_list
    return u.render(images=[i.dict for i in api.get_images(name, tags)])
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/sahara/service/api.py", line 227, in get_images
    return nova.client().images.list_registered(name, tags)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/sahara/utils/openstack/images.py", line 124, in list_registered
    images = [i for i in self.list()
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/novaclient/v2/images.py", line 69, in list
    return self._list('/images%s%s' % (detail, query), 'images')
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/novaclient/base.py", line 64, in _list
    _resp, body = self.api.client.get(url)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/novaclient/client.py", line 450, in get
    return self._cs_request(url, 'GET', *kwargs)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/novaclient/client.py", line 428, in _cs_request
    resp, body = self._time_request(url, method, *kwargs)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/novaclient/client.py", line 397, in _time_request
    resp, body = self.request(url, method, *kwargs)
  File "/home/wuhg/sahara-venv/local/lib/python2.7/site-packages/novaclient/client.py", line 391, in request
    raise exceptions.from_response(resp, body, url, method)
NotFound: Not found (HTTP 404)

2015-07-29 23:06:27.469 29160 INFO sahara.utils.wsgi [-] 16.157.134.150 - - [29/Jul/2015 23:06:27] "GET /v1.1/61fb8056916941c6bb19ef1a0f1109c0/images HTTP/1.1" 500 252 11.362678 2015-07-29 23:06 ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-10 07:32:12 -0500

----- gravatar image

Could you already resolve this issue?

I have the same problems with my Sahara installation on OpenStack Kilo.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-29 10:26:12 -0500

Seen: 126 times

Last updated: Jul 29 '15