Unable to authentiate through keystone [closed]
Hello,
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 http://192.168.10.14:8776/v1/%\(tenant_id\)s --internalurl http://192.168.10.14:8776/v1/%\(tenant_id\)s --adminurl http://192.168.10.14:8776/v1/%\(tenant_id\)s 5. keystone service-create --name=cinderv2 --type=volumev2 --description="OpenStack Block Storage v2" 6. keystone endpoint-create --service cinderv2 --publicurl http://192.168.10.14:8776/v2/%\(tenant_id\)s --internalurl http://192.168.10.14:8776/v2/%\(tenant_id\)s --adminurl http://192.168.10.14:8776/v2/%\(tenant_id\)s
B. In the vm where Cinder is running:
- Changes in the cinder.conf
[keystone_authtoken] signing_dir = /var/cache/cinder cafile = /opt/stack/data/ca-bundle.pem auth_uri = http://192.168.10.12:5000 project_domain_id = default project_name = service user_domain_id = default password = password username = cinder auth_url = http://192.168.10.12:35357 auth_plugin = password
- Restart all the cinder services.
Can anyone please point me what thing I am missing here?
Thanks, Pradip