Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Please let me know how to grant the nova user the admin role in keystone.I I haven't added the service tenant in the end of the api-paste.ini file.Here I have copied the end portion of api-paste.ini file.

[filter:keystonecontext] paste.filter_factory = keystone.middleware.nova_keystone_context:NovaKeystoneContext.factory

[filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_protocol = http service_host = XX.XX.XX.XX service_port = 35357 auth_host = XX.XX.XX.XX auth_port = 5000 auth_protocol = http auth_uri = http://XX.XX.XX.XX:5000/v2.0/ admin_token = 77da154a-53ee-4479-b805-6bd08f227eb2

But the nova user,password and tenant detail present in the environment variable.Here is the environment variable set for this. NOVA_USERNAME=adminUser NOVA_PROJECT_ID=openstackDemo NOVA_PASSWORD=secretword NOVA_API_KEY=secretword NOVA_URL=http://XX.XX.XX.XX:5000/v2.0/ NOVA_VERSION=1.1 NOVA_REGION_NAME=RegionOne OS_AUTH_USER=adminUser OS_AUTH_KEY=secretword OS_AUTH_TENANT=openstackDemo OS_AUTH_URL=http://XX.XX.XX.XX:5000/v2.0/ OS_AUTH_STRATEGY=keystone