<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/12/2015 05:43 AM, Olga Dodin
      wrote:<br>
    </div>
    <blockquote
cite="mid:OFC7CF8178.D817A493-ONC2257E43.0032FD46-C2257E43.00356C20@il.ibm.com"
      type="cite"><font face="sans-serif" size="2">Hi,</font>
      <br>
      <br>
      <font face="sans-serif" size="2">For our OpenStack environment
         (Juno
        + Ubuntu 12.04 ) I have configured Identity service for
        multi-domain support</font><font face="Default Sans Serif"
        size="2">
        (with keystone API v3 and sample v3 policy file).</font><font
        face="sans-serif" size="2">
      </font>
      <br>
      <font face="sans-serif" size="2">Using domain-scoped token with
        CLI (openstack)
        I can access users and projects belong to different domains.</font>
      <br>
      <font face="sans-serif" size="2">Horizon however can't use
        domain-scoped
        token and on "cloud_admin"  login errors like "Unable
        to retrieve user/project/domain list" arise, </font>
      <br>
      <font face="sans-serif" size="2">I've tried to apply the patch </font><a
        moz-do-not-send="true"
        href="https://review.openstack.org/#/c/148082/"><font
          color="blue" face="sans-serif" size="2">https://review.openstack.org/#/c/148082/</font></a><font
        face="sans-serif" size="2">
         </font><font face="Default Sans Serif" size="2">to support
        domain-scoped
        tokens in Horizon - </font><font face="sans-serif" size="2">checked
        out the
        Patch Set 63 code and copied the files listed in the patch
        description
        accordingly.</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Now when I try to login to
        openstack
        dashboard getting message in horizon_error.log:</font>
      <br>
      <br>
      <font face="sans-serif" size="2">[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</font>
      <br>
      <font face="sans-serif" size="2"> [error]   import pkg_resources</font></blockquote>
    <br>
    is that the whole error message?  It seems like a path problem,
    possibly on how you applied the patch.<br>
    <br>
    Did you run  python setup.py develop to get the change?<br>
    <br>
    <blockquote
cite="mid:OFC7CF8178.D817A493-ONC2257E43.0032FD46-C2257E43.00356C20@il.ibm.com"
      type="cite">
      <br>
      <br>
      <font face="sans-serif" size="2">Appreciate any help/advice on how
        to
        resolve this.<br>
        <br>
        Thanks, </font>
      <br>
      <br>
      <font face="sans-serif" size="2">Olga Dodin<br>
        Servers & Network group, IBM R&D Labs in Israel<br>
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-operators mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>