Ask Your Question

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

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

Pío Pío 1949 gravatar image

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

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= 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

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

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


Thanks a lot! That's it. :D

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-05-20 10:55:05 -0600

Seen: 625 times

Last updated: May 21 '13