Adding A Third Party Repository That Is Protected With A User Name And Password In Red Hat Satellite 5.x.

Solution In Progress - Updated -

Issue

Have read the How to add third party repositories (e.g. EPEL for Red Hat Enterprise Linux 6) in Red Hat Satellite 5.x? knowledge centered solution and have attempted to add a repository that is protected by a user name (jason@customer.com) & password (jasonspassword). The URL of the repository being entered in Satellite 5's Repository URL field is:

http://jason@customer.com:jasonspassword@repo.example.com/path/to/content

However, upon trying to sync the repository, this error is encountered:

Sync started: Tue Jul 26 09:31:38 2016
['/usr/bin/spacewalk-repo-sync', '--channel', 'example_repo', '--type', 'yum', '']
Repo URL: http://jason@customer.com:jasonspassword@repo.example.com/path/to/content
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: example_repo. Please verify its path and try again
Sync completed.
Total time: 0:00:00

Environment

  • Red Hat Satellite 5.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.