From 3786af74674b3c5078f06eddda33f5c731c5b136 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 27 Oct 2016 16:03:22 -0400 Subject: [PATCH] Disable our usage of the koji proxyuser feature. Unfortunately, the proxyuser method requires that we add all of the modularity developers to the ProxyDNs entry in the staging koji-hub config, and that's just not going to happen. We get to re-work this in this ticket anyways, https://pagure.io/fm-orchestrator/issue/112 While the proxyuser argument is in place, we can submit no builds to koji at all (as far as I can tell), so this blocks further development. --- module_build_service/builder.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/module_build_service/builder.py b/module_build_service/builder.py index 18d93572..98a42228 100644 --- a/module_build_service/builder.py +++ b/module_build_service/builder.py @@ -425,7 +425,12 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules principal=principal, keytab=keytab, ccache=ccache, - proxyuser=owner, + # Unfortunately, the proxyuser method requires that we add all + # of the modularity developers to the ProxyDNs entry in the + # staging koji-hub config, and that's just not going to happen. + # We get to re-work this in this ticket anyways, + # https://pagure.io/fm-orchestrator/issue/112 + #proxyuser=owner, ) else: koji_session.krb_login(ccache=ccache) @@ -434,7 +439,12 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules os.path.expanduser(koji_config.cert), None, os.path.expanduser(koji_config.serverca), - proxyuser=owner, + # Unfortunately, the proxyuser method requires that we add all + # of the modularity developers to the ProxyDNs entry in the + # staging koji-hub config, and that's just not going to happen. + # We get to re-work this in this ticket anyways, + # https://pagure.io/fm-orchestrator/issue/112 + #proxyuser=owner, ) else: raise ValueError("Unrecognized koji authtype %r" % authtype)