File: local.conf.controller

package info (click to toggle)
watcher 15.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,216 kB
  • sloc: python: 52,260; xml: 323; sh: 299; makefile: 78
file content (102 lines) | stat: -rw-r--r-- 2,743 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Sample ``local.conf`` for controller node for Watcher development
# NOTE: Copy this file to the root DevStack directory for it to work properly.

[[local|localrc]]

ADMIN_PASSWORD=nomoresecrete
DATABASE_PASSWORD=stackdb
RABBIT_PASSWORD=stackqueue
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=azertytoken

HOST_IP=192.168.42.1 # Change this to your controller node IP address
#HOST_IPV6=2001:db8::7
FLAT_INTERFACE=eth0

FIXED_RANGE=10.254.1.0/24 # Change this to whatever your network is
NETWORK_GATEWAY=10.254.1.1 # Change this for your network

MULTI_HOST=1

CEILOMETER_ALARM_THRESHOLD="6000000000"
CEILOMETER_BACKENDS="sg-core"
CEILOMETER_PIPELINE_INTERVAL="15"


#Set this to FALSE if do not want to run watcher-api behind mod-wsgi
#WATCHER_USE_MOD_WSGI=TRUE

# This is the controller node, so disable nova-compute
disable_service n-cpu

# Enable the Watcher Dashboard plugin
enable_plugin watcher-dashboard https://opendev.org/openstack/watcher-dashboard

# Enable the Watcher plugin
enable_plugin watcher https://opendev.org/openstack/watcher

# Enable the Ceilometer plugin
enable_plugin ceilometer https://opendev.org/openstack/ceilometer

# This is the controller node, so disable the ceilometer compute agent
disable_service ceilometer-acompute

# Enable the ceilometer api explicitly(bug:1667678)
enable_service ceilometer-api

enable_service prometheus
enable_plugin aodh https://opendev.org/openstack/aodh
enable_plugin devstack-plugin-prometheus https://opendev.org/openstack/devstack-plugin-prometheus
enable_plugin sg-core https://github.com/openstack-k8s-operators/sg-core main

LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=2

[[post-config|$NOVA_CONF]]
[DEFAULT]
compute_monitors=cpu.virt_driver
[notifications]
# Enable both versioned and unversioned notifications. Watcher only
# uses versioned notifications but ceilometer uses unversioned. We
# can change this to just versioned when ceilometer handles versioned
# notifications from nova: https://bugs.launchpad.net/ceilometer/+bug/1665449
notification_format=both

[[post-config|$WATCHER_CONF]]
[prometheus_client]
host = 127.0.0.1
port = 9090

[watcher_cluster_data_model_collectors.baremetal]
period = 120

[watcher_cluster_data_model_collectors.compute]
period = 120

[watcher_cluster_data_model_collectors.storage]
period = 120

[watcher_datasources]
datasources = prometheus

[[test-config|$TEMPEST_CONFIG]]
[optimize]
datasource = prometheus

[service_available]
sg_core = True

[telemetry]
ceilometer_polling_interval = 15
disable_ssl_certificate_validation = True

[telemetry_services]
metric_backends = prometheus

[compute]
min_compute_nodes = 2
min_microversion = 2.56

[compute-feature-enabled]
block_migration_for_live_migration = True
live_migration = True