failed to Grants a member access to an image

asked 2011-11-01 08:38:20 -0600

reynolds.chin gravatar image


I'm using a diablo glance. I attempted to to use "member add" to grants a member access to an image

I issued "glance member-add 1 tenant1", and the system told me Not authorized to make this request. Check your credentials (OS_AUTH_USER, OS_AUTH_KEY, ...).

Did I do miss some steps ? BTW, I'm not going to use keystone, does "member add" work in this case ?


edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2011-11-02 02:29:34 -0600

reynolds.chin gravatar image

Thanks Kevin L. Mitchell, that solved my question.

edit flag offensive delete link more

answered 2011-11-01 15:51:08 -0600

If you are not going to use Keystone, then the shared image support is meaningless—without Keystone, Glance has no concept of an image being owned by anyone at all, and so images are implicitly shared with anyone and everyone.

Now, on to your specific error: You have not defined your credentials in the environment variables (OS_AUTH_USER, OS_AUTH_KEY, OS_AUTH_TENANT, OS_AUTH_URL, and OS_AUTH_STRATEGY; see doc/source/authentication.rst in the Glance source tree). This is likely no surprise, since you state that you intend to not use Keystone. However, the shared images support requires that Keystone be used, as stated above; since Keystone credentials are not provided, it returns a response saying "Authentication required." The Glance client helpfully suggests that you need to set the credentials.

In short: If you wish to not use Keystone, shared images are meaningless to you; you don't need to worry about them, and you can ignore that error. If, on the other hand, you wish to restrict who has access to what images, then you must use Keystone; Glance has no means of determining who you are and what permissions you may have unless you do.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-11-01 08:38:20 -0600

Seen: 70 times

Last updated: Nov 02 '11