From 900c737824fa018bfb1acb9fa35dfff03024ce73 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 22 Jul 2014 23:17:14 +0000 Subject: [PATCH] and then we added portmap so nfs would work --- inventory/group_vars/koji-stg | 4 +- .../dhcpd.conf.noc01.phx2.fedoraproject.org | 317 +++++++++--------- 2 files changed, 168 insertions(+), 153 deletions(-) diff --git a/inventory/group_vars/koji-stg b/inventory/group_vars/koji-stg index 6e68c04d27..13e761972e 100644 --- a/inventory/group_vars/koji-stg +++ b/inventory/group_vars/koji-stg @@ -6,10 +6,12 @@ num_cpus: 2 # for systems that do not match the above - specify the same parameter in # the host_vars/$hostname file -tcp_ports: [ 80, 443, 2049, +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 diff --git a/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org b/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org index 30585e7efb..b65baf70d5 100644 --- a/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org +++ b/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org @@ -1,6 +1,171 @@ server-identifier noc01.phx2.fedoraproject.org; ddns-update-style none; +subnet 10.5.130.0 netmask 255.255.255.0 { + allow booting; + allow bootp; + + option domain-name "mgmt.fedoraproject.org phx2.fedoraproject.org"; + option domain-name-servers 10.5.126.21, 10.5.126.22; + option routers 10.5.130.254; + option log-servers 10.5.126.29; + + host bc1-mgmt { + hardware ethernet 00:11:25:c3:65:46; + fixed-address 10.5.130.221; + option host-name "bc01-mgmt"; + } + + host junk01-mgmt { + hardware ethernet e4:1f:13:29:24:95; + fixed-address 10.5.130.235; + option host-name "junk01-mgmt"; + } + + host junk02-mgmt { + hardware ethernet e4:1f:13:29:24:95; + fixed-address 10.5.130.236; + option host-name "junk02-mgmt"; + } + host qa01-mgmt { + hardware ethernet 00:21:5e:cb:4f:f1; + fixed-address 10.5.130.185; + option host-name "qa01-mgmt"; + } + + host qa02-mgmt { + hardware ethernet 00:21:5e:ca:c6:b5; + fixed-address 10.5.130.186; + option host-name "qa02-mgmt"; + } + host qa03-mgmt { + hardware ethernet 00:21:5e:ca:c7:65; + fixed-address 10.5.130.187; + option host-name "qa03-mgmt"; + } + host qa04-mgmt { + hardware ethernet 00:21:5e:cb:28:15; + fixed-address 10.5.130.188; + option host-name "qa04-mgmt"; + } + host qa05-mgmt { + hardware ethernet 00:21:5e:cb:61:b9; + fixed-address 10.5.130.189; + option host-name "qa05-mgmt"; + option routers 10.5.130.254; + } + + host qa06-mgmt { + hardware ethernet 00:21:5e:ca:51:2d; + fixed-address 10.5.130.190; + option host-name "qa06-mgmt"; + } + + host qa07-mgmt { + hardware ethernet e4:1f:13:e7:40:01; + fixed-address 10.5.130.191; + option host-name "qa07-mgmt"; + } + + host qa08-mgmt { + hardware ethernet e4:1f:13:e7:35:95; + fixed-address 10.5.130.192; + option host-name "qa08-mgmt"; + } + + + host virthost-comm01-mgmt { + hardware ethernet 5c:f3:fc:53:db:fd; + fixed-address 10.5.130.207; + option host-name "virthost-comm01-mgmt"; + } + + host unknown00-mgmt { + hardware ethernet 00:21:5e:5b:19:96; + fixed-address 10.5.130.240; + option host-name "unknown00-mgmt"; + } + + host unknown01-mgmt { + hardware ethernet 00:1a:64:77:ad:3c; + fixed-address 10.5.130.241; + option host-name "unknown01-mgmt"; + } + + host unknown02-mgmt { + hardware ethernet 00:1a:64:2c:81:02; + fixed-address 10.5.130.242; + option host-name "unknown02-mgmt"; + } + + host unknown03-mgmt { + hardware ethernet 00:1a:64:6c:e4:65; + fixed-address 10.5.130.243; + option host-name "unknown03-mgmt"; + } + + host unknown04-mgmt { + hardware ethernet 00:1a:64:9a:c2:d2; + fixed-address 10.5.130.244; + option host-name "unknown04-mgmt"; + } + + host unknown05-mgmt { + hardware ethernet 00:1a:64:9a:d9:b7; + fixed-address 10.5.130.245; + option host-name "unknown05-mgmt"; + } + + host unknown06-mgmt { + hardware ethernet 00:1a:64:9a:da:7f; + fixed-address 10.5.130.246; + option host-name "unknown06-mgmt"; + } + + host unknown07-mgmt { + hardware ethernet 00:1a:64:cc:eb:be; + fixed-address 10.5.130.247; + option host-name "unknown07-mgmt"; + } + + host unknown08-mgmt { + hardware ethernet 00:1a:64:9a:c1:97; + fixed-address 10.5.130.231; + option host-name "unknown08-mgmt"; + } + + host rack50-kvm { + hardware ethernet 00:c0:b7:c5:37:db; + fixed-address 10.5.130.246; + option host-name "rack50-kvm"; + } + + host temp01-mgmt { + hardware ethernet ac:f2:c5:ed:87:0d; + fixed-address 10.5.130.210; + option host-name "temp01-mgmt.phx2.fedoraproject.org"; + } + + host temp02-mgmt { + hardware ethernet a4:93:4c:aa:e2:37; + fixed-address 10.5.130.211; + option host-name "temp02-mgmt.phx2.fedoraproject.org"; + } + + host ppc-comm03-mgmt { + hardware ethernet 5c:f3:fc:00:43:d8; + fixed-address 10.5.130.233; + option host-name "ppc-comm03-mgmt"; + } + + host ppc-build01-mgmt { + hardware ethernet 5c:f3:fc:2e:92:fe; + fixed-address 10.5.130.215; + option host-name "ppc-build01-mgmt"; + } + +} + subnet 10.5.126.0 netmask 255.255.255.0 { allow booting; allow bootp; @@ -12,11 +177,6 @@ subnet 10.5.126.0 netmask 255.255.255.0 { # option vendor-class-identifier "PXEClient"; # option vendor-encapsulated-options 09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff; - host bc1-mgmt { - hardware ethernet 00:11:25:c3:65:46; - fixed-address 10.5.126.221; - option host-name "bc01-mgmt"; - } host virthost02 { hardware ethernet e4:1f:13:6b:13:98; @@ -146,142 +306,6 @@ subnet 10.5.126.0 netmask 255.255.255.0 { option host-name "junk02"; } - host junk01-mgmt { - hardware ethernet e4:1f:13:29:24:95; - fixed-address 10.5.126.235; - option host-name "junk01-mgmt"; - } - - host junk02-mgmt { - hardware ethernet e4:1f:13:29:24:95; - fixed-address 10.5.126.236; - option host-name "junk02-mgmt"; - } - - host qa01-mgmt { - hardware ethernet 00:21:5e:cb:4f:f1; - fixed-address 10.5.126.185; - option host-name "qa01-mgmt"; - } - - host qa02-mgmt { - hardware ethernet 00:21:5e:ca:c6:b5; - fixed-address 10.5.126.186; - option host-name "qa02-mgmt"; - } - host qa03-mgmt { - hardware ethernet 00:21:5e:ca:c7:65; - fixed-address 10.5.126.187; - option host-name "qa03-mgmt"; - } - host qa04-mgmt { - hardware ethernet 00:21:5e:cb:28:15; - fixed-address 10.5.126.188; - option host-name "qa04-mgmt"; - } - host qa05-mgmt { - hardware ethernet 00:21:5e:cb:61:b9; - fixed-address 10.5.126.189; - option host-name "qa05-mgmt"; - option routers 10.5.126.254; - } - - host qa06-mgmt { - hardware ethernet 00:21:5e:ca:51:2d; - fixed-address 10.5.126.190; - option host-name "qa06-mgmt"; - } - - host qa07-mgmt { - hardware ethernet e4:1f:13:e7:40:01; - fixed-address 10.5.126.191; - option host-name "qa07-mgmt"; - } - - host qa08-mgmt { - hardware ethernet e4:1f:13:e7:35:95; - fixed-address 10.5.126.192; - option host-name "qa08-mgmt"; - } - - - host virthost-comm01-mgmt { - hardware ethernet 5c:f3:fc:53:db:fd; - fixed-address 10.5.126.207; - option host-name "virthost-comm01-mgmt"; - } - - host unknown00-mgmt { - hardware ethernet 00:21:5e:5b:19:96; - fixed-address 10.5.126.240; - option host-name "unknown00-mgmt"; - } - - host unknown01-mgmt { - hardware ethernet 00:1a:64:77:ad:3c; - fixed-address 10.5.126.241; - option host-name "unknown01-mgmt"; - } - - host unknown02-mgmt { - hardware ethernet 00:1a:64:2c:81:02; - fixed-address 10.5.126.242; - option host-name "unknown02-mgmt"; - } - - host unknown03-mgmt { - hardware ethernet 00:1a:64:6c:e4:65; - fixed-address 10.5.126.243; - option host-name "unknown03-mgmt"; - } - - host unknown04-mgmt { - hardware ethernet 00:1a:64:9a:c2:d2; - fixed-address 10.5.126.244; - option host-name "unknown04-mgmt"; - } - - host unknown05-mgmt { - hardware ethernet 00:1a:64:9a:d9:b7; - fixed-address 10.5.126.245; - option host-name "unknown05-mgmt"; - } - - host unknown06-mgmt { - hardware ethernet 00:1a:64:9a:da:7f; - fixed-address 10.5.126.246; - option host-name "unknown06-mgmt"; - } - - host unknown07-mgmt { - hardware ethernet 00:1a:64:cc:eb:be; - fixed-address 10.5.126.247; - option host-name "unknown07-mgmt"; - } - - host unknown08-mgmt { - hardware ethernet 00:1a:64:9a:c1:97; - fixed-address 10.5.126.231; - option host-name "unknown08-mgmt"; - } - - host rack50-kvm { - hardware ethernet 00:c0:b7:c5:37:db; - fixed-address 10.5.126.246; - option host-name "rack50-kvm"; - } - - host temp01-mgmt { - hardware ethernet ac:f2:c5:ed:87:0d; - fixed-address 10.5.126.210; - option host-name "temp01-mgmt.phx2.fedoraproject.org"; - } - - host temp02-mgmt { - hardware ethernet a4:93:4c:aa:e2:37; - fixed-address 10.5.126.211; - option host-name "temp02-mgmt.phx2.fedoraproject.org"; - } host temp-install03 { hardware ethernet ac:f2:c5:ed:87:10; @@ -291,17 +315,6 @@ subnet 10.5.126.0 netmask 255.255.255.0 { next-server 10.5.126.41; } - host ppc-comm03-mgmt { - hardware ethernet 5c:f3:fc:00:43:d8; - fixed-address 10.5.126.233; - option host-name "ppc-comm03-mgmt"; - } - - host ppc-build01-mgmt { - hardware ethernet 5c:f3:fc:2e:92:fe; - fixed-address 10.5.126.215; - option host-name "ppc-build01-mgmt"; - } range 10.5.126.170 10.5.126.175; next-server 10.5.126.41;