Ooops, my mistake.  It turns out that the commands I needed to run were:

pulp-admin -u admin -p ****** iso repo create ....
and
pulp-admin -u admin -p ******* iso repo sync run ....

(i.e replace "rpm" in the command with "iso")

Paul


On 06/10/2014 08:19 PM, Baird, Josh wrote:
It looks like they may be missing from CDN, but someone from RH would need to 
confirm.

Josh

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Paul Jochum
Sent: Tuesday, June 10, 2014 8:17 PM
To: [email protected]
Subject: [Pulp-list] using pulp to sync RHEL ISOs returns "Not Found"

Hi All

      I am running pulp version 2.3.1-1, and have been using it to sync the new 
RHEL 7 rpms and srpms today (and that has been working well).
However, when I try to get the ISOs, it doesn't work.

      I ran the command:

   rct cat-cert /etc/pki/entitlement/8176945192137976784.pem

      To see the list of entitlements that I have access to on my pulp server, 
which included the following:


Content:
          Type: file
          Name: Red Hat Enterprise Linux 7 Server (ISOs)
          Label: rhel-7-server-isos
          Vendor: Red Hat
          URL: /content/dist/rhel/server/7/$releasever/$basearch/iso
          GPG: http://
          Enabled: False
          Expires: 86400
          Required Tags: rhel-7-server
          Arches: x86_64


So, I created the repo:

# pulp-admin -u admin -p ******** rpm repo create \
--proxy-host=https://ih.proxy.lucent.com --proxy-port=8000 \
--repo-id=rhel-x86_64-server-7-isos \
--feed=https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/iso
\
--feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem \
--feed-key=/etc/pki/entitlement/8176945192137976784-key.pem \
--feed-cert=/etc/pki/entitlement/8176945192137976784.pem
Successfully created repository [rhel-x86_64-server-7-isos]


But, when I try to sync to it, it fails:
# pulp-admin -u admin -p admin rpm repo sync run
--repo-id=rhel-x86_64-server-7-isos
+----------------------------------------------------------------------+
            Synchronizing Repository [rhel-x86_64-server-7-isos]
+----------------------------------------------------------------------+

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

Downloading metadata...
[\]
... failed

Not Found

Any suggestions on how I can get the ISOs?

thanks,

Paul


_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to