[openstack-dev] [savanna] using keystone client

Jon Maron jmaron at hortonworks.com
Mon Oct 7 22:57:50 UTC 2013


Hi,

  I'm trying to use the keystone client code in savanna/utils/openstack but my attempt to sue it yield:

 'Api v2.0 endpoint not found in service identity'

  An code sample:

from savanna.utils.openstack import keystone

. . .
      service_id = next((service.id for service in
                       keystone.client().services.list()
                       if 'quantum' == service.name), None)

  Thanks for the help!

-- Jon


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.



More information about the OpenStack-dev mailing list