Fixes bug 1076831
Previously we passed these credentials to the ceilometer central
agent via the OS_* environment variables.
Since these credentials are now needed by the compute agent also,
and have already leaked into the config file to enable the keystone
auth token middleware, we now switch over to using the config file
only and drop the environment variable usage.
Change-Id: I0298d711905a99aa5355fe034bb0e51e53b3be21
Copy the policy.json file for ceilometer into place
and configure the API service to find it.
Create a service user for ceilometer when the service
is enabled.
Use the service user for the admin_user and admin_password
in the ceilometer config file so the middleware can
verify tokens.
Change-Id: I39be13da0c86704d35e0ce3dc3d27fd38d787058
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Correct the use of NOVA_CONF to find the source file
for the ceilometer configuration files.
Set up notifications and RPC to use the classes from
ceilometer.openstack.common instead of nova.openstack.common.
Run the ceilometer compute agent under "sg libvirtd"
so it has permission to talk to libvirt.
Change-Id: I75b2e563d654f4f89b182e146e54572618f25261
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Some changes are required so that ceilometer can gather usage data
from glance (notification & polling) out-of-the-box in devstack:
- configure glance to emit notifications if rabbitmq or qpid
is enabled
- configure the ceilometer collector to consume notifications
on the default glance topic (glance_notifications.*)
- pass credentials to ceilometer central agent so that it
authtenticate polling calls to glance
Change-Id: I0eac223eddb615266e28447b18fcaaadcd40dddf
Fix the test run before the ceilometer configuration
directory is created so that the dir is made if
it does not exist.
Change-Id: I2d6acd4fe7959f976ce99582aed69a49fc3f212e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Set VERBOSE=False to turn off the noise of stack.sh output. All
output still is written to the logfile if LOGFILE is set.
Rebased
Change-Id: I316bc4d68c997ec907a48e720e2f7778428d935b
unable to use ubuntu repos(apt) since they were having previous
Flask version. Adding it in files/pips/ceilometer-api
Change-Id: Ia397468eacd3cd2b4233617e1ffeb763ac207478
If console scripts are generated via entry-points, they will go into
/usr/local/bin on python setup.py develop and they will not be found in
/opt/stack/$PROJECT/bin any more. This patch supports a transition to
entry-points console scripts, but should still allow the old thing too.
Change-Id: I816f5f796ad00ac55a8352743ba01723df140072