[openstack-dev] [Ceilometer]How to change Keystone properties

Adam Young ayoung at redhat.com
Wed Jun 26 20:25:54 UTC 2013


On 06/26/2013 03:41 PM, Pendergrass, Eric wrote:
>
> I've been editing /etc/ceilometer/ceilometer.conf trying to change the 
> keystone provider:
>
> [keystone]
>
> auth_host=<some host>
>
> auth_port=35357
>
> auth_protocol=https
>
> auth_uri=https://<some host>:35357
>
> admin_user=<user>
>
> admin_password=<some password>
>
> Tracing throught auth_token.py, I see none of the configuration info 
> is picked up:
>
> 257             def __init__(self, app, conf):
>
> 258                 pdb.set_trace()
>
> 259                 self.LOG = logging.getLogger(conf.get('log_name', 
> __name__))
>
> 260  -> self.LOG.info('Starting keystone auth_token middleware')
>
> 261                 self.conf = conf
>
> 262                 self.app = app
>
> 263
>
> 264                 # delay_auth_decision means we still allow 
> unauthenticated requests
>
> 265                 # through and we let the downstream service make 
> the final decision
>
> (Pdb) p conf
>
> {'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}
>
> I assumed the configuration would be within a [keystone] section in 
> ceilometer.conf.  Have not found much documentation about this.  Am I 
> missing something?
>
> Thanks
>
> Eric
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Is this what you are looking for?
https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/middleware/auth_token.py#L182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130626/bd708cfa/attachment-0001.html>


More information about the OpenStack-dev mailing list