Add a koji01/koji02 rhel7 instances. Will migrate to these from koji03/04 at some point.

This commit is contained in:
Kevin Fenzi 2015-01-05 21:14:34 +00:00
parent e169745c67
commit 3e2c98b670
4 changed files with 60 additions and 0 deletions

36
inventory/group_vars/koji Normal file
View file

@ -0,0 +1,36 @@
---
# Define resources for this group of hosts here.
lvm_size: 30000
mem_size: 16384
num_cpus: 16
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80, 443, 111, 2049,
# These 8 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007]
udp_ports: [ 111, 2049 ]
fas_client_groups: sysadmin-releng
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: koji
owner: root
group: apache
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid"
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

View file

@ -0,0 +1,11 @@
---
nm: 255.255.255.0
gw: 10.5.125.254
dns: 10.5.126.21
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/
volgroup: /dev/xenGuests
eth0_ip: 10.5.125.61
eth1_ip: 10.5.127.38
vmhost: bvirthost08.phx2.fedoraproject.org
datacenter: phx2

View file

@ -0,0 +1,11 @@
---
nm: 255.255.255.0
gw: 10.5.125.254
dns: 10.5.126.21
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/
volgroup: /dev/xenGuests
eth0_ip: 10.5.125.62
eth1_ip: 10.5.127.39
vmhost: virthost10.phx2.fedoraproject.org
datacenter: phx2

View file

@ -279,6 +279,8 @@ kernel02.qa.fedoraproject.org
keys02.fedoraproject.org
[koji]
koji01.phx2.fedoraproject.org
koji02.phx2.fedoraproject.org
koji03.phx2.fedoraproject.org
koji04.phx2.fedoraproject.org
kojipkgs02.phx2.fedoraproject.org