<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m also getting the same error on latest master branch (updated today)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Using setup created by devstack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Mandar<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> openstack-bounces+mandar.vaze=vertex.co.in@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=vertex.co.in@lists.launchpad.net] <b>On Behalf Of </b>.?o 0 O??<br><b>Sent:</b> Monday, March 26, 2012 12:45 PM<br><b>To:</b> Pierre Amadio<br><b>Cc:</b> openstack<br><b>Subject:</b> Re: [Openstack] is this a bug in milestone-proposed keystone ? (cannotget endpoint-list, nor create endpoint)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>hi,<br><br>I don't know if it is a bug but I come across the same problem and wondering how to solve it.<o:p></o:p></p><div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:black'>------------------ Original ------------------<o:p></o:p></span></p></div><div><div id="menu_sender"><p class=MsoNormal style='background:#EFEFEF'><b><span style='font-size:9.0pt;color:black'>From: </span></b><span style='font-size:9.0pt;color:black'> "Pierre Amadio"<pierre.amadio@canonical.com>;<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#EFEFEF'><b><span style='font-size:9.0pt;color:black'>Date: </span></b><span style='font-size:9.0pt;color:black'> Sun, Mar 25, 2012 04:35 AM<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#EFEFEF'><b><span style='font-size:9.0pt;color:black'>To: </span></b><span style='font-size:9.0pt;color:black'> "openstack"<openstack@lists.launchpad.net>; <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#EFEFEF'><b><span style='font-size:9.0pt;color:black'>Subject: </span></b><span style='font-size:9.0pt;color:black'> [Openstack] is this a bug in milestone-proposed keystone ? (cannotget endpoint-list, nor create endpoint)<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='color:black'> <o:p></o:p></span></p></div><p class=MsoNormal><span style='color:black'>Hi there !<br><br>I wanted to give a try to the milestone-proposed branch of keystone and<br>got stuck quite fast.<br><br>I am not sure if i hit a bug and should report it, or if i'm doing<br>something wrong.<br><br>With previous version of keystone (read packaged on ubuntu precise), i<br>was able to create endpoint the following way once keystone has been<br>installed:<br><br>1) setting some env variables:<br>export KEYSTONE_IP=192.168.122.102 # IP of your keystone API server<br>export SERVICE_ENDPOINT=http://$KEYSTONE_IP:35357/v2.0/<br>export SERVICE_TOKEN=999888777666<br>export NOVA_PUBLIC_URL="http://$NOVA_IP:8774/v1.1/%(tenant_id)s"<br>export NOVA_ADMIN_URL=$NOVA_PUBLIC_URL<br>export NOVA_INTERNAL_URL=$NOVA_PUBLIC_URL<br><br>2) creating services:<br>keystone service-create --name nova --type compute --description<br>'OpenStack Compute Service'<br><br>keystone service-create --name swift --type object-store --description<br>'OpenStack Storage Service'<br><br>keystone service-create --name glance --type image --description<br>'OpenStack Image Service'<br><br>keystone service-create --name keystone --type identity --description<br>'OpenStack Identity Service'<br><br>3) creating an endpoint for those services, starting with the compute<br>service:<br><br>ID=$(keystone service-list | grep -i compute | awk '{print $2}')<br><br><br>keystone endpoint-create --region RegionOne --service_id $ID --publicurl<br>$NOVA_PUBLIC_URL --adminurl $NOVA_ADMIN_URL --internalurl $NOVA_INTERNAL_URL<br><br>When i run this command with milestone-proposed, i experience the following:<br><br>No handlers could be found for logger "keystoneclient.client"<br>The action you have requested has not been implemented. (HTTP 501)<br><br><br>Strangely enough, i experience a similar error message when running a<br>simple "keystone endpoint-list" whereas command such as "keystone<br>user-list" works all right.<br><br><br>here is what i have in the keystone logs when trying "endpoint-list":<br><br>2012-03-24 20:30:09    DEBUG [routes.middleware] Matched GET /endpoints<br>2012-03-24 20:30:09    DEBUG [routes.middleware] Route path:<br>'{path_info:.*}', defaults: {'controller':<br><keystone.contrib.admin_crud.core.CrudExtension object at 0x2b215d0>}<br>2012-03-24 20:30:09    DEBUG [routes.middleware] Match dict:<br>{'controller': <keystone.contrib.admin_crud.core.CrudExtension object at<br>0x2b215d0>, 'path_info': '/endpoints'}<br>2012-03-24 20:30:09    DEBUG [routes.middleware] Matched GET /endpoints<br>2012-03-24 20:30:09    DEBUG [routes.middleware] Route path:<br>'/endpoints', defaults: {'action': u'get_endpoints', 'controller':<br><keystone.catalog.core.EndpointController object at 0x2b21210>}<br>2012-03-24 20:30:09    DEBUG [routes.middleware] Match dict: {'action':<br>u'get_endpoints', 'controller':<br><keystone.catalog.core.EndpointController object at 0x2b21210>}<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi] arg_dict: {}<br>2012-03-24 20:30:09  WARNING [keystone.common.wsgi] The action you have<br>requested has not been implemented.<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi] ********************<br>RESPONSE HEADERS ********************<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi] Content-Type =<br>application/json<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi] Vary = X-Auth-Token<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi] Content-Length = 109<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi]<br>2012-03-24 20:30:09    DEBUG [keystone.common.wsgi] ********************<br>RESPONSE BODY ********************<br><br><br>I try to add some debug in<br>keystone.catalog.core.EndpointController.get_endpoints() method:<br><br>    def get_endpoints(self, context):<br>        LOG.debug("PLOP get_endpoints")<br>        self.assert_admin(context)<br>        LOG.debug("PLOP STILL HERE")      # <= LAST DEBUG LINE<br>        endpoint_list = self.catalog_api.list_endpoints(context)<br>        LOG.debug("SO, how does endpoint_list looks like ?")<br>        for i in endpoint_list:<br>            LOG.debug("PLOP: '%s'",s)<br>        endpoint_refs = [self.catalog_api.get_endpoint(context, e)<br>                         for e in endpoint_list]<br>        LOG.debug("PLOP THIS IS THE END")<br>        return {'endpoints': endpoint_refs}<br><br>So, as i do not see anything after "PLOP STILL HERE", i am assuming<br>something is wrong in the catalog_api.list_endpoints() method.<br><br>However, i do not understand exactly where it is implemented.<br>catalog_api is a Manager instance, wich seems to be a subclass of<br>Manager() defined in keystone/keystone/common/manager.py but i am lost<br>with the wrapping magic that occurs there.<br><br>So, is this a bug that i should file ?<br><br><br><br><br><br><br>_______________________________________________<br>Mailing list: https://launchpad.net/‾openstack<br>Post to     : openstack@lists.launchpad.net<br>Unsubscribe : https://launchpad.net/‾openstack<br>More help   : https://help.launchpad.net/ListHelp<o:p></o:p></span></p></div></div></div></body></html>