Project

Profile

Help

Story #175

closed

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

Added by jperrin@centos.org about 9 years ago. Updated almost 5 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:

Added by bmbouter almost 9 years ago

Revision 1347285c | View on GitHub

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

Deletes all docs so users will clearly see the warning banner

Actions #2

Updated by cperry@redhat.com almost 9 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.

Actions #3

Updated by mhrivnak almost 9 years ago

  • Priority changed from Normal to High
  • Sprint Candidate changed from No to Yes
Actions #4

Updated by mhrivnak almost 9 years ago

  • Groomed changed from No to Yes
Actions #5

Updated by ipanova@redhat.com almost 9 years ago

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

Updated by bmbouter almost 9 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
Actions #7

Updated by bmbouter almost 9 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?

Actions #8

Updated by mhrivnak almost 9 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?

Actions #9

Updated by ipanova@redhat.com almost 9 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

Added by ipanova@redhat.com almost 9 years ago

Revision 9c62850f | View on GitHub

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

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

Actions #10

Updated by ipanova@redhat.com almost 9 years ago

  • Status changed from POST to MODIFIED
Actions #11

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #12

Updated by pthomas@redhat.com over 8 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
Actions #13

Updated by pthomas@redhat.com over 8 years ago

  • Status changed from 6 to 5
Actions #14

Updated by ipanova@redhat.com over 8 years ago

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

Actions #15

Updated by rbarlow about 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #17

Updated by bmbouter about 6 years ago

  • Sprint set to May 2015
Actions #18

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (16)
Actions #19

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF