Bug 795892 - RFE: Support username/password authenticated repos
Summary: RFE: Support username/password authenticated repos
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-21 18:31 UTC by Chris St. Pierre
Modified: 2015-02-28 23:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-19 00:48:05 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 163 0 None None None Never

Description Chris St. Pierre 2012-02-21 18:31:13 UTC
Description of problem:

Some repos (e.g., Novell's SLES repos) require a username and password to access them.  It would be swell if Pulp could support this; as it stands, there's no obvious way to sync, e.g., https://username:password@nu.novell.com/repo/$RCE/SLE11-SDK-SP1-Pool/sle-11-x86_64/rpm/x86_64/.

I tried entering the feed URL with https://username@password@... in it, but that didn't work.

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

0.0.254-8

How reproducible:

Every time.

Steps to Reproduce:
1. Try to sync a repo that requires username/password authn.
2. Fail.
3. Cry in your whiskey.
  
Actual results:

Alcoholism.

Expected results:

Sync.

Additional info:

Comment 1 Edgars Mazurs 2014-11-20 08:48:11 UTC
Hi

I also wanted to sync SLES repos and here is what worked for me in case anyone else need it:

pulp-admin rpm repo create --repo-id=SLE11-SDK-SP3-Pool-x86_64 --feed="https://user:password@nu.novell.com/repo/\$RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64/"

Note that you need to escape $ character in feed url. Also url must contain path to directory which contains repodata folder.

BR
Edgars

Comment 2 Brian Bouterse 2015-02-19 00:48:05 UTC
Moved to https://pulp.plan.io/issues/163


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