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@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
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to