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

Ivan Nečas inecas at redhat.com
Thu Oct 18 13:05:01 UTC 2012


On 10/18/2012 02:32 PM, Tom McKay wrote:
>
> ----- Original Message -----
>> From: "Tom McKay" <thomasmckay at redhat.com>
>> To: "katello-devel" <katello-devel at redhat.com>
>> Cc: "John Sefler" <jsefler at redhat.com>
>> Sent: Thursday, October 18, 2012 8:15:42 AM
>> Subject: Re: [katello-devel] Retrieving "listing" files from pulp
>>
>>
>>
>> ----- Original Message -----
>>> From: "Tom McKay" <thomasmckay at redhat.com>
>>> To: pulp-list at redhat.com, "katello-devel"
>>> <katello-devel at redhat.com>
>>> Cc: "John Sefler" <jsefler at redhat.com>
>>> Sent: Wednesday, October 17, 2012 2:58:44 PM
>>> Subject: [katello-devel] Retrieving "listing" files from pulp
>>>
>>>
>>> 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.
>>>
>>> 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
>>>
>> So we've discovered why there are no listing files, however, what
>> credentials should be used when curl'ing against pulp in a katello
>> setting? QE needs this to work since they compare what
>> subscription-manager returns versus what is really there.
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
>>
> Sorry, the reason there are no listing files is that pulp does not sync those; BZ/RFE submitted.
I don't think Pulp will synchronize those by its own because we feed it 
with the full url of the repo (such as content/nature/ver/arch/os), but 
the listing files are in content/nature/listing and 
content/nature/ver/listing. Therefore Katello should be the one that 
should be able to push those listing files to Pulp.

The second option would be Pulp providing the lisitng "files" dynamically.

-- Ivan
>
> _______________________________________________
> 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