Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to authentiate through keystone


I am trying to setup a cinder volume service to be authenticated using keystone running on another vm. I am facing the issue of non-authentication as follows:

stack@openstack4:~/devstack$ cinder --os-username cinder --os-password password --os-tenant-name service list
ERROR: Unauthorized (HTTP 401)

This is the steps followed:

A. In the vm where Keystone is running:

1. keystone user-create --name=cinder --pass=password  --tenant service
2. keystone user-role-add --user=cinder --tenant=service --role=admin
3. keystone service-create --name=cinder --type=volume --description="OpenStack Block Storage"
4. keystone endpoint-create --service cinder --publicurl\(tenant_id\)s  --internalurl\(tenant_id\)s --adminurl\(tenant_id\)s
5. keystone service-create --name=cinderv2 --type=volumev2 --description="OpenStack Block Storage v2"
6. keystone endpoint-create --service cinderv2 --publicurl\(tenant_id\)s  --internalurl\(tenant_id\)s --adminurl\(tenant_id\)s

B. In the vm where Cinder is running:

  1. Changes in the cinder.conf
signing_dir = /var/cache/cinder
cafile = /opt/stack/data/ca-bundle.pem
auth_uri =
project_domain_id = default
project_name = service
user_domain_id = default
password = password
username = cinder
auth_url =
auth_plugin = password
  1. Restart all the cinder services.

Can anyone please point me what thing I am missing here?

Thanks, Pradip