
This commit conditionally allows the os_aodh role to install build and deploy within a venv. This is the new default behavior of the role however the functionality can be disabled. Change-Id: I9f9e09b2a68e843da1d92a782cd29fc563379a6d Implements: blueprint enable-venv-support-within-the-roles Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
112 lines
3.4 KiB
YAML
112 lines
3.4 KiB
YAML
---
|
|
# Copyright 2015, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
## Verbosity Options
|
|
debug: False
|
|
verbose: False
|
|
|
|
# Name of the virtual env to deploy into
|
|
aodh_venv_tag: untagged
|
|
aodh_venv_bin: "/openstack/venvs/aodh-{{ aodh_venv_tag }}/bin"
|
|
|
|
# Set this to enable or disable installing in a venv
|
|
aodh_venv_enabled: true
|
|
|
|
# The bin path defaults to the venv path however if installation in a
|
|
# venv is disabled the bin path will be dynamically set based on the
|
|
# system path used when the installing.
|
|
aodh_bin: "{{ aodh_venv_bin }}"
|
|
|
|
## System info
|
|
aodh_system_user_name: aodh
|
|
aodh_system_group_name: aodh
|
|
aodh_system_shell: /bin/false
|
|
aodh_system_comment: aodh system user
|
|
aodh_system_user_home: "/var/lib/{{ aodh_system_user_name }}"
|
|
|
|
## DB info
|
|
aodh_database_name: aodh
|
|
aodh_database_user: aodh
|
|
aodh_db_type: mongodb
|
|
aodh_db_ip: localhost
|
|
aodh_db_port: 27017
|
|
aodh_connection_string: "{{ aodh_db_type }}://{{ aodh_database_user }}:{{ aodh_container_db_password }}@{{ aodh_db_ip }}:{{ aodh_db_port }}/{{ aodh_database_name }}"
|
|
|
|
## RabbitMQ info
|
|
aodh_rabbitmq_userid: aodh
|
|
aodh_rabbitmq_vhost: /aodh
|
|
|
|
|
|
#Aodh services info
|
|
aodh_role_name: admin
|
|
|
|
aodh_alarm_notifier_program_name: aodh-alarm-notifier
|
|
aodh_alarm_evaluator_program_name: aodh-alarm-evaluator
|
|
aodh_listener_program_name: aodh-listener
|
|
aodh_api_program_name: aodh-api
|
|
|
|
## Service Type and Data
|
|
aodh_service_region: RegionOne
|
|
aodh_service_endpoint_type: internalURL
|
|
aodh_service_name: aodh
|
|
aodh_service_port: 8042
|
|
aodh_service_proto: http
|
|
aodh_service_type: alarming
|
|
aodh_service_description: "Telemetry"
|
|
aodh_service_project_domain_id: default
|
|
aodh_service_user_domain_id: default
|
|
aodh_service_user_name: aodh
|
|
aodh_keystone_auth_plugin: password
|
|
aodh_service_tenant_name: service
|
|
aodh_service_project_name: service
|
|
aodh_service_publicuri: "{{ aodh_service_proto }}://{{ external_lb_vip_address }}:{{ aodh_service_port }}"
|
|
aodh_service_publicurl: "{{ aodh_service_publicuri }}"
|
|
aodh_service_internaluri: "{{ aodh_service_proto }}://{{ internal_lb_vip_address }}:{{ aodh_service_port }}"
|
|
aodh_service_internalurl: "{{ aodh_service_internaluri }}"
|
|
aodh_service_adminuri: "{{ aodh_service_proto }}://{{ internal_lb_vip_address }}:{{ aodh_service_port }}"
|
|
aodh_service_adminurl: "{{ aodh_service_adminuri }}"
|
|
|
|
# Common apt packages
|
|
aodh_apt_packages:
|
|
- rpcbind
|
|
|
|
# aodh packages that must be installed before anything else
|
|
aodh_requires_pip_packages:
|
|
- virtualenv
|
|
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
|
|
|
# Common pip packages
|
|
aodh_pip_packages:
|
|
- aodh
|
|
- python-ceilometerclient
|
|
- ceilometermiddleware
|
|
- MySQL-python
|
|
- python-memcached
|
|
- pycrypto
|
|
- warlock
|
|
- pymongo
|
|
|
|
## Service Names
|
|
aodh_service_names:
|
|
- "aodh-api"
|
|
- "aodh-alarm-notifier"
|
|
- "aodh-alarm-evaluator"
|
|
- "aodh-listener"
|
|
|
|
## Tunable overrides
|
|
aodh_policy_overrides: {}
|
|
aodh_aodh_conf_overrides: {}
|
|
aodh_api_paste_ini_overrides: {}
|