<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/26/2013 03:41 PM, Pendergrass,
Eric wrote:<br>
</div>
<blockquote
cite="mid:C6171E2331108F4EBD0E92AB5A04CD87541B4385@G4W3300.americas.hpqcorp.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.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]-->
<div class="WordSection1">
<p class="MsoNormal">I’ve been editing
/etc/ceilometer/ceilometer.conf trying to change the keystone
provider:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[keystone]<o:p></o:p></p>
<p class="MsoNormal">auth_host=<some host><o:p></o:p></p>
<p class="MsoNormal">auth_port=35357<o:p></o:p></p>
<p class="MsoNormal">auth_protocol=https<o:p></o:p></p>
<p class="MsoNormal">auth_uri=<a class="moz-txt-link-freetext" href="https://">https://</a><some host>:35357<o:p></o:p></p>
<p class="MsoNormal">admin_user=<user><o:p></o:p></p>
<p class="MsoNormal">admin_password=<some password><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Tracing throught auth_token.py, I see none
of the configuration info is picked up:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">257 def __init__(self, app,
conf):<o:p></o:p></p>
<p class="MsoNormal">258 pdb.set_trace()<o:p></o:p></p>
<p class="MsoNormal">259 self.LOG =
logging.getLogger(conf.get('log_name', __name__))<o:p></o:p></p>
<p class="MsoNormal">260 ->
self.LOG.info('Starting keystone auth_token middleware')<o:p></o:p></p>
<p class="MsoNormal">261 self.conf = conf<o:p></o:p></p>
<p class="MsoNormal">262 self.app = app<o:p></o:p></p>
<p class="MsoNormal">263 <o:p></o:p></p>
<p class="MsoNormal">264 # delay_auth_decision
means we still allow unauthenticated requests<o:p></o:p></p>
<p class="MsoNormal">265 # through and we let
the downstream service make the final decision<o:p></o:p></p>
<p class="MsoNormal">(Pdb) p conf<o:p></o:p></p>
<p class="MsoNormal">{'memcache_secret_key': None,
'auth_protocol': 'https', 'admin_user': None, 'admin_token':
None, 'http_handler': None, 'signing_dir':
'/root/keystone-signing', 'auth_uri': None,
'auth_admin_prefix': '', 'memcache_security_strategy': None,
'admin_tenant_name': 'admin', 'auth_port': 35357,
'memcache_servers': None, 'delay_auth_decision': False,
'cache': None, 'auth_version': None, 'token_cache_time': 300,
'admin_password': None, 'auth_host': '127.0.0.1', 'certfile':
None, 'http_connect_timeout': None, 'keyfile': None}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I assumed the configuration would be within
a [keystone] section in ceilometer.conf. Have not found much
documentation about this. Am I missing something?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Eric<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</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>
Is this what you are looking for?<br>
<a class="moz-txt-link-freetext" href="https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/middleware/auth_token.py#L182">https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/middleware/auth_token.py#L182</a><br>
</body>
</html>