Project

Profile

Help

Story #175

As a user, I can specify mirrorlists for rpm repository feeds

Added by jperrin@centos.org over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
May 2015
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #869370 ++

Description of problem:

Description of problem:
Currently the rpm repository create --feed does not support mirrorlist urls, which are commonplace in yum.

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

How reproducible:
Always

Steps to Reproduce:
1. use mirrorlist as --feed url
2.
3.

Actual results:
repository is created, but broken.

Expected results:
pulp repository is able to mirror from any url delivered via mirrorlist.

Additional info:

Associated revisions

Revision 1347285c View on GitHub
Added by bmbouter over 6 years ago

Merge pull request #175 from bmbouter/693-delete-all-docs-except-index

Deletes all docs so users will clearly see the warning banner

Revision 9c62850f View on GitHub
Added by ipanova@redhat.com over 6 years ago

As a user, I can specify mirrorlists for rpm repository feeds.

closes #175 https://pulp.plan.io/issues/175

History

#2 Updated by cperry@redhat.com over 6 years ago

  • Groomed set to No
  • Sprint Candidate set to No

Can we get this done over next few months? Would be nice to see this. Cliff.

#3 Updated by mhrivnak over 6 years ago

  • Priority changed from Normal to High
  • Sprint Candidate changed from No to Yes

#4 Updated by mhrivnak over 6 years ago

  • Groomed changed from No to Yes

#5 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

#6 Updated by bmbouter over 6 years ago

  • Subject changed from [RFE] Request for the support of mirrorlists for rpm repository feeds to As a user, I can specify mirrorlists for rpm repository feeds

#7 Updated by bmbouter over 6 years ago

Should mirrorlist be a boolean that changes the semantic of --feed or should --mirrorlist take a url itself?

If --mirrorlist is a URL, how would --mirrorlist and --feed interact when they are both specified?

#8 Updated by mhrivnak over 6 years ago

Probably the simplest user experience would be if the feed could be either a "baseurl" or a "mirrorlist" as defined in yum.conf. Hopefully the importer can easily detect which it is. Is there a need to add a new setting?

#9 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST
  • Sprint/Milestone set to 16
  • % Done changed from 0 to 100
  • Platform Release set to 2.7.0

#10 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED

#11 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#12 Updated by pthomas@redhat.com about 6 years ago

  • Status changed from 5 to 6

verified

[root@mgmt4 ~]# pulp-admin rpm repo create --repo-id centos7 --feed http://mirror.mojohost.com/centos/7/os/x86_64/
Successfully created repository [centos7]

[root@mgmt4 ~]# pulp-admin rpm repo sync run --repo-id centos7
+----------------------------------------------------------------------+
                   Synchronizing Repository [centos7]
+----------------------------------------------------------------------+

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

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

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

... completed

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

Importing errata...
[-]
... completed

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

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

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

Publishing Delta RPMs
... skipped

Publishing Errata
[-]
... completed

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

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[/]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

#13 Updated by pthomas@redhat.com about 6 years ago

  • Status changed from 6 to 5

#14 Updated by ipanova@redhat.com about 6 years ago

Preethi, please check the steps I provided you and check all the scenarios. Ping me in case you will need assistance.

#15 Updated by rbarlow over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#17 Updated by bmbouter over 3 years ago

  • Sprint set to May 2015

#18 Updated by bmbouter over 3 years ago

  • Sprint/Milestone deleted (16)

#19 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF