Bug 1404293

Summary: fedpkg fails - Could not execute new_sources, 302 Found
Product: [Fedora] Fedora Reporter: Martin Stransky <stransky>
Component: fedpkgAssignee: Dennis Gilmore <dennis>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bochecha, cqi, dennis, lsedlar, pbabinca, s
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 08:26:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Stransky 2016-12-13 14:50:17 UTC
Description of problem:
When I try to upload new sources, fedpkg upload returns:

Could not execute new_sources: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://src.fedoraproject.org/repo/pkgs/upload.cgi">here</a>.</p>
</body></html>

Package: fedpkg-1.25-1.fc25.noarch
It worked without problems a week ago.

Comment 1 Lubomír Sedlář 2016-12-13 15:00:25 UTC
A week ago was before flag day.
https://fedoraproject.org/wiki/ReleaseEngineering/FlagDay2016

Fedora infrastructure is now using Kerberos for authentication. Please make sure you have fedpkg-1.26-3, pyrpkg-1.47-5 and koji-1.11.0-1. Some of these may still be in updates-testing. (Unfortunatelly, this version of pyrpkg will break rhpkg. The fix is being worked on.)

There's a guide how to use Kerberos for Fedora:
https://fedoraproject.org/wiki/Infrastructure/Kerberos

Comment 2 Martin Stransky 2016-12-13 21:55:45 UTC
I installed the packages but kinit does not work for me:

kinit: Cannot find KDC for realm "FEDORAPROJECT.ORG" while getting initial credentials

I may need to update my /etc/krb5.conf file but there's no such info on the page. Is that supposed to work of the box? How is kerberos configured to obtain credentials from Fedora infrastructure servers?

Comment 3 Martin Stransky 2016-12-13 21:58:19 UTC
btw. This issue is blocking Firefox security update for all Fedora so let's fix that ASAP.

Comment 4 Martin Stransky 2016-12-13 22:07:15 UTC
Okay, adding "includedir /etc/krb5.conf.d/" to my krb5.conf fixed that. Would be great to have this in Fedora doc.

Comment 5 Lubomír Sedlář 2016-12-14 08:26:55 UTC
Good that it works for you.

I'll see what I can do about the documentation.