Ask Your Question
0

What causes "Invalid project" with glance image-create?

asked 2013-05-20 10:55:05 -0500

Pío Pío 1949 gravatar image

updated 2013-05-21 00:42:06 -0500

smaffulli gravatar image

Hi! I'm trying to add images to a DevStack installation. I want to add four images, but I always get this message:

Invalid project (HTTP 401)

This is what I'm trying to execute:

glance --os-username admin --os-password devstack --os-tenant-id admin --os-auth-url=http://193.146.91.13:5000/v2.0/ image-create --name="Windows Server 2012" --is-public=true --container-format=ovf --disk-format=raw < windows.img
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-05-21 17:08:49 -0500

annegentle gravatar image

When you use --os-tenant-id, enter the tenant's ID rather than a name, or use --os-tenant-name rather than --os-tenant-id. Project and tenant have the same meaning in an OpenStack context for historical reasons.

I believe keystone tenant-list will give you a listing with IDs.

edit flag offensive delete link more

Comments

Thanks a lot! That's it. :D

Pío Pío 1949 gravatar imagePío Pío 1949 ( 2013-05-22 07:48:02 -0500 )edit

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: 2013-05-20 10:55:05 -0500

Seen: 573 times

Last updated: May 21 '13