545 lines
14 KiB
YAML
545 lines
14 KiB
YAML
LISTEN_ADDRESS: "0.0.0.0"
|
|
LISTEN_PORT: "8000"
|
|
DEVELOPMENT: 1
|
|
|
|
VERSION:
|
|
release: "3.0"
|
|
nailgun_sha: "Unknown build"
|
|
astute_sha: "Unknown build"
|
|
fuellib_sha: "Unknown build"
|
|
ostf_sha: "Unknown build"
|
|
|
|
FUEL_KEY: "Unknown"
|
|
|
|
FIXTURES_TO_UPLOAD:
|
|
- "global.json"
|
|
- "openstack.json"
|
|
- "start_notification.json"
|
|
- "admin_network.json"
|
|
|
|
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"
|
|
netmask: "255.255.255.0"
|
|
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"
|
|
|
|
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/"
|
|
|
|
PATH_TO_SSH_KEY: = "/root/.ssh/id_rsa"
|
|
PATH_TO_BOOTSTRAP_SSH_KEY: "/root/.ssh/bootstrap.rsa"
|
|
|
|
MASTER_IP: "127.0.0.1"
|
|
|
|
COBBLER_URL: "http://localhost/cobbler_api"
|
|
COBBLER_USER: "cobbler"
|
|
COBBLER_PASSWORD: "cobbler"
|
|
|
|
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_imfile_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_imfile_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: naily
|
|
name: "Orchestrator"
|
|
<<: *local_log_type
|
|
<<: *remote_syslog_log_format
|
|
path: '/var/log/naily/naily.log'
|
|
- id: ostf
|
|
name: "HealthCheck"
|
|
<<: *local_log_type
|
|
<<: *python_log_format
|
|
path: "/var/log/ostf.log"
|
|
- id: puppet
|
|
name: "Releases"
|
|
<<: *local_log_type
|
|
<<: *remote_syslog_log_format
|
|
path: "/var/log/puppet/agent.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/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
|
|
# Disabled for 4.0
|
|
# - id: 'os/nova-cert'
|
|
# name: "nova-cert"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-cert.log"
|
|
# - id: 'os/nova-consoleauth'
|
|
# name: "nova-consoleauth"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-consoleauth.log"
|
|
# - id: 'os/nova-scheduler'
|
|
# name: "nova-scheduler"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-scheduler.log"
|
|
# - id: 'os/nova-network'
|
|
# name: "nova-network"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-network.log"
|
|
# - id: 'os/nova-compute'
|
|
# name: "nova-compute"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-compute.log"
|
|
# - id: 'os/nova-conductor'
|
|
# name: "nova-conductor"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-conductor.log"
|
|
# - id: 'os/nova-objectstore'
|
|
# name: "nova-objectstore"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "nova-objectstore.log"
|
|
# - id: 'os/keystone'
|
|
# name: "keystone"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "keystone.log"
|
|
# - id: 'os/cinder-api'
|
|
# name: "cinder-api"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "cinder-api.log"
|
|
# - id: 'os/cinder-volume'
|
|
# name: "cinder-volume"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "cinder-volume.log"
|
|
# - id: 'os/cinder-scheduler'
|
|
# name: "cinder-scheduler"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "cinder-scheduler.log"
|
|
# - id: 'os/glance-api'
|
|
# name: "glance-api"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "glance-api.log"
|
|
# - id: 'os/glance-registry'
|
|
# name: "glance-registry"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "glance-registry.log"
|
|
# - id: 'os/neutron-server'
|
|
# name: "neutron-server"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-server.log"
|
|
# - id: 'os/neutron-ovs-cleanup'
|
|
# name: "neutron-ovs-cleanup"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-ovs-cleanup.log"
|
|
# - id: 'os/neutron-rescheduling'
|
|
# name: "neutron-rescheduling"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-rescheduling.log"
|
|
# - id: 'os/neutron-ovs-agent'
|
|
# name: "neutron-ovs-agent"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-ovs-agent.log"
|
|
# - id: 'os/neutron-l3-agent'
|
|
# name: "neutron-l3-agent"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-l3-agent.log"
|
|
# - id: 'os/neutron-dhcp-agent'
|
|
# name: "neutron-dhcp-agent"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-dhcp-agent.log"
|
|
# - id: 'os/neutron-metadata-agent'
|
|
# name: "neutron-metadata-agent"
|
|
# <<: *remote_imfile_log_type
|
|
# <<: *remote_imfile_log_format
|
|
# <<: *os_log_group
|
|
# path: "neutron-metadata-agent.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"
|
|
|
|
RHEL_VALIDATION_TIMEOUT: 10
|
|
|
|
MAX_ITEMS_PER_PAGE: 500
|
|
|
|
DUMP:
|
|
target: "/var/www/nailgun/dump/fuel-snapshot"
|
|
lastdump: "/var/www/nailgun/dump/last"
|
|
timestamp: True
|
|
dump_roles:
|
|
master:
|
|
- localhost
|
|
slave: []
|
|
dump_objects:
|
|
master:
|
|
- type: postgres
|
|
dbhost: localhost
|
|
dbname: nailgun
|
|
username: nailgun
|
|
password: nailgun
|
|
- type: dir
|
|
path: /etc/nailgun
|
|
- type: dir
|
|
path: /etc/naily
|
|
- type: dir
|
|
path: /var/log/nailgun
|
|
- type: dir
|
|
path: /var/log/naily
|
|
- type: dir
|
|
path: /var/log/cobbler
|
|
- type: dir
|
|
path: /var/log/puppet
|
|
- type: subs
|
|
path: /var/log/remote
|
|
subs: {}
|
|
- type: file
|
|
path: /var/log/ostf.log
|
|
- type: file
|
|
path: /var/log/ostf-stdout.log
|
|
- 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: cobbler system report
|
|
to_file: cobbler_report.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
|
|
slave:
|
|
- type: file
|
|
path: /etc/astute.yaml
|
|
- 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/horizon*
|
|
- type: file
|
|
path: /etc/cinder*
|
|
- type: file
|
|
path: /etc/glance*
|
|
- type: file
|
|
path: /etc/swift*
|
|
- type: file
|
|
path: /var/log/ceph
|
|
- 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
|