Bug 1404293 - fedpkg fails - Could not execute new_sources, 302 Found
Summary: fedpkg fails - Could not execute new_sources, 302 Found
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 14:50 UTC by Martin Stransky
Modified: 2016-12-14 08:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 08:26:55 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.