Contrail Cloud 3.0.2 Liberty Freshly installed : Instance fails to launch with error "Unauthorized: Unable to retrieve list of volumes"

Bug #1651810 reported by Himanshu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
New
Undecided
Unassigned

Bug Description

I am reporting this bug for tracking purpose since later versions of contrail do not have this problem. I was not able to find any existing bug for this issue. If there is a bug already filed feel free to link the bug to this one marking this bug as duplicate

- Freshly install Contrail Cloud 3.0.2 liberty , on Ubuntu 14.04.2. Contrail in a box.
- Upload any image in openstack and try to launch an instance. As soon as you click on launch an error is seen "Unauthorized: Unable to retrieve list of volumes"

The error seems to be because of the user defined in /etc/cinder/cinder.conf file. If you list openstack user you will see "cinderv2" listed whereas the cinder.conf file tries to use an undefined user "cinder" . I modified the file contents to fix the problem

FROM
[keystone_authtoken]
admin_tenant_name = service
admin_user = cinder
admin_password = contrail123
auth_protocol = http

TO

[keystone_authtoken]
auth_uri = http://10.85.29.8:5000/v2.0
identity_uri = http://10.85.29.8:35357
admin_tenant_name = service
admin_user = cinderv2
admin_password = contrail123
auth_protocol = http

Restart cinder services
/etc/init.d/cinder-scheduler restart
/etc/init.d/cinder-api restart

Tags: openstack
Himanshu (bhimanshu)
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.