My /etc/keystone/keystone.conf says:<div><br></div><div><div>[catalog]</div><div>template_file = /etc/keystone/default_catalog.templates</div><div># dynamic, sql-based backend (supports API/CLI-based management commands)</div>
<div>driver = keystone.catalog.backends.templated.TemplatedCatalog</div><div><br></div><div>(This is the default from devstack).</div><div><br></div><div>I did look at that, but made the mistake of assuming the comment was correct and referred to the next line, especially since the next, commented out entry said it was the file-based one. My mistake I guess - I'll try the SQL one. </div>
<div><br></div><div>Shouldn't the API give a read-only view of the service catalog if CRUD operations are unavailable?<br><br><div class="gmail_quote">On Thu, May 3, 2012 at 4:32 PM, Rafael Durán Castañeda <span dir="ltr"><<a href="mailto:rafadurancastaneda@gmail.com" target="_blank">rafadurancastaneda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    On 05/03/2012 06:38 AM, Nick Lothian wrote:
    </div></div><blockquote type="cite"><div><div class="h5">I'm having some trouble using the Keystone API.
      <div><br>
      </div>
      <div>When I run </div>
      <div><br>
      </div>
      <div>
        <div>keystone --os_username=admin --os_password=password
          --os_auth_url=<a href="http://192.168.1.50:5000/v2.0/" target="_blank">http://192.168.1.50:5000/v2.0/</a>
          service-list</div>
      </div>
      <div><br>
      </div>
      <div>I get the following:</div>
      <div><br>
      </div>
      <div>
        <div>No handlers could be found for logger
          "keystoneclient.v2_0.client"</div>
        <div>Unable to communicate with identity service: 404 Not Found</div>
        <div><br>
        </div>
        <div>The resource could not be found.</div>
        <div><br>
        </div>
        <div>   . (HTTP 404)</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>The keystone log shows the following:</div>
      <div><br>
      </div>
      <div>
        <div>(eventlet.wsgi.server): 2012-05-03 14:03:12,840 DEBUG wsgi
          write 192.168.1.50 - - [03/May/2012 14:03:12] "GET
          /v2.0/OS-KSADM/services HTTP/1.1" 404 176 0.008028</div>
        <div><br>
        </div>
      </div>
      <div><br>
      </div>
      <div>Additionally, if I use curl to call the keystone API directly
        (as documented at <a href="http://keystone.openstack.org/api_curl_examples.html#id4" target="_blank">http://keystone.openstack.org/api_curl_examples.html#id4</a>)
        my whole serviceCatalog section is empty ("serviceCatalog": {})</div>
      <div><br>
      </div>
      <div>I am using a default devstack installation.</div>
      <div><br>
      </div>
      <div>What am I missing?</div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    I think DevStack is using TemplatedCatalog as catalog backend and it
    doesn't support CRUD. If you need CRUD operations you can use SQL
    backend.<br>
  </div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div>