2015-09-25 13:52:02 +00:00
|
|
|
---
|
|
|
|
# Define resources for this group of hosts here.
|
|
|
|
lvm_size: 20000
|
|
|
|
mem_size: 6144
|
|
|
|
num_cpus: 4
|
|
|
|
|
2015-10-02 11:56:13 +00:00
|
|
|
nrpe_procs_warn: 900
|
|
|
|
nrpe_procs_crit: 1000
|
|
|
|
|
2015-09-25 13:52:02 +00:00
|
|
|
# for systems that do not match the above - specify the same parameter in
|
|
|
|
# the host_vars/$hostname file
|
|
|
|
|
2015-09-28 18:50:29 +00:00
|
|
|
tcp_ports: [
|
|
|
|
# These four ports are for outbound fedmsg
|
|
|
|
3000, 3001, 3002, 3003,
|
|
|
|
]
|
2015-09-25 13:52:02 +00:00
|
|
|
|
2017-06-12 03:09:13 +00:00
|
|
|
fas_client_groups: sysadmin-noc,sysadmin-fedimg,sysadmin-releng,sysadmin-veteran
|
2016-12-03 20:37:56 +00:00
|
|
|
sudoers: "{{ private }}/files/sudo/autocloud-backend"
|
2015-09-25 13:52:02 +00:00
|
|
|
|
2016-06-28 17:27:27 +00:00
|
|
|
# These are hw boxes and don't use the NM ifconfig setup
|
|
|
|
ansible_ifcfg_blacklist: true
|
|
|
|
|
2016-03-02 14:46:22 +00:00
|
|
|
# These people get told when something goes wrong.
|
|
|
|
fedmsg_error_recipients:
|
|
|
|
- sysadmin-fedimg-members@fedoraproject.org
|
|
|
|
|
2015-09-25 13:52:02 +00:00
|
|
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
|
|
|
fedmsg_certs:
|
|
|
|
- service: shell
|
|
|
|
owner: root
|
|
|
|
group: sysadmin
|
2015-12-03 19:30:08 +00:00
|
|
|
can_send:
|
|
|
|
- logger.log
|
2015-09-25 13:52:02 +00:00
|
|
|
- service: autocloud
|
|
|
|
owner: root
|
|
|
|
group: fedmsg
|
|
|
|
can_send:
|
|
|
|
- autocloud.image
|
2015-12-17 14:37:51 +00:00
|
|
|
- autocloud.image.running
|
|
|
|
- autocloud.image.success
|
|
|
|
- autocloud.image.failed
|
|
|
|
- autocloud.image.queued
|
2016-07-18 18:00:31 +00:00
|
|
|
- autocloud.compose
|
|
|
|
- autocloud.compose.queued
|
|
|
|
- autocloud.compose.running
|
|
|
|
- autocloud.compose.complete
|
2015-10-01 19:20:25 +00:00
|
|
|
|
|
|
|
# For the MOTD
|
|
|
|
csi_security_category: Moderate
|
|
|
|
csi_primary_contact: Cloudmeisters - sysadmin-fedimg-members@fedoraproject.org
|
|
|
|
csi_purpose: Run the autocloud testing backend
|
|
|
|
csi_relationship: |
|
|
|
|
This runs one of the two autocloud testing backends
|
|
|
|
|
|
|
|
This host relies on:
|
|
|
|
- A postgres db server running on db01. The db is called 'autocloud'.
|
|
|
|
The two autocloud-backend nodes populate that database with results.
|
|
|
|
- fedmsg messages produced by koji indicating that new images were built.
|
|
|
|
- queries to koji directly to download that content.
|
|
|
|
|
|
|
|
Running locally we have:
|
|
|
|
- fedmsg-hub which receives the initial notification from koji via fedmsg.
|
|
|
|
- redis, which stores a work queue populated by fedmsg
|
|
|
|
- the autocloud daemon, which pulls work from the redis queue and uses tunir
|
|
|
|
to test images in vagrant.
|
|
|
|
|
|
|
|
There's a cronjob that kills vagrant every 10 minutes if it got stuck on the
|
|
|
|
last test.
|