From 1bc3a505ffa13c64b6f9c1a27841d41d3ce1896a Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sun, 19 Jan 2014 00:13:20 -0500 Subject: glance: add ceilometer configuration We change the notification channel to rabbit in order to send statistics for ceilometer use. Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-glance_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-glance_git.bb') diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb index 8e26d22..e6406b8 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_git.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb @@ -35,6 +35,10 @@ do_install_append() { sed -e "s:^filesystem_store_datadir =.*:filesystem_store_datadir = ${sysconfdir}/${SRCNAME}/images/:g" \ -i ${WORKDIR}/glance-api.conf + # send samples to rabbitmq for ceilometer integration + sed -e "s:^notifier_strategy = noop:notifier_strategy = rabbit:g" \ + -i ${WORKDIR}/glance-api.conf + install -d ${GLANCE_CONF_DIR} install -m 600 ${WORKDIR}/glance-registry.conf ${GLANCE_CONF_DIR}/ install -m 600 ${WORKDIR}/glance-api.conf ${GLANCE_CONF_DIR}/ -- cgit v1.2.3-54-g00ecf