[katello-devel] Retrieving "listing" files from pulp

Ivan Nečas inecas at redhat.com
Thu Oct 18 08:20:11 UTC 2012


On 10/17/2012 08:58 PM, Tom McKay wrote:
> Working on a BZ [1] where the available releases are not being displayed in subscription-manager. These are fetched from the CDN, which in the case of katello is pulp, via the /listing files
>
> /content/dist/rhel/server/6/listing
> 6.1
> 6.2
> 6.3
> 6Server
>
> This is what sub-mgr is effectively doing:
>
> %  curl --stderr /dev/null --insecure --tlsv1 --cert /etc/pki/entitlement/1203469290095408448.pem --key /etc/pki/entitlement/1203469290095408448-key.pem https://se-rhelbox.usersys.redhat.com/pulp/repos/Test_Org_1349760599/Dev//content/dist/rhel/server/5/listing
>
> But this results in a 403.
>
> A second issue is that there are no listing files at all in the pulp repos. ie. server/5/listing does not exist compared to what's in production and stage cdn.
That's the issue. Pulp doesn't support listing files. However, Katello 
provides the api returning the available releases. [1]

[1] - http://www.katello.org/apidoc/environments/releases.html

-- Ivan
>
> Help?
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=832118
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel


-- 
Ivan




More information about the katello-devel mailing list