From 870ec615d6c89c04430ba3359449189d2e380659 Mon Sep 17 00:00:00 2001 From: Swapnil Kulkarni Date: Fri, 17 Jul 2015 06:09:23 +0000 Subject: [PATCH] Add Gnocchi service to kolla Co-Authored-By: Swapnil Kulkarni /openrc < - Keystone DB password GLANCE_KEYSTONE_USER= - Glance Keystone User GLANCE_REGISTRY_SERVICE_HOST= Glance registry service host + GNOCCHI_ADMIN_PASSWORD= - admin password for gnocchi user + GNOCCHI_API_SERVICE_HOST= - address where gnocchi API is running + GNOCCHI_KEYSTONE_PASSWORD= - Gnocchi keystone password + GNOCCHI_KEYSTONE_USER= - Gnocchi Keystone User + GNOCCHI_SERVICE_PORT=<8041> - Port where gnocchi operates + GNOCCHI_STORAGE_BACKEND= - Storage backend for gnocchi KEYSTONE_ADMIN_PASSWORD= KEYSTONE_ADMIN_SERVICE_HOST= - IP Address of Keystone Host KEYSTONE_ADMIN_SERVICE_PORT=<35357> - Port where Keystone admin endpoint operates. diff --git a/docs/minimal-environment-vars.md b/docs/minimal-environment-vars.md index 0bf21ecc63..6cc13309a2 100644 --- a/docs/minimal-environment-vars.md +++ b/docs/minimal-environment-vars.md @@ -229,6 +229,38 @@ In order for each service to function, there is a minimum set of required variab GLANCE_DB_USER MARIADB_SERVICE_HOST +# Gnocchi-api + + ADMIN_TENANT_NAME + GNOCCHI_ADMIN_PASSWORD + GNOCCHI_API_SERVICE_HOST + GNOCCHI_ARCHIVE_POLICY + GNOCCHI_DB_NAME + GNOCCHI_DB_PASSWORD + GNOCCHI_DB_USER + GNOCCHI_KEYSTONE_USER + GNOCCHI_SERVICE_PORT + GNOCCHI_SERVICE_PROTOCOL + GNOCCHI_STORAGE_BACKEND + KEYSTONE_ADMIN_SERVICE_HOST + KEYSTONE_ADMIN_SERVICE_PORT + KEYSTONE_ADMIN_TOKEN + KEYSTONE_AUTH_PROTOCOL + +# Gnocchi-base + + GNOCCHI_DATA_DIR + GNOCCHI_SERVICE_PORT + GNOCCHI_STORAGE_BACKEND + KEYSTONE_ADMIN_SERVICE_HOST + KEYSTONE_ADMIN_SERVICE_PORT + KEYSTONE_ADMIN_TOKEN + KEYSTONE_PUBLIC_SERVICE_HOST + +# Gnocchi-statsd + + None + # Haproxy None diff --git a/tools/genenv b/tools/genenv index 84b42163c3..40d60a2f8d 100755 --- a/tools/genenv +++ b/tools/genenv @@ -118,6 +118,18 @@ GLANCE_KEYSTONE_PASSWORD=glance GLANCE_API_SERVICE_HOST=$HOST_IP GLANCE_REGISTRY_SERVICE_HOST=$HOST_IP +# Gnocchi +GNOCCHI_DB_PASSWORD=gnocchi +GNOCCHI_DB_NAME=gnocchi +GNOCCHI_DB_USER=gnocchi +GNOCCHI_SERVICE_PROTOCOL=http +GNOCCHI_SERVICE_PORT=8041 +GNOCCHI_STORAGE_BACKEND=file +GNOCCHI_KEYSTONE_USER=gnocchi +GNOCCHI_KEYSTONE_PASSWORD=gnocchi +GNOCCHI_ADMIN_PASSWORD=gnocchi +GNOCCHI_API_SERVICE_HOST=$HOST_IP + # Nova NOVA_DB_PASSWORD=nova NOVA_DB_NAME=nova diff --git a/tools/kolla b/tools/kolla index b65f7b0229..4df9ea4dbb 100755 --- a/tools/kolla +++ b/tools/kolla @@ -46,6 +46,7 @@ function process_all { process cinder-backup process cinder-volume process ceilometer + process gnocchi } function check_selinux {