<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body>
    Devdatta, Thanks for creating the bug. We should get this fixed. It
    was opened in the upgrade to 1.x.x.<br>
    <br>
    Steve, my guess is that the context is being used to delegate the
    token to glanceclient and then glance. We have this awkwardness with
    other openstack services and is cause of much issue for some
    operations. <br>
    <br>
    I am not sure what's the best way Solum should adopt as there seem
    to be tradeoffs with each approach. In this case however, we should
    try to fix this for the next release of client.<br>
    <br>
    <div class="moz-cite-prefix">On 9/24/15 10:01 PM, Steve Martinelli
      wrote:<br>
    </div>
    <blockquote
cite="mid:OF69663DD6.8D614D95-ON00257ECB.000A7F24-85257ECB.000B1FB4@notes.na.collabserv.com"
      type="cite">
      <p>I can't speak to the glance client changes, but this seems like
        an awkward design.<br>
        <br>
        If you don't know the end user's name and password, then how are
        you getting the token? Is it the admin token? Why not create a
        service account and use keystonemiddleware?<br>
        <br>
        Thanks,<br>
        <br>
        Steve Martinelli<br>
        OpenStack Keystone Core<br>
        <br>
        <img src="cid:part1.08030409.03060606@gmail.com" alt="Inactive
          hide details for Devdatta Kulkarni ---2015/09/24 06:44:57
          PM---Hi, Glance team, In Solum, we use Glance to store Docke"
          height="16" border="0" width="16"><font color="#424282">Devdatta
          Kulkarni ---2015/09/24 06:44:57 PM---Hi, Glance team, In
          Solum, we use Glance to store Docker images that we create for
          applications. We</font><br>
        <br>
        <font color="#5F5F5F" size="2">From: </font><font size="2">Devdatta
          Kulkarni <a class="moz-txt-link-rfc2396E" href="mailto:devdatta.kulkarni@RACKSPACE.COM"><devdatta.kulkarni@RACKSPACE.COM></a></font><br>
        <font color="#5F5F5F" size="2">To: </font><font size="2">"OpenStack
          Development Mailing List (not for usage questions)"
          <a class="moz-txt-link-rfc2396E" href="mailto:openstack-dev@lists.openstack.org"><openstack-dev@lists.openstack.org></a></font><br>
        <font color="#5F5F5F" size="2">Date: </font><font size="2">2015/09/24
          06:44 PM</font><br>
        <font color="#5F5F5F" size="2">Subject: </font><font size="2">[openstack-dev]
          [Glance][Solum] Using os-auth-token and os-image-url with
          glance client</font><br>
      </p>
      <hr style="color:#8091A5; " align="left" noshade="noshade"
        size="2" width="100%"><br>
      <br>
      <br>
      <font face="Calibri" size="4">Hi, Glance team,</font><br>
      <br>
      <font face="Calibri" size="4">In Solum, we use Glance to store
        Docker images that we create for applications. We use Glance
        client internally to upload these images. Till recently, 'glance
        image-create' with only token has been</font><br>
      <font face="Calibri" size="4">working for us (in devstack). Today,
        I started noticing that glance image-create with just token is
        not working anymore. It is also not working when os-auth-token
        and os-image-url are passed in. According to documentation (</font><a
        moz-do-not-send="true"
        href="http://docs.openstack.org/developer/python-glanceclient/"><u><font
            face="Calibri" color="#0000FF" size="4"><a class="moz-txt-link-freetext" href="http://docs.openstack.org/developer/python-glan">http://docs.openstack.org/developer/python-glan</a></font></u><u><font
            face="Calibri" color="#0000FF" size="4">ceclient/</font></u></a><font
        face="Calibri" size="4">), passing token and image-url should
        work. The client, which I have installed from master, is asking
        username (and password, if username is specified).</font><br>
      <br>
      <font face="Calibri" size="4">Solum does not have access to
        end-user's password. So we need the ability to interact with
        Glance without providing password, as it has been working till
        recently.</font><br>
      <br>
      <font face="Calibri" size="4">I investigated the issue a bit and
        have filed a bug with my findings.</font><br>
      <a moz-do-not-send="true"
        href="https://bugs.launchpad.net/python-glanceclient/+bug/1499540"><u><font
            face="Calibri" color="#0000FF" size="4">https://bugs.launchpad.net/python-glanceclient/+bug/1499540</font></u></a><br>
      <br>
      <font face="Calibri" size="4">Can someone help with resolving this
        issue.</font><br>
      <br>
      <font face="Calibri" size="4">Regards,</font><br>
      <font face="Calibri" size="4">Devdatta</font><tt>__________________________________________________________________________<br>
        OpenStack Development Mailing List (not for usage questions)<br>
        Unsubscribe:
        <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
      </tt><tt><a moz-do-not-send="true"
          href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt><br>
      </tt><br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 

Thanks,
Nikhil</pre>
  </body>
</html>