Ask Your Question
0

create a tenant in openstack mitaka

asked 2017-06-24 07:00:38 -0600

hanane gravatar image

plz how to create a tenant in openstack mitaka? i didn't succeed to do it

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-06-24 08:55:10 -0600

Bernd Bausch gravatar image

openstack project create NAME_OF_NEW_PROJECT. The terms project and tenant are interchangeable; the correct term is project; tenant is outdated.

edit flag offensive delete link more
1

answered 2017-06-24 11:23:31 -0600

Can you write which command you used to create the tenant.

edit flag offensive delete link more

Comments

keystone tenant-create --name=admin

hanane gravatar imagehanane ( 2017-06-24 14:04:58 -0600 )edit

Any errror message?

The keystone command only works with Identity API version 2. What versions are enabled in the cloud, and what are the values of the variables in your RC file?

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-24 17:20:27 -0600 )edit

here is the result of my command in the link : [http://textuploader.com/d0yx2] and my rc file : http://textuploader.com/d0yxn

hanane gravatar imagehanane ( 2017-06-24 18:15:13 -0600 )edit

Your RC file selects version 3 OS_AUTH_URL=http://controller:35357/v3 and OS_IDENTITY_API_VERSION=3. Which the keystone client can't handle.

Try the openstack client. The default domain should exist already.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-24 20:53:36 -0600 )edit

Perhaps you only have version 2 enabled in the cloud. You can check that with

curl http://controller:35357

The (not very readable) output tells you if version 2 or 3 or both are configured.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-24 21:01:34 -0600 )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: 2017-06-24 07:00:38 -0600

Seen: 53 times

Last updated: Jun 24