Ask Your Question
0

Error: Unable to retrieve image list.

asked 2016-11-27 08:53:53 -0500

vuhiep gravatar image

updated 2016-11-27 23:15:49 -0500

I installed openstack mitaka with HA (3 nodes). follow this manual : http://docs.openstack.org/mitaka/inst... . But I have problem with glane service, on one of nodes:

[root@controller-1 neutron]#
openstack image list
+--------------------------------------+--------+--------+ 
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+ 
| 68944d61-5263-4442-b92f-fffc75295d5b | cirros | active |

But when I check on dashboad only get : Error: Unable to retrieve image list. I try to run instance by command:

openstack server create --debug
--flavor m1.tiny --image cirros --nic net-id=74d68cc9-636a-473a-8069-030e68e9b427
--security-group default selfservice-instance

And :

 RESP BODY: {"computeFault":
{"message": "Unexpected API Error.
Please report this at
http://bugs.launchpad.net/nova/ and
attach the Nova API log if
possible.\n<class
'glanceclient.exc.HTTPInternalServerError'>",
"code": 500}}

Could not find resource cirros
Traceback (most recent call last):  
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 346, in run_subcommand result = cmd.run(parsed_args)  
File "/usr/lib/python2.7/site-packages/openstackclient/common/command.py", line 38, in run return super(Command, self).run(parsed_args)  
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 79, in run column_names, data = self.take_action(parsed_args)  
File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 378, in take_action parsed_args.image,  
File "/usr/lib/python2.7/site-packages/openstackclient/common/utils.py", line 118, in find_resource raise exceptions.CommandError(msg) CommandError: Could not find resource cirros clean_up 
CreateServer: Could not find resource cirros Traceback (most recent call last):  
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 118, in run ret_val = super(OpenStackShell, self).run(argv)  
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 226, in run result = self.run_subcommand(remainder)  
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 153, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv)  
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 346, in run_subcommand result = cmd.run(parsed_args)  
File "/usr/lib/python2.7/site-packages/openstackclient/common/command.py", line 38, in run return super(Command, self).run(parsed_args)  
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 79, in run column_names, data = self.take_action(parsed_args)  
File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 378, in take_action parsed_args.image,  
File "/usr/lib/python2.7/site-packages/openstackclient/common/utils.py", line 118, in find_resource raise exceptions.CommandError(msg) CommandError: Could not find resource cirros

Can you teach me what i missed? Thanks

edit retag flag offensive close merge delete

Comments

The error output is the response to an HTTP request from the openstack client. Most probably something is wrong with the HTTP request. Your output should show this request; add it to your description.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-27 23:19:03 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-28 05:57:30 -0500

silently gravatar image

first of all ,try :

glance image-list
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: 2016-11-27 08:53:53 -0500

Seen: 1,074 times

Last updated: Nov 28 '16