get_client is not called with trust_id in ceilometer. If trust_id was passed, the behaviour is not as expected. trust_id gets passed to keystoneclient along with a session. When keystoneclient is created with trust_id and a session, the trust_id param is set as a property and not used until authenticate() is called (which we don't do explicitly, and we don't have an expired session/token that would trigger this) The expected behaviour is that keystoneclient would be trust-scoped from the beginning. The trust_id is set in conf, and this gets consumed in the get_session() call, which creates the session from the values in conf. There's no need to have trust_id passed into the get_client method, since the session is always constructed and carries the trust_id. This keeps the concerns of authentication (keystoneauth) and resource retrieval (keystoneclient) separate. Change-Id: I94d6a1ed9b9549203e90bedb1061e164eb1b03c0 Signed-off-by: Emma Foley <efoley@redhat.com>
Ceilometer
Overview
Ceilometer is a data collection service that collects event and metering data by monitoring notifications sent from OpenStack services. It publishes collected data to various targets including data stores and message queues.
Ceilometer is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.
Documentation
Release notes are available at https://releases.openstack.org/teams/telemetry.html
Developer documentation is available at https://docs.openstack.org/ceilometer/latest/
Launchpad Projects
- Server: https://launchpad.net/ceilometer
Code Repository
Bug Tracking
Release Notes
IRC
IRC Channel: #openstack-telemetry on OFTC.
Mailinglist
Project use http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
as the mailinglist. Please use tag [Ceilometer] in the
subject for new threads.