[Openstack-operators] Horizon - domain-scoped token support

Adam Young ayoung at redhat.com
Wed May 13 13:33:36 UTC 2015


On 05/12/2015 05:43 AM, Olga Dodin wrote:
> Hi,
>
> For our OpenStack environment  (Juno + Ubuntu 12.04 ) I have 
> configured Identity service for multi-domain support(with keystone API 
> v3 and sample v3 policy file).
> Using domain-scoped token with CLI (openstack) I can access users and 
> projects belong to different domains.
> Horizon however can't use domain-scoped token and on "cloud_admin" 
>  login errors like "Unable to retrieve user/project/domain list" arise,
> I've tried to apply the patch 
> https://review.openstack.org/#/c/148082/to support domain-scoped 
> tokens in Horizon - checked out the Patch Set 63 code and copied the 
> files listed in the patch description accordingly.
>
> Now when I try to login to openstack dashboard getting message in 
> horizon_error.log:
>
> [error] /usr/local/lib/python2.7/dist-packages/pbr/version.py:25: 
> UserWarning: Module openstack_dashboard was already imported from 
> /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/__init__.pyc, 
> but /usr/lib/python2.7/dist-packages is being added to sys.path
>  [error]   import pkg_resources

is that the whole error message?  It seems like a path problem, possibly 
on how you applied the patch.

Did you run  python setup.py develop to get the change?

>
>
> Appreciate any help/advice on how to resolve this.
>
> Thanks,
>
> Olga Dodin
> Servers & Network group, IBM R&D Labs in Israel
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150513/596e875d/attachment.html>


More information about the OpenStack-operators mailing list