Rename releng01/02 to branched-composer and rawhide-composer.
This commit is contained in:
parent
9e8ae648ab
commit
8482fd40ac
16 changed files with 64 additions and 45 deletions
|
@ -24,11 +24,11 @@ config = dict(
|
||||||
"tcp://app02.%s:300%i" % (suffix, i)
|
"tcp://app02.%s:300%i" % (suffix, i)
|
||||||
for i in range(8)
|
for i in range(8)
|
||||||
],
|
],
|
||||||
"bodhi.releng01": [
|
"bodhi.branched-composer": [
|
||||||
"tcp://releng01.%s:3000" % suffix
|
"tcp://branched-composer.%s:3000" % suffix
|
||||||
],
|
],
|
||||||
"bodhi.releng02": [
|
"bodhi.rawhide-composer": [
|
||||||
"tcp://releng02.%s:3000" % suffix
|
"tcp://rawhide-composer.%s:3000" % suffix
|
||||||
],
|
],
|
||||||
"bodhi.app03": [
|
"bodhi.app03": [
|
||||||
"tcp://app03.%s:300%i" % (suffix, i)
|
"tcp://app03.%s:300%i" % (suffix, i)
|
||||||
|
|
|
@ -50,12 +50,12 @@ config = dict(
|
||||||
] + [
|
] + [
|
||||||
("shell.relepel01", "shell-relepel01.%s" % suffix),
|
("shell.relepel01", "shell-relepel01.%s" % suffix),
|
||||||
("shell.releng04", "shell-releng04.%s" % suffix),
|
("shell.releng04", "shell-releng04.%s" % suffix),
|
||||||
("shell.releng01", "shell-releng01.%s" % suffix),
|
("shell.branched-composer", "shell-releng01.%s" % suffix),
|
||||||
("shell.releng02", "shell-releng02.%s" % suffix),
|
("shell.rawhide-composer", "shell-releng02.%s" % suffix),
|
||||||
("bodhi.relepel01", "bodhi-relepel01.%s" % suffix),
|
("bodhi.relepel01", "bodhi-relepel01.%s" % suffix),
|
||||||
("bodhi.releng04", "bodhi-releng04.%s" % suffix),
|
("bodhi.releng04", "bodhi-releng04.%s" % suffix),
|
||||||
("bodhi.releng01", "bodhi-releng01.%s" % suffix),
|
("bodhi.branched-composer", "bodhi-releng01.%s" % suffix),
|
||||||
("bodhi.releng02", "bodhi-releng02.%s" % suffix),
|
("bodhi.rawhide-composer", "bodhi-releng02.%s" % suffix),
|
||||||
] + [
|
] + [
|
||||||
("shell.value01", "shell-value01.%s" % suffix),
|
("shell.value01", "shell-value01.%s" % suffix),
|
||||||
("shell.value03", "shell-value03.%s" % suffix),
|
("shell.value03", "shell-value03.%s" % suffix),
|
||||||
|
|
23
inventory/host_vars/branched-composer.phx2.fedoraproject.org
Normal file
23
inventory/host_vars/branched-composer.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
vmhost: bvirthost08.phx2.fedoraproject.org
|
||||||
|
eth0_ip: 10.5.125.66
|
||||||
|
eth1_ip: 10.5.127.53
|
||||||
|
volgroup: /dev/xenGuests
|
||||||
|
mem_size: 16384
|
||||||
|
num_cpus: 16
|
||||||
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
virt_install_command: virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||||
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||||
|
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||||
|
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
||||||
|
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
||||||
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
|
||||||
|
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none"
|
||||||
|
--network=bridge=br0,model=virtio --network=bridge=br1,model=virtio
|
||||||
|
--autostart --noautoconsole
|
||||||
|
|
||||||
|
# With 16 cpus, theres a bunch more kernel threads
|
||||||
|
nrpe_procs_warn: 900
|
||||||
|
nrpe_procs_crit: 1000
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
vmhost: buildvmhost-06.phx2.fedoraproject.org
|
|
||||||
eth0_ip: 10.5.125.66
|
|
||||||
|
|
|
@ -193,8 +193,8 @@ collab03.fedoraproject.org
|
||||||
collab04.fedoraproject.org
|
collab04.fedoraproject.org
|
||||||
|
|
||||||
[releng]
|
[releng]
|
||||||
#releng01.phx2.fedoraproject.org
|
branched-composer.phx2.fedoraproject.org
|
||||||
releng02.phx2.fedoraproject.org
|
rawhide-composer.phx2.fedoraproject.org
|
||||||
releng04.phx2.fedoraproject.org
|
releng04.phx2.fedoraproject.org
|
||||||
relepel01.phx2.fedoraproject.org
|
relepel01.phx2.fedoraproject.org
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# NOTE: most of these vars_path come from group_vars/releng or from hostvars
|
# NOTE: most of these vars_path come from group_vars/releng or from hostvars
|
||||||
|
|
||||||
- name: make releng systems
|
- name: make releng systems
|
||||||
hosts: releng02.phx2.fedoraproject.org
|
hosts: branched-composer.phx2.fedoraproject.org:rawhide-composer.phx2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
accelerate: "{{ accelerated }}"
|
accelerate: "{{ accelerated }}"
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# Once the instance exists, configure it.
|
# Once the instance exists, configure it.
|
||||||
|
|
||||||
- name: make releng server system
|
- name: make releng server system
|
||||||
hosts: releng02.phx2.fedoraproject.org
|
hosts: branched-composer.phx2.fedoraproject.org:rawhide-composer.phx2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
accelerate: "{{ accelerated }}"
|
accelerate: "{{ accelerated }}"
|
||||||
|
|
|
@ -17,13 +17,13 @@ config = dict(
|
||||||
# name of it's calling module to determine which endpoint definition
|
# name of it's calling module to determine which endpoint definition
|
||||||
# to use. This can be overridden by explicitly providing the name in
|
# to use. This can be overridden by explicitly providing the name in
|
||||||
# the initial call to fedmsg.init(...).
|
# the initial call to fedmsg.init(...).
|
||||||
"bodhi.releng01": [
|
"bodhi.branched-composer": [
|
||||||
"tcp://releng01.%s:3000" % suffix,
|
"tcp://branched-composer.%s:3000" % suffix,
|
||||||
"tcp://releng01.%s:3001" % suffix,
|
"tcp://branched-composer.%s:3001" % suffix,
|
||||||
],
|
],
|
||||||
"bodhi.releng02": [
|
"bodhi.rawhide-composer": [
|
||||||
"tcp://releng02.%s:3000" % suffix,
|
"tcp://rawhide-composer.%s:3000" % suffix,
|
||||||
"tcp://releng02.%s:3001" % suffix,
|
"tcp://rawhide-composer.%s:3001" % suffix,
|
||||||
],
|
],
|
||||||
"bodhi.bodhi01": [
|
"bodhi.bodhi01": [
|
||||||
"tcp://bodhi01.%s:300%i" % (suffix, i)
|
"tcp://bodhi01.%s:300%i" % (suffix, i)
|
||||||
|
|
|
@ -83,13 +83,13 @@ config = dict(
|
||||||
for i in range(1, 2)
|
for i in range(1, 2)
|
||||||
] + [
|
] + [
|
||||||
("shell.relepel01", "shell-relepel01.%s" % suffix),
|
("shell.relepel01", "shell-relepel01.%s" % suffix),
|
||||||
("shell.releng01", "shell-releng01.%s" % suffix),
|
("shell.branched-composer", "shell-branched-composer.%s" % suffix),
|
||||||
("shell.releng02", "shell-releng02.%s" % suffix),
|
("shell.rawhide-composer", "shell-rawhide-composer.%s" % suffix),
|
||||||
("shell.releng03", "shell-releng03.%s" % suffix),
|
("shell.releng03", "shell-releng03.%s" % suffix),
|
||||||
("shell.releng04", "shell-releng04.%s" % suffix),
|
("shell.releng04", "shell-releng04.%s" % suffix),
|
||||||
("bodhi.relepel01", "bodhi-relepel01.%s" % suffix),
|
("bodhi.relepel01", "bodhi-relepel01.%s" % suffix),
|
||||||
("bodhi.releng01", "bodhi-releng01.%s" % suffix),
|
("bodhi.branched-composer", "bodhi-branched-composer.%s" % suffix),
|
||||||
("bodhi.releng02", "bodhi-releng02.%s" % suffix),
|
("bodhi.rawhide-composer", "bodhi-rawhide-composer.%s" % suffix),
|
||||||
("bodhi.releng03", "bodhi-releng03.%s" % suffix),
|
("bodhi.releng03", "bodhi-releng03.%s" % suffix),
|
||||||
("bodhi.releng04", "bodhi-releng04.%s" % suffix),
|
("bodhi.releng04", "bodhi-releng04.%s" % suffix),
|
||||||
] + [
|
] + [
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
define host {
|
||||||
|
host_name branched-composer
|
||||||
|
alias branched-composer.phx2.fedoraproject.org
|
||||||
|
use defaulttemplate
|
||||||
|
address branched-composer.phx2.fedoraproject.org
|
||||||
|
parents bvirthost08
|
||||||
|
contact_groups build-sysadmin-email
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
define host {
|
||||||
|
host_name rawhide-composer
|
||||||
|
alias rawhide-composer.phx2.fedoraproject.org
|
||||||
|
use defaulttemplate
|
||||||
|
address rawhide-composer.phx2.fedoraproject.org
|
||||||
|
parents bvirthost06
|
||||||
|
}
|
|
@ -1,8 +0,0 @@
|
||||||
#define host {
|
|
||||||
# host_name releng01
|
|
||||||
# alias releng01.phx2.fedoraproject.org
|
|
||||||
# use defaulttemplate
|
|
||||||
# address releng01.phx2.fedoraproject.org
|
|
||||||
# parents buildvmhost-06
|
|
||||||
# contact_groups build-sysadmin-email
|
|
||||||
#}
|
|
|
@ -1,7 +0,0 @@
|
||||||
define host {
|
|
||||||
host_name releng02
|
|
||||||
alias releng02.phx2.fedoraproject.org
|
|
||||||
use defaulttemplate
|
|
||||||
address releng02.phx2.fedoraproject.org
|
|
||||||
parents bvirthost05
|
|
||||||
}
|
|
|
@ -14,7 +14,7 @@ define service {
|
||||||
#}
|
#}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name noc01, proxy01, proxy02, releng02, db01
|
host_name noc01, proxy01, proxy02, rawhide-composer, branched-composer, db01
|
||||||
service_description Disk Space /boot
|
service_description Disk Space /boot
|
||||||
check_command check_by_nrpe!check_disk_/boot
|
check_command check_by_nrpe!check_disk_/boot
|
||||||
use disktemplate
|
use disktemplate
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define service {
|
define service {
|
||||||
host_name releng02, koji03, releng04
|
host_name branched-composer, rawhide-composer, koji03
|
||||||
service_description Check NFS File Locks
|
service_description Check NFS File Locks
|
||||||
check_command check_by_nrpe!check_lock
|
check_command check_by_nrpe!check_lock
|
||||||
use criticaltemplate
|
use criticaltemplate
|
||||||
|
|
|
@ -129,12 +129,12 @@
|
||||||
# put cron job in for branched compose
|
# put cron job in for branched compose
|
||||||
- name: branched compose cron
|
- name: branched compose cron
|
||||||
action: copy src="{{ files }}/releng/branched" dest=/etc/cron.d/branched
|
action: copy src="{{ files }}/releng/branched" dest=/etc/cron.d/branched
|
||||||
when: inventory_hostname.startswith('releng01')
|
when: inventory_hostname.startswith('branched-composer')
|
||||||
|
|
||||||
# put cron job in for rawhide compose
|
# put cron job in for rawhide compose
|
||||||
- name: rawhide compose cron
|
- name: rawhide compose cron
|
||||||
action: copy src="{{ files }}/releng/rawhide" dest=/etc/cron.d/rawhide
|
action: copy src="{{ files }}/releng/rawhide" dest=/etc/cron.d/rawhide
|
||||||
when: inventory_hostname.startswith('releng02')
|
when: inventory_hostname.startswith('rawhide-composer')
|
||||||
|
|
||||||
- name: sudoers defaults
|
- name: sudoers defaults
|
||||||
action: copy src="{{ private }}/files/sudo/releng-sudoers" dest=/etc/sudoers mode=0440
|
action: copy src="{{ private }}/files/sudo/releng-sudoers" dest=/etc/sudoers mode=0440
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue