On Wed, Jun 20, 2012 at 01:57:20PM +0000, dhaval.joshi(a)nomura.com wrote:
https://hostname/pulp/repos/BPM/DEV/custom/RHEL_57/base/repodata/repomd.xml: [Errno 14]
HTTP Error 403: Forbidden
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: RHEL57. Please
verify its path and try again
This means Katello (Pulp) was not able to authorize this consumer for
access to this repo. Questions:
1) Is consumer subscribed to the repository (product)?
The idea behind Katello consumer is it need to subscribe to content
first, then Katello (Candlepin) creates consumer certificate which is
used by yum to access content in Katello (Pulp).
Try to list subscriptions using rhsm (subscription-manager).
Under /etc/yum.repos.d there is file created redhat.repo ( I have
manually added contents, it should be automatically added by Katello is it ? )
Never edit this file. See?
# Managed by (rhsm) subscription-manager
It is managed by rhsm, your changes will be overwritten.
can you suggest what is missing for yum to list this pulp repository
using katello ?
Consume an entitlement, there are entitlements also for custom
repositories (if you use e.g. Fedora or CentOS). For Red Hat based
products you need to import manifest that has been exported from
Customer Portal.
I highly recommend to start with CloudForms User Guide from:
http://docs.redhat.com/docs/en-US/index.html
The concept is there. Good luck!
--
Later,
Lukas "lzap" Zapletal
#katello #systemengine