buildhw-p10-02.stg: add new power10 stg lpar

This isn't really a 'buildhw', but it's pretty close.
It's an lpar on a power10 box.

I'm making it a hw builder in staging because if we tried to make
it a bvmhost and put vm's on it, we would need to setup macvtap, which
would be fine, but extra complication where we don't really need it in
staging currently.

01 will be created once we reconfigure the one thats currently serving
as bvmhost-p10-01. Which will happen after we move 1/2 the builders
off to a new bvmhost-p10-02 lpar on this same second power10.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2025-11-03 16:21:55 -08:00
parent 728ec28a44
commit 57f4a541a0
3 changed files with 85 additions and 2 deletions

View File

@@ -98,6 +98,10 @@ buildvm-s390x-01.stg.s390.fedoraproject.org
#buildvm-ppc64le-04.stg.rdu3.fedoraproject.org
#buildvm-ppc64le-05.stg.rdu3.fedoraproject.org
[buildhw_ppc64le_stg]
#buildhw-p10-01.stg.rdu3.fedoraproject.org
buildhw-p10-02.stg.rdu3.fedoraproject.org
[buildvm_ppc64le_stg_rdu3]
#buildvm-ppc64le-01.stg.rdu3.fedoraproject.org
#buildvm-ppc64le-02.stg.rdu3.fedoraproject.org
@@ -105,6 +109,10 @@ buildvm-s390x-01.stg.s390.fedoraproject.org
#buildvm-ppc64le-04.stg.rdu3.fedoraproject.org
#buildvm-ppc64le-05.stg.rdu3.fedoraproject.org
[buildhw_ppc64le_stg_rdu3]
#buildhw-p10-01.stg.rdu3.fedoraproject.org
buildhw-p10-02.stg.rdu3.fedoraproject.org
[buildvm_aarch64]
buildvm-a64-01.rdu3.fedoraproject.org
buildvm-a64-02.rdu3.fedoraproject.org
@@ -287,6 +295,10 @@ buildhw-x86-10.rdu3.fedoraproject.org
buildhw-x86-12.rdu3.fedoraproject.org
buildhw-x86-13.rdu3.fedoraproject.org
[buildhw_stg]
#buildhw-p10-01.rdu3.fedoraproject.org
buildhw-p10-02.rdu3.fedoraproject.org
[buildhw_rdu3]
buildhw-a64-01.rdu3.fedoraproject.org
buildhw-a64-02.rdu3.fedoraproject.org
@@ -306,6 +318,10 @@ buildhw-x86-10.rdu3.fedoraproject.org
buildhw-x86-12.rdu3.fedoraproject.org
buildhw-x86-13.rdu3.fedoraproject.org
[buildhw_stg_rdu3]
#buildhw-p10-01.rdu3.fedoraproject.org
buildhw-p10-02.rdu3.fedoraproject.org
#
# These are primary koji builders.
#
@@ -429,6 +445,7 @@ buildvm_x86_riscv_rdu3
[builders_rdu3_stg:children]
buildvm_stg_rdu3
buildhw_stg_rdu3
buildvm_aarch64_stg_rdu3
buildvm_ppc64le_stg_rdu3

View File

@@ -0,0 +1,66 @@
---
bmc:
ip_address: 10.16.160.140
ping: true
http: false
https: false
br0_ipv4: 10.16.167.57
br0_ipv4_gw: 10.16.167.254
br0_ipv4_nm: 24
br0_port0_mac: "{{ mac1 }}"
datacenter: rdu3
dns1: 10.16.163.33
dns2: 10.16.163.34
dns_search1: "stg.rdu3.fedoraproject.org"
dns_search2: "fedoraproject.org"
has_ipv4: yes
mac0: be:86:e2:1f:1f:01
mac1: be:86:e2:1f:1f:00
network_connections:
# Bridge profile
- name: br0
state: up
type: bridge
mtu: 1500
autoconnect: yes
ip:
address:
- "{{ br0_ipv4 }}/{{ br0_ipv4_nm }}"
dhcp4: no
dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ br0_ipv4_gw }}"
# builder vlan
- name: 707_vlan
type: vlan
vlan:
id: 707
parent: bond0
controller: br0
state: up
# Bond profile
- name: bond0
type: bond
interface_name: bond0
mtu: 1500
controller: br0
bond:
mode: active-backup
# Port profile for the 1st Ethernet device
- name: bond0-port1
mac: "{{ mac0 }}"
type: ethernet
controller: bond0
state: up
mtu: 1500
# Port profile for the 2nd Ethernet device
- name: bond0-port2
mac: "{{ mac1 }}"
type: ethernet
controller: bond0
state: up
mtu: 1500

View File

@@ -1,10 +1,10 @@
---
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml"
vars:
myhosts: "buildhw:bkernel"
myhosts: "buildhw:bkernel:buildhw_stg"
- name: make koji builder(s) on raw hw
hosts: buildhw:bkernel
hosts: buildhw:bkernel:buildhw_stg
remote_user: root
gather_facts: true