[Pulp-list] Feed Paths for RHN HTB feeds?

Paul Jochum paul.jochum at alcatel-lucent.com
Fri Oct 18 17:28:37 UTC 2013

On 10/18/2013 08:13 AM, Dennis Gregorovic wrote:
> On Thu, 2013-10-17 at 21:44 -0500, Paul Jochum wrote:
>> Hi All:
>>       I have been asked to add Red Hat's HTB (high touch beta) feeds to
>> my pulp server.  Does anyone know the feed paths for them?  I did try
>> Dennis Gregorovic's sugestion of "subscription-manager repos --list",
>> but that didn't help for the HTB feeds.
>> thanks in advance,
>> Paul
> Hi Paul,
> Grep for /htb in the output of "subscription-manager repos --list".  If
> you don't see anything, you'll need to get a HTB subscription.
> Cheers
> -- Dennis
Hi Dennis:

     I added the htb subscription:
[root at lss-pulp01 ~]# subscription-manager 
--proxy=http://ih.proxy.lucent.com:8000 attach 
Successfully attached a subscription for: High Touch Beta for Red Hat 
Enterprise Linux Server (4 sockets)

and can now grep for them:
[root at lss-pulp01 ~]# subscription-manager 
--proxy=http://ih.proxy.lucent.com:8000 repos --list > /tmp/repos
[root at lss-pulp01 ~]# grep -i htb /tmp/repos
Repo ID:   rhel-6-server-optional-htb-rpms
Repo Name: Red Hat Enterprise Linux 6 Server - Optional HTB (RPMs)
Repo URL: 
Repo ID:   rhel-scalefs-for-rhel-6-server-htb-debug-rpms
Repo Name: Red Hat Enterprise Linux Scalable File System (for RHEL 6 
Server) HTB (Debug RPMs)
Repo URL: 
Repo ID:   rhel-rs-for-rhel-6-server-htb-debug-rpms
Repo Name: Red Hat Enterprise Linux Resilient Storage (for RHEL 6 
Server) HTB (Debug RPMs)
Repo URL: 

I can also perform the repo create (note, replaced the real key file 
names with xxx):
[root at lss-pulp01 ~]# pulp-admin -u admin -p admin rpm repo create 
--proxy-host=https://ih.proxy.lucent.com --proxy-port=8000 
--feed=https://cdn.redhat.com/content/htb/rhel/server/6/6Server/x86_64/os --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem 
Successfully created repository [rhel-x86_64-server-6-htb]

but, when I attempt to sync them, they fail:
[root at lss-pulp01 ~]# pulp-admin -u admin -p admin rpm repo sync run 
           Synchronizing Repository [rhel-x86_64-server-6-htb]

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading metadata...
... failed


The following is from /var/log/pulp/pulp.log:
2013-10-18 12:14:09,023 nectar.downloaders.threaded:ERROR: Download of 
failed with code 403: Forbidden
2013-10-18 12:14:09,023 pulp_rpm.plugins.importers.yum.sync:ERROR: sync 
Traceback (most recent call last):
line 109, in run
     metadata_files = self.get_metadata()
line 194, in get_metadata
     raise FailedException(str(e))
FailedException: Forbidden
2013-10-18 12:14:09,028 pulp.server.dispatch.task:ERROR: Importer 
indicated a failed response
Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/task.py", 
line 138, in _run
     result = call(*args, **kwargs)
line 117, in sync
     raise PulpExecutionException(_('Importer indicated a failed response'))
PulpExecutionException: Importer indicated a failed response
2013-10-18 12:14:09,028 pulp.server.dispatch.task:INFO: FAILURE: Task 
e6baf8fc-cc94-4bbb-968b-bef7ab30e8d4: CallRequest: 
RepoSyncManager.sync(u'rhel-x86_64-server-6-htb', sync_config_override=None)

More information about the Pulp-list mailing list