Bug 1054594

Summary: copr-fe.cloud.fedoraproject.org publishes .repo content which is not usable on Fedora 20
Product: [Fedora] Fedora Reporter: Jan Pazdziora <jpazdziora>
Component: coprAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: john.ellson, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-17 07:00:25 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:
Embargoed:

Description Jan Pazdziora 2014-01-17 05:45:09 UTC
Description of problem:

I have repo created in http://copr-fe.cloud.fedoraproject.org/coprs/adelton/identity_demo/. When I get the .repo file provided by copr, yum complains about Peer's certificate issuer has been marked as not trusted by the user.

Version-Release number of selected component (if applicable):

copr-fe.cloud.fedoraproject.org as of today.

How reproducible:

Deterministic.

Steps to Reproduce:
1. Install Fedora 20.
2. Run curl -o /etc/yum.repos.d/identity_demo.repo 'http://copr-fe.cloud.fedoraproject.org/coprs/adelton/identity_demo/repo/fedora-20-x86_64/'
3. Run yum install mod_authnz_pam.

Actual results:

https://copr-be.cloud.fedoraproject.org/results/adelton/identity_demo/fedora-20-x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."
Trying other mirror.
No package mod_authnz_pam available.
Error: Nothing to do

Expected results:

adelton-identity_demo                                    | 3.0 kB     00:00     
adelton-identity_demo/20/x86_64/primary_db                 |  20 kB   00:00     
Resolving Dependencies
--> Running transaction check
---> Package mod_authnz_pam.x86_64 0:0.7-1.fc20 will be installed
[...]

Additional info:

If copr-fe is using certificate which is not trusted by Fedora by default, either it should provide steps to make things work, or the baseurl shouldn't be https.

Filing in bugzilla because I have no idea if the http/https issue is just some hosting glitch or if the code has something to do with it.

I don't experience the problem on RHEL 6.

I believe I did not experience the problem on Fedora 20 in the past.

Comment 1 Miroslav Suchý 2014-01-17 07:00:25 UTC
Fixed in upstream in f0e5c21 and manually in copr.fedoraproject.org.

I will return the "https" in template once we get properly signed certificate.

Comment 2 Miroslav Suchý 2014-01-20 08:12:01 UTC
*** Bug 1055091 has been marked as a duplicate of this bug. ***