Ask Your Question
0

global name '_' is not defined in Glance [closed]

asked 2014-11-11 00:09:30 -0500

Cheng Li gravatar image

After installed Glance , i try to run the command but there is an error. This is the first time i try to install openstack. I have no idea what to do next.

root@controller:~# glance image-list global name '_' is not defined

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Cheng Li
close date 2014-11-11 05:30:34.188114

Comments

Hello Cheng Li, I have the same problem like you, could you provide your solution´╝č thanks

sean666666 gravatar imagesean666666 ( 2014-11-14 01:05:35 -0500 )edit

2 answers

Sort by ┬╗ oldest newest most voted
0

answered 2014-11-11 01:13:26 -0500

Ram.Meena gravatar image

Hi,

I would suggest you to check logs of glance api and registry server to find out any possible error while running the glance cli. You may find the glance logs on below path:

API Server Logs = /var/log/glance/api.log (Issue should be found here)

Registry Server Logs = /var/log/glance/registry.log

You may also share the logs here so someone from community may check and assist you further in this regard.

edit flag offensive delete link more

Comments

Thanks for your log add, it's very helpful.appreciate your help.

Cheng Li gravatar imageCheng Li ( 2014-11-11 05:30:04 -0500 )edit
0

answered 2014-11-11 02:01:06 -0500

There can be number of resons for this issue. But I think this is related to the configuration.

Please recheck the configuration of glance-api.conf and glance-registry.conf and restart those services.

If still facing the same issue. Then paste the configuration file and logs.

edit flag offensive delete link more

Comments

thanks, i check the log and seems my export xxx have something wrong and keystone also have some thing wrong.Finally i solve the problem. Really appreciate your help.

Cheng Li gravatar imageCheng Li ( 2014-11-11 05:29:35 -0500 )edit

Most welcome. :)

TechPatron gravatar imageTechPatron ( 2014-11-11 05:36:31 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-11-11 00:09:30 -0500

Seen: 1,892 times

Last updated: Nov 11 '14