Project

Profile

Help

Issue #577

closed

setting --serve-http at repo create only publishes repository to http and not https

Added by pthomas@redhat.com about 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.5
Platform Release:
2.6.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

If you set --serve-http to true at repo create, then the repo is only published over http and not https

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

[root@cloud-qe-15 ~]# rpm -qa pulp-server
pulp-server-2.5.0-0.7.beta.el7.noarch
[root@cloud-qe-15 ~]#

How reproducible:

Steps to Reproduce:
1.create a repo with --serve-http
2.run repo sync
3.check in https & http ( See the files are only published under http)

Actual results:

[root@cloud-qe-15 ~]# pulp-admin rpm repo create --repo-id pulp --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/pulp_unittest/ --serve-http true
Successfully created repository [pulp]

[root@cloud-qe-15 ~]#
[root@cloud-qe-15 ~]#

[root@cloud-qe-15 ~]#
[root@cloud-qe-15 ~]# pulp-admin rpm repo sync run --repo-id pulp
--------------------------------------------------------------------
Synchronizing Repository [pulp]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[|]
... completed

Downloading repository content...
[==================================================] 100%
RPMs: 3/3 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 3/3 items
... completed

Importing errata...
[\]
... completed

Importing package groups/categories...
[-]
... completed

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[==================================================] 100%
3 of 3 items
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[==================================================] 100%
52 of 52 items
... completed

Publishing Comps file
[==================================================] 100%
5 of 5 items
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

[root@cloud-qe-15 ~]# ls l /var/lib/pulp/published/yum/https/repos/repos/pulp/pulp/demo_repos/
total 4
-rw-r--r-
. 1 apache apache 3 Oct 8 09:48 listing
lrwxrwxrwx. 1 apache apache 68 Oct 8 09:48 zoo > /var/lib/pulp/published/yum/master/yum_distributor/zoo/1412776107.85
[root@cloud-qe-15 ~]#
[root@cloud-qe-15 ~]#
[root@cloud-qe-15 ~]# ls -l /var/lib/pulp/published/yum/http/repos/repos/pulp/pulp/demo_repos/
total 4
-rw-r--r-
. 1 apache apache 13 Oct 13 10:08 listing
lrwxrwxrwx. 1 apache apache 69 Oct 13 10:08 pulp_unittest -> /var/lib/pulp/published/yum/master/yum_distributor/pulp/1413209296.27
[root@cloud-qe-15 ~]#

Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #1152201 +

Also available in: Atom PDF