-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial watcher api conf generation
Implement an initial version of watcher config generation. This change adds a watcher config template and generates a secret with the templated config. Some fields that require changes in the watcher controller like the transporturl and memcached servers. This change also moidifies the WatcherAPI functional tests so the WatcherAPI instances use a different name that the Watcher one, so it's easier to debug.
- Loading branch information
Showing
18 changed files
with
307 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[DEFAULT] | ||
state_path = /opt/stack/data/watcher | ||
transport_url = {{ .TransportURL }} | ||
control_exchange = watcher | ||
debug = True | ||
|
||
[database] | ||
connection = {{ .DatabaseConnection }} | ||
|
||
[oslo_policy] | ||
policy_file = /etc/watcher/policy.yaml.sample | ||
|
||
[oslo_messaging_notifications] | ||
driver = messagingv2 | ||
|
||
[keystone_authtoken] | ||
memcached_servers = {{ .MemcachedServers }} | ||
# TODO jgilaber implement handling this option when we add tls support | ||
cafile = /opt/stack/data/ca-bundle.pem | ||
project_domain_name = Default | ||
project_name = service | ||
user_domain_name = Default | ||
password = {{ .ServicePassword }} | ||
username = {{ .ServiceUser }} | ||
auth_url = {{ .KeystoneAuthURL }} | ||
interface = internal | ||
auth_type = password | ||
|
||
[watcher_clients_auth] | ||
memcached_servers = {{ .MemcachedServers }} | ||
# TODO jgilaber implement handling this option when we add tls support | ||
# cafile = /opt/stack/data/ca-bundle.pem | ||
project_domain_name = Default | ||
project_name = service | ||
user_domain_name = Default | ||
password = {{ .ServicePassword }} | ||
username = {{ .ServiceUser }} | ||
auth_url = {{ .KeystoneAuthURL }} | ||
interface = internal | ||
auth_type = password | ||
|
||
[oslo_concurrency] | ||
lock_path = /var/lib/watcher/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
watcher/ |
Oops, something went wrong.