From 75030e7f1919043dc5d3074c919cd0471c6555ab Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 11 Jan 2018 17:01:26 +0000 Subject: [PATCH] bodhi:owner-sync-pagure - stop trying to contact arm and ppc kojis. --- roles/bodhi2/backend/templates/owner-sync-pagure.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index e7b63d78db..a0e1a58fb9 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -304,6 +304,11 @@ def set_koji_ownership(tag, packages, arches, verbose=False): 'timeout': 60 * 10, } for arch in arches: + + # Something weird here. Where do 'arm' and 'ppc' come from? + if arch in ['arm', 'ppc']: + arch = 'primary' + if arch == 'primary': session = koji.ClientSession( 'https://koji{0}.fedoraproject.org/kojihub'.format(ENV_SUFFIX),