diff --git a/inventory/group_vars/copr_dev_aws b/inventory/group_vars/copr_dev_aws index 73c47647af..8e621022f1 100644 --- a/inventory/group_vars/copr_dev_aws +++ b/inventory/group_vars/copr_dev_aws @@ -51,4 +51,7 @@ builders: ppc64le_hypervisor_01: ppc64le: [2, 1, 1] + ppc64le_hypervisor_02: + ppc64le: [2, 1, 1] + rpm_vendor_copr_name: Fedora Copr (devel) diff --git a/roles/copr/backend/templates/provision/libvirt-new b/roles/copr/backend/templates/provision/libvirt-new index 5596f1ebd9..bbc614958f 100755 --- a/roles/copr/backend/templates/provision/libvirt-new +++ b/roles/copr/backend/templates/provision/libvirt-new @@ -61,6 +61,13 @@ def get_hv_identification_from_pool_id(pool_id): ".rdu-cc.fedoraproject.org/system", "ppc64le", ) + if pool_id.startswith("copr_hv_ppc64le_01"): + return ( + 5, + "qemu+ssh://copr@vmhost-p08-copr02" + ".rdu-cc.fedoraproject.org/system", + "ppc64le", + ) raise Exception("can't convert pool_id to hv ID") diff --git a/roles/copr/backend/templates/resalloc/pools.yaml b/roles/copr/backend/templates/resalloc/pools.yaml index d19387a9bb..8cfba1483c 100644 --- a/roles/copr/backend/templates/resalloc/pools.yaml +++ b/roles/copr/backend/templates/resalloc/pools.yaml @@ -88,8 +88,8 @@ copr_hv_x86_64_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: {% endif %} {% endfor %} -# x86_64 hypervisors -{% for hv in ["01"] %} +# Power hypervisors +{% for hv in ["01", "02"] %} {% if "ppc64le_hypervisor_" + hv in builders %} copr_hv_ppc64le_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: