Installation guide for trove on openstack site is confusing

asked 2015-09-15 02:58:23 -0600

sparrow gravatar image

I am trying to configure trove service in my openstack environment. I am using kilo version with four nodes as controller, compute, network and block storage cinder. Openstack is working fine and able to launch the vms. I am following the manual installation guide from (openstack) . But it is confusing as it is asking to create the tenant but in openstack kilo there is no concept of tenant. So can anyone please help me in figuring this out?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-15 08:52:26 -0600

dbaxps gravatar image

updated 2015-09-15 08:56:47 -0600

Looks like I can follow
Check version

[root@CentOS71Server ~(keystone_admin)]# nova-manage --version


[root@CentOS71Server ~(keystone_admin)]# python

Python 2.7.5 (default, Jun 24 2015, 00:41:19) 
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from keystoneclient.v2_0 import client
>>> token = '5ba0de10b58b46bc894f9b8551fb8f98'
>>> endpoint = ''
>>> keystone = client.Client(token=token, endpoint=endpoint)
>>> keystone.tenants.create(tenant_name="openstackDemo",description="Default Tenant", enabled=True)
<Tenant {u'enabled': True, u'description': u'Default Tenant', u'name': u'openstackDemo', u'id': u'7ffe39ed07204177a0b3eb4e7d589f07'}>
>>> keystone.tenants.list()
[<Tenant {u'enabled': True, u'description': u'admin tenant', u'name': u'admin', u'id': u'2c8e807896ef4b5cbe0cb5ec0fae0ba1'}>, <Tenant {u'enabled': True, u'description': None, u'name': u'ostenant', u'id': u'579c853f2ed346289ce43438bf8ddc6c'}>, <Tenant {u'enabled': True, u'description': u'default tenant', u'name': u'demo', u'id': u'63286df4fc914e68b5936822483ebd8f'}>, <Tenant {u'enabled': True, u'description': u'Default Tenant', u'name': u'openstackDemo', u'id': u'7ffe39ed07204177a0b3eb4e7d589f07'}>, <Tenant {u'enabled': True, u'description': u'Tenant for the openstack services', u'name': u'services', u'id': u'9f426ac65e4b4f15b3cec57d9c229a20'}>]

Verify using CLI

[root@CentOS71Server ~(keystone_admin)]# keystone tenant-list
/usr/lib/python2.7/site-packages/keystoneclient/ DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
|                id                |      name     | enabled |
| 2c8e807896ef4b5cbe0cb5ec0fae0ba1 |     admin     |   True  |
| 63286df4fc914e68b5936822483ebd8f |      demo     |   True  |
| 7ffe39ed07204177a0b3eb4e7d589f07 | openstackDemo |   True  |
| 579c853f2ed346289ce43438bf8ddc6c |    ostenant   |   True  |
| 9f426ac65e4b4f15b3cec57d9c229a20 |    services   |   True  |

Value for token is from /etc/keystone/keystone.conf

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-15 02:58:23 -0600

Seen: 154 times

Last updated: Sep 15 '15