diff --git a/compose/ceilometer.yml b/compose/ceilometer.yml new file mode 100644 index 0000000000..dac86495b3 --- /dev/null +++ b/compose/ceilometer.yml @@ -0,0 +1,39 @@ +ceilometerapi: + image: kollaglue/centos-rdo-ceilometer-api:latest + name: ceilometer-api + net: "host" + restart: always + env_file: + - openstack.env + +ceilometercentral: + image: kollaglue/centos-rdo-ceilometer-central:latest + name: ceilometer-central + net: "host" + restart: always + env_file: + - openstack.env + +ceilometeralarm: + image: kollaglue/centos-rdo-ceilometer-alarm:latest + name: ceilometer-alarm + net: "host" + restart: always + env_file: + - openstack.env + +ceilometercollector: + image: kollaglue/centos-rdo-ceilometer-collector:latest + name: ceilometer-collector + net: "host" + restart: always + env_file: + - openstack.env + +ceilometernotification: + image: kollaglue/centos-rdo-ceilometer-notification:latest + name: ceilometer-notification + net: "host" + restart: always + env_file: + - openstack.env diff --git a/docker/common/ceilometer/ceilometer-base/config-ceilometer.sh b/docker/common/ceilometer/ceilometer-base/config-ceilometer.sh index a2316dcd1d..4161e48df6 100644 --- a/docker/common/ceilometer/ceilometer-base/config-ceilometer.sh +++ b/docker/common/ceilometer/ceilometer-base/config-ceilometer.sh @@ -13,7 +13,7 @@ set -e : ${RABBIT_PASSWORD:=guest} check_required_vars KEYSTONE_ADMIN_TOKEN KEYSTONE_ADMIN_SERVICE_HOST \ - KEYSTONE_ADMIN_SERVICE_PORT KEYSTONE_PUBLIC_SERVICE_HOST \ + KEYSTONE_ADMIN_SERVICE_PORT KEYSTONE_PUBLIC_SERVICE_HOST dump_vars cat > /openrc < - Initialize or update the cinder db KEEPALIVED_HOST_PRIORITIES= - Map of priorities per node. Priorities have to be unique. CINDER_API_VERSION=<2> - The API version for Cinder + CEILOMETER_ADMIN_PASSWORD= - The Ceilometer password + CEILOMETER_API_SERVICE_HOST= - The IP Address where Ceilometer listens + CEILOMETER_DB_NAME= - Ceilometer DB name + CEILOMETER_DB_PASSWORD= - Ceilometer DB password + CEILOMETER_DB_USER= - Ceilometer DB User + CEILOMETER_KEYSTONE_USER= - Ceilometer Keystone user [Minimum environment variable setup guide.](https://github.com/stackforge/kolla/blob/master/docs/minimal-environment-vars.md) diff --git a/docs/minimal-environment-vars.md b/docs/minimal-environment-vars.md index 29699d3f52..53c68af542 100644 --- a/docs/minimal-environment-vars.md +++ b/docs/minimal-environment-vars.md @@ -34,7 +34,6 @@ In order for each service to function, there is a minimum set of required variab KEYSTONE_ADMIN_SERVICE_PORT KEYSTONE_ADMIN_TOKEN KEYSTONE_PUBLIC_SERVICE_HOST - dump_vars # Ceilometer-central diff --git a/tools/genenv b/tools/genenv index 5878a23aef..340a576f2a 100755 --- a/tools/genenv +++ b/tools/genenv @@ -242,6 +242,14 @@ KEYSTONE_AUTH_PROTOCOL=http BARBICAN_KEYSTONE_USER=barbican ADMIN_TENANT_NAME=admin +#Ceilometer +CEILOMETER_ADMIN_PASSWORD=password +CEILOMETER_API_SERVICE_HOST=$HOST_IP +CEILOMETER_DB_NAME=ceilometer +CEILOMETER_DB_PASSWORD=password +CEILOMETER_DB_USER=ceilometer +CEILOMETER_KEYSTONE_USER=ceilometer + # this should use the keystone admin port # https://bugs.launchpad.net/kolla/+bug/1469209 cat > ./openrc <