edit retag close merge delete

Sort by » oldest newest most voted

Dear nihao

how do you solved it? I have the same problem.

more

I'm encountering the same problem. I would be interested in the solution, too.

Thanks, Ed

more

Sadly, after posting this, I had a typo in my keystone database after having to resort to the python debugger. You have to ensure you that your os_parameters (or OS_ env) are exactly right for it to work.

Here is the minimum set of OS_* environment I needed for glance to work: OS_TENANT_NAME OS_USERNAME OS_PASSWORD OS_AUTH_URL

One thing I found a little frustrating is that the glance client does not accept the same parameters as the keystone client in this regard. For example, I needed to use names instead of the ids (e.g. tenant name vs. tenant id). Another thing that is a little confusing is that if you define os_ name AND id, it's not clear to the user which one is used, and this could cause the user to get a bad catalog list or invalid authentication.

To verify that you have the right environment or settings, use "keystone catalog" (or "keystone catalog --service image") with the same environment. A successful call should result in the list service endpoints.

As a note to the developers, it would be nice if the command-line tools would produce more information, such as the settings used to authenticate particularly if debugging is enabled.

more

Hi DigitalWonk,

The inconsistencies with the parameters are addressed in the next-generation client ( http://github.com/openstack/python-gl... ). The old glance client will be deprecated in the Grizzly release cycle.

Best, -jay

more

Have you tried creating the glance endpoint in the keystone catalog?

e.g.:

$GLANCE_HOST=<your_glance_host>$ keystone-manage endpointTemplates add RegionOne glance http://$GLANCE_HOST:9292/v1 http://$GLANCE_HOST:9292/v1 http://\$GLANCE_HOST:9292/v1 1 1

more

I created the glance ednpoint by use the command "keystone --token ADMIN --endpoint http://192.168.32.123:35357/v2.0 user-create --tenant_id eebbdcb86e644c7297b9d443702987f5 --name glance --pass nihao --enabled true",if do something wrong . I use the openstack-install-guide-trunk[1] installed it .

more

tkanks everyone , i have solved it ,the reason is because when i use keystone i make some mistake!

more