fuel-web/nailgun/nailgun/settings.yaml

805 lines
22 KiB
YAML

LISTEN_ADDRESS: "0.0.0.0"
LISTEN_PORT: "8000"
DEVELOPMENT: 1
AUTH:
# Possible options:
# - none - authentication is disabled
# - fake - no keystone required, credentials: admin/admin
# - keystone - authentication enabled.
AUTHENTICATION_METHOD: "fake"
# use only if AUTHENTICATION_METHOD is set to "keystone"
auth_host: "127.0.0.1"
auth_protocol: "http"
auth_version: "v2.0"
admin_user: "nailgun"
admin_password: "nailgun"
admin_tenant_name: "services"
VERSION:
release: "5.0"
api: "1"
nailgun_sha: "Unknown build"
astute_sha: "Unknown build"
fuellib_sha: "Unknown build"
ostf_sha: "Unknown build"
feature_groups:
- experimental
FUEL_KEY: "Unknown"
FIXTURES_TO_UPLOAD:
- "openstack.yaml"
- "start_notification.json"
- "admin_network.json"
- "repodata.yaml"
DATABASE:
engine: "postgresql"
name: "nailgun"
host: "localhost"
port: "5432"
user: "nailgun"
passwd: "nailgun"
# Config updates for admin network do not apply on any environment,
# changes should be made in database if required
ADMIN_NETWORK:
cidr: "10.20.0.0/24"
mac: "52:54:00:15:b9:60"
size: "256"
first: "10.20.0.129"
last: "10.20.0.254"
# Check timeouts for offline-online nodes detection
KEEPALIVE:
interval: 30 # How often to check if node went offline. If node powered on, it is immediately switched to online state.
timeout: 180 # Node will be switched to offline if there are no updates from agent for this period of time
STATIC_DIR: "/var/tmp/nailgun_static"
TEMPLATE_DIR: "/var/tmp/nailgun_static"
RABBITMQ:
fake: "0"
hostname: "127.0.0.1"
PLUGINS_PATH: '/var/www/nailgun/plugins'
PLUGINS_SLAVES_SCRIPTS_PATH: '/etc/fuel/plugins/{plugin_name}/'
PLUGINS_REPO_URL: 'http://{master_ip}:8080/plugins/{plugin_name}/'
PLUGINS_SLAVES_RSYNC: 'rsync://{master_ip}:/plugins/{plugin_name}/'
APP_LOG: &nailgun_log "/var/log/nailgun/app.log"
API_LOG: &api_log "/var/log/nailgun/api.log"
SYSLOG_DIR: &remote_syslog_dir "/var/log/remote/"
COLLECTOR_ACTION_LOGS_URL: "https://{collector_server}/api/v1/action_logs/"
COLLECTOR_INST_INFO_URL: "https://{collector_server}/api/v1/installation_structure/"
COLLECTOR_PING_URL: "https://{collector_server}/api/v1/ping/"
# statistics send interval
STATS_SEND_INTERVAL: 3600
# statistics send enabled check interval
STATS_ENABLE_CHECK_INTERVAL: 300
# statistics send records per request
STATS_SEND_COUNT: 100
# statistics collector ping interval
COLLECTOR_PING_INTERVAL: 300
# statistics collector response timeout
COLLECTOR_RESP_TIMEOUT: 5
# version of api for novaclient (is used for OpenStack info retrival)
NOVACLIENT_VERSION: "2"
# proxy port for OpenStack info collector
OPENSTACK_INFO_COLLECTOR_PROXY_PORT: 8888
# port of keystone service inside of particular OpenStack installation
# (is used for OpenStack info collector)
AUTH_PORT: 5000
FUEL_VERSION_FILE: "/etc/fuel/version.yaml"
FUEL_VERSION_KEY: "VERSION"
PATH_TO_SSH_KEY: = "/root/.ssh/id_rsa"
PATH_TO_BOOTSTRAP_SSH_KEY: "/root/.ssh/bootstrap.rsa"
AUTHORIZED_KEYS: []
MASTER_IP: "127.0.0.1"
COBBLER_URL: "http://localhost/cobbler_api"
COBBLER_USER: "cobbler"
COBBLER_PASSWORD: "cobbler"
# This parameter is used in provisioning serializer. Timezone is one of
# provisioning data fields which is used by cloud-init to set timezone on
# target nodes. Flow is settings.yaml -> astute -> fuel_agent -> cloud-init.
TIMEZONE: "America/Los_Angeles"
NOVA_STATE_PATH: "/var/lib/nova"
TRUNCATE_LOG_ENTRIES: 100
UI_LOG_DATE_FORMAT: '%Y-%m-%d %H:%M:%S'
LOG_FORMATS:
- &remote_syslog_log_format
regexp: '^(?P<date>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})(?P<secfrac>\.\d{1,})?(?P<timezone>(Z|[+-]\d{2}:\d{2}))?\s(?P<level>[a-z]{3,7}):\s(?P<text>.*)$'
date_format: '%Y-%m-%dT%H:%M:%S'
levels:
- DEBUG
- INFO
- NOTICE
- WARNING
- ERR
- CRIT
- ALERT
- EMERG
- &remote_openstack_log_format
regexp: '^(?P<date>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})(?P<secfrac>\.\d{1,})?(?P<timezone>(Z|[+-]\d{2}:\d{2}))?\s[a-z]{3,7}:\s+(?P<date_local>\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}((.|,)\d{3})?)\s+(-\s+)?(?P<pid>\d+)?(\s+)?(-\s+)?(?P<level>[a-zA-Z]{3,8})\s+(?P<text>.*)$'
date_format: '%Y-%m-%dT%H:%M:%S'
levels:
- TRACE
- DEBUG
- INFO
- NOTICE
- AUDIT
- WARNING
- ERROR
- CRITICAL
- ALERT
- EMERG
- PANIC
- &python_log_format
regexp: '^(?P<date>\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})(?P<msecs>\.\d{3})?\s(?P<level>[A-Z]+)\s(?P<text>.*)$'
date_format: '%Y-%m-%d %H:%M:%S'
levels:
- DEBUG
- INFO
- WARNING
- ERROR
- CRITICAL
LOG_TYPES:
- &local_log_type
remote: False
multiline: True
- &remote_log_type
remote: True
multiline: True
base: *remote_syslog_dir
- &remote_openstack_log_type
remote: True
multiline: True
base: *remote_syslog_dir
LOG_GROUPS:
- &main_install_log_group
group: ~
- &install_log_group
group: 'Other install logs'
- &bootstrap_log_group
group: 'Bootstrap logs'
- &os_log_group
group: 'Openstack logs'
LOGS:
# Master node logs.
- id: app
name: "Web backend"
<<: *local_log_type
<<: *python_log_format
path: *nailgun_log
- id: api
name: "REST API"
<<: *local_log_type
<<: *python_log_format
path: *api_log
- id: receiverd
name: "RPC consumer"
<<: *local_log_type
<<: *python_log_format
path: '/var/log/nailgun/receiverd.log'
- id: astute
name: "Astute"
<<: *local_log_type
<<: *remote_syslog_log_format
path: '/var/log/astute/astute.log'
- id: ostf
name: "HealthCheck"
<<: *local_log_type
<<: *python_log_format
path: "/var/log/ostf.log"
# Fake target logs.
- id: 'fake-target-mcollective'
name: "mcollective"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *main_install_log_group
fake: True
path: '/var/tmp/fake-target-mcollective.log'
# Target node installation logs.
- id: 'install/puppet'
name: "puppet"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *main_install_log_group
path: 'puppet-apply.log'
- id: 'install/mco'
name: "mcollective"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *main_install_log_group
path: 'mcollective.log'
- id: 'zabbix'
name: "zabbix"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *main_install_log_group
path: 'zabbix_server.log'
- id: 'install/anaconda'
name: "anaconda"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *main_install_log_group
path: 'install/anaconda.log'
- id: 'install/syslog'
name: "syslog"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *main_install_log_group
path: 'install/syslog.log'
- id: 'install/storage'
name: "storage"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *install_log_group
path: 'install/storage.log'
- id: 'install/ks-pre'
name: "kickstart-pre"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *install_log_group
path: 'install/ks-pre.log'
- id: 'install/ks-post'
name: "kickstart-post"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *install_log_group
path: 'install/ks-post.log'
- id: 'install/debootstrap-ubuntu'
name: "debootstrap"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *install_log_group
path: "debootstrap.log"
- id: 'install/in-target-ubuntu'
name: "in-target"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *install_log_group
path: "in-target.log"
# Bootstrap node logs.
- id: 'bootstrap/dmesg'
name: "dmesg"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *bootstrap_log_group
path: 'bootstrap/dmesg.log'
- id: 'bootstrap/secure'
name: "secure"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *bootstrap_log_group
path: 'bootstrap/secure.log'
- id: 'bootstrap/messages'
name: "messages"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *bootstrap_log_group
path: 'bootstrap/messages.log'
- id: 'bootstrap/mco'
name: "mcollective"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *bootstrap_log_group
path: 'bootstrap/mcollective.log'
- id: 'bootstrap/agent'
name: "agent"
<<: *remote_log_type
<<: *remote_syslog_log_format
<<: *bootstrap_log_group
path: 'bootstrap/agent.log'
# Openstack logs
- id: 'os/nova-cert'
name: "nova-cert"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-cert.log"
- id: 'os/nova-consoleauth'
name: "nova-consoleauth"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-consoleauth.log"
- id: 'os/nova-scheduler'
name: "nova-scheduler"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-scheduler.log"
- id: 'os/nova-network'
name: "nova-network"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-network.log"
- id: 'os/nova-compute'
name: "nova-compute"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-compute.log"
- id: 'os/nova-conductor'
name: "nova-conductor"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-conductor.log"
- id: 'os/nova-objectstore'
name: "nova-objectstore"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-objectstore.log"
- id: 'os/nova-manage'
name: "nova-manage"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "nova-manage.log"
- id: 'os/keystone'
name: "keystone"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "keystone.log"
- id: 'os/keystone-all'
name: "keystone-all"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "keystone-all.log"
- id: 'os/keystone-manage'
name: "keystone-manage"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "keystone-manage.log"
- id: 'os/cinder-api'
name: "cinder-api"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "cinder-api.log"
- id: 'os/cinder-volume'
name: "cinder-volume"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "cinder-volume.log"
- id: 'os/cinder-scheduler'
name: "cinder-scheduler"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "cinder-scheduler.log"
- id: 'os/cinder-manage'
name: "cinder-manage"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "cinder-manage.log"
- id: 'os/glance-api'
name: "glance-api"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "glance-api.log"
- id: 'os/glance-registry'
name: "glance-registry"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "glance-registry.log"
- id: 'os/glance-manage'
name: "glance-manage"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "glance-manage.log"
- id: 'os/glance-cache-cleaner'
name: "glance-cache-cleaner"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "glance-cache-cleaner.log"
- id: 'os/glance-cache-pruner'
name: "glance-cache-pruner"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "glance-cache-pruner.log"
- id: 'os/neutron-server'
name: "neutron-server"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-server.log"
- id: 'os/neutron-ovs-cleanup'
name: "neutron-ovs-cleanup"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-ovs-cleanup.log"
- id: 'os/neutron-rescheduling'
name: "neutron-rescheduling"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-rescheduling.log"
- id: 'os/neutron-openvswitch-agent'
name: "neutron-openvswitch-agent"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-openvswitch-agent.log"
- id: 'os/neutron-l3-agent'
name: "neutron-l3-agent"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-l3-agent.log"
- id: 'os/neutron-dhcp-agent'
name: "neutron-dhcp-agent"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-dhcp-agent.log"
- id: 'os/neutron-metadata-agent'
name: "neutron-metadata-agent"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "neutron-metadata-agent.log"
- id: 'os/ceilometer-agent-central'
name: "ceilometer-agent-central"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-agent-central.log"
- id: 'os/ceilometer-agent-notification'
name: "ceilometer-agent-notification"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-agent-notification.log"
- id: 'os/ceilometer-alarm-evaluator'
name: "ceilometer-alarm-evaluator"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-alarm-evaluator.log"
- id: 'os/ceilometer-alarm-notifier'
name: "ceilometer-alarm-notifier"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-alarm-notifier.log"
- id: 'os/ceilometer-api'
name: "ceilometer-api"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-api.log"
- id: 'os/ceilometer-collector'
name: "ceilometer-collector"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-collector.log"
- id: 'os/ceilometer-dbsync'
name: "ceilometer-dbsync"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "ceilometer-dbsync.log"
- id: 'os/heat-api-cfn'
name: "heat-api-cfn"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "heat-api-cfn.log"
- id: 'os/heat-api-cloudwatch'
name: "heat-api-cloudwatch"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "heat-api-cloudwatch.log"
- id: 'os/heat-api'
name: "heat-api"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "heat-api.log"
- id: 'os/heat-engine'
name: "heat-engine"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "heat-engine.log"
- id: 'os/heat-manage'
name: "heat-manage"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "heat-manage.log"
- id: 'os/murano-api'
name: "murano-api"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "murano-api.log"
- id: 'os/murano-manage'
name: "murano-manage"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "murano-manage.log"
- id: 'os/sahara-api'
name: "sahara-api"
<<: *remote_openstack_log_type
<<: *remote_openstack_log_format
<<: *os_log_group
path: "sahara-api.log"
LOGS_TO_PACK_FOR_SUPPORT:
logs: '/var/log'
MCO_PSKEY: "Gie6iega9ohngaenahthohngu8aebohxah9seidi"
MCO_VHOST: "mcollective"
MCO_HOST: "localhost"
MCO_USER: "guest"
MCO_PASSWORD: "guest"
MCO_CONNECTOR: "rabbitmq"
PUPPET_MASTER_HOST: "localhost"
PUPPET_VERSION: ""
DNS_DOMAIN: "example.com"
DNS_SERVERS: "127.0.0.1"
DNS_SEARCH: "example.com"
FAKE_TASKS_TICK_INTERVAL: "1"
FAKE_TASKS_TICK_COUNT: "30"
FAKE_KEYSTONE_USERNAME: admin
FAKE_KEYSTONE_PASSWORD: admin
MAX_ITEMS_PER_PAGE: 500
SHOTGUN_SSH_KEY: "/root/.ssh/id_rsa"
DUMP:
target: "/var/www/nailgun/dump/fuel-snapshot"
lastdump: "/var/www/nailgun/dump/last"
timestamp: True
dump:
local:
hosts:
- address: localhost
ssh-key: /root/.ssh/id_rsa
objects: []
master:
hosts: []
objects:
- type: dir
path: /etc/nailgun
- type: dir
path: /etc/astute
- type: dir
path: /etc/fuel
- type: command
command: df -h
to_file: df.txt
- type: command
command: mount
to_file: mount.txt
- type: command
command: iptables -t nat -S
to_file: iptables_nat.txt
- type: command
command: iptables -t filter -S
to_file: iptables_filter.txt
- type: command
command: dmidecode
to_file: dmidecode.txt
- type: command
command: uptime
to_file: uptime.txt
- type: command
command: ps auxwwf
to_file: ps.txt
- type: command
command: pvdisplay
to_file: lvm_pvdisplay.txt
- type: command
command: docker images
to_file: docker_images.txt
- type: command
command: docker ps
to_file: docker_ps.txt
- type: command
command: vgdisplay
to_file: lvm_vgdisplay.txt
- type: command
command: lvdisplay
to_file: lvm_lvdisplay.txt
- type: command
command: ip a
to_file: ip_a.txt
- type: command
command: ip r
to_file: ip_r.txt
- type: command
command: netstat -anp
to_file: netstat.txt
- type: command
command: brctl show
to_file: brctl_show.txt
- type: dir
path: /etc/sysconfig/network-scripts
- type: file
path: /etc/dnsmasq.conf
- type: file
path: /root/*.log
- type: file
path: /etc/cobbler*
- type: dir
path: /var/log
controller:
hosts: []
objects:
- type: command
command: pcs status
to_file: pcs_status.txt
- type: command
command: rabbitmqctl report
to_file: rabbitmqctl_report.txt
slave:
hosts: []
objects:
- type: file
path: /etc/astute.yaml
- type: file
path: /var/log/puppet.log
- type: file
path: /root/ceph*
- type: file
path: /root/anaconda*
- type: file
path: /root/*.log
- type: file
path: /root/*.ks
- type: file
path: /etc/ceph*
- type: file
path: /etc/keystone*
- type: file
path: /etc/nova*
- type: file
path: /etc/neutron*
- type: file
path: /etc/horizon*
- type: file
path: /etc/cinder*
- type: file
path: /etc/glance*
- type: file
path: /etc/swift*
- type: file
path: /etc/haproxy*
- type: file
path: /var/log/ceph
- type: file
path: /var/lib/puppet/state/last_run_summary.yaml
- type: file
path: /etc/resolv.conf
- type: dir
path: /var/run/pcap_dir
- type: file
path: /var/log/atop/atop_current
- type: command
command: df -h
to_file: df.txt
- type: command
command: mount
to_file: mount.txt
- type: command
command: iptables -t nat -S
to_file: iptables_nat.txt
- type: command
command: iptables -t filter -S
to_file: iptables_filter.txt
- type: command
command: dmidecode
to_file: dmidecode.txt
- type: command
command: uptime
to_file: uptime.txt
- type: command
command: ps auxwwf
to_file: ps.txt
- type: command
command: pvdisplay
to_file: lvm_pvdisplay.txt
- type: command
command: vgdisplay
to_file: lvm_vgdisplay.txt
- type: command
command: lvdisplay
to_file: lvm_lvdisplay.txt
- type: command
command: ip a
to_file: ip_a.txt
- type: command
command: ip r
to_file: ip_r.txt
- type: command
command: netstat -anp
to_file: netstat.txt
- type: command
command: brctl show
to_file: brctl_show.txt
- type: dir
path: /etc/sysconfig/network-scripts
- type: dir
path: /etc/network/interfaces.d
- type: file
path: /etc/network/interfaces
- type: file
path: /root/post-partition.log
- type: command
command: blkid -o list
to_file: blkid_o_list.txt
- type: command
command: ceph health
to_file: ceph_health.txt
- type: command
command: ceph -s
to_file: ceph_s.txt
- type: command
command: ceph osd tree
to_file: ceph_osd_tree.txt
- type: command
command: cat /proc/interrupts
to_file: proc_interrupts.txt
# performance tests settings
PERFORMANCE_PROFILING_TESTS: 0
LOAD_TESTS_PATHS:
load_tests_base: "/tmp/nailgun_performance_tests/tests/"
last_performance_test: "/tmp/nailgun_performance_tests/tests/last/"
load_tests_results: "/tmp/nailgun_performance_tests/results/"
DNS_UPSTREAM: "8.8.8.8, 8.8.4.4"
NTP_UPSTREAM: "0.pool.ntp.org, 1.pool.ntp.org"