<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey Kevin-<br>
    <br>
    Some stuff in-line<br>
    <br>
    On 03/08/2012 06:08 AM, Kevin Jackson wrote:
    <blockquote
cite="mid:CACbLkc=ViR1MfrJ7i5B=7-Q-sSKtPHXhLo11O7-VS8z6wTumeQ@mail.gmail.com"
      type="cite">Dear all,
      <div>I've just installed Ubuntu 12.04 B1 with OpenStack from the
        Ubuntu repos.</div>
      <div><br>
      </div>
      <div>I've set up keystone as per: <a moz-do-not-send="true"
href="https://github.com/uksysadmin/OpenStackInstaller/blob/essex/keystone-services.sh">https://github.com/uksysadmin/OpenStackInstaller/blob/essex/keystone-services.sh</a>
        (which I based on the <a moz-do-not-send="true"
          href="http://keystone.openstack.org">keystone.openstack.org</a>
        docs)</div>
    </blockquote>
    <br>
    Thanks for the handy script!<br>
    <br>
    <blockquote
cite="mid:CACbLkc=ViR1MfrJ7i5B=7-Q-sSKtPHXhLo11O7-VS8z6wTumeQ@mail.gmail.com"
      type="cite">
      <div>
        <br>
      </div>
      <div>I have raised a bug under Keystone (though more than likely
        this could be a Ubuntu specific bug from this version), but
        reading on the mailing list, hints that others have gotten
        further perhaps.</div>
    </blockquote>
    <br>
    Bug #?<br>
    <br>
    <blockquote
cite="mid:CACbLkc=ViR1MfrJ7i5B=7-Q-sSKtPHXhLo11O7-VS8z6wTumeQ@mail.gmail.com"
      type="cite">
      <div>
        <br>
      </div>
      <div>On setting up my environment vars (SERVICE_ENDPOINT,
        SERVICE_TOKEN) and trying --username and --password based auth
        to keystone I can view my endpoints, list users, roles, etc.</div>
    </blockquote>
    <br>
    I think you're confusing the two sets of credentials.  Currently,
    SERVICE_ENDPOINT + SERVICE_TOKEN are used to run admin commands
    against keystone (user-list, endpoint-create, etc)  With these set,
    all commands are run in admin context against the admin URL
    (ks_host:35357/v2.0/)  User-level commands (catalog, token-get,
    discover, etc) require regular user credentials passed and auth_url
    set to the :5000/v2.0/ URL.  I believe the SERVICE_ENDPOINT +
    SERVICE_TOKEN environment variables override user-level credentials
    in keystone client, so if you're setting both you'll be hitting the
    admin URL which does not support the user-level stuff.<br>
    <br>
    I used your script to bootstrap a fresh keystone and things worked
    as expected as long as the two user environments are kept isolated.<br>
    <br>
    HTH,<br>
    Adam<br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:CACbLkc=ViR1MfrJ7i5B=7-Q-sSKtPHXhLo11O7-VS8z6wTumeQ@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>On trying to do the following I get problems:</div>
      <div><br>
      </div>
      <div>$ keystone discover</div>
      <div>
        <div>root@openstack2:/etc/keystone# keystone discover</div>
        <div>No handlers could be found for logger
          "keystoneclient.client"</div>
        <div>No Keystone-compatible endpoint found</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>root@openstack2:/etc/keystone# keystone token-get</div>
        <div>'Client' object has no attribute 'service_catalog'</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>root@openstack2:/etc/keystone# keystone catalog</div>
        <div>'Client' object has no attribute 'service_catalog'</div>
      </div>
      <div><br>
      </div>
      <div>Any pointers in what I've done wrong will be super.</div>
      <div><br>
      </div>
      <div>Cheers,</div>
      <div><br>
      </div>
      <div>Kev</div>
      <div>-- <br>
        Kevin Jackson<br>
        @itarchitectkev<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>