Hide Forgot
1) enable and synchronize the "Red Hat Enterprise Linux Atomic Host Trees" repository to Satellite 6.2 2) note that the sync never finishes, running 30-60 minutes without changing manual syncs of similar sized repos take 3-10 minutes. 3) No recourse except to cancel task. URL to feed is: https://cdn.redhat.com/content/dist/rhel/atomic/7/7Server/x86_64/ostree/repo
I tried the following on the same box -> after I copied the correct key, client cert and cacert to /tmp 1) mkdir /root/el7 && ostree init --repo /root/el7 2) ostree remote add --set=tls-client-cert-path=/tmp/cert --set=tls-client-key-path=/tmp/key --set=tls-ca-path=/tmp/cacert --repo /root/el7 --set=tls-permissive=true --set=gpg-verify=false el7 https://cdn.redhat.com/content/dist/rhel/atomic/7/7Server/x86_64/ostree/repo rhel-atomic-host/7/x86_64/standard 3) sudo ostree pull el7 --repo /root/el7 1418 metadata, 13612 content objects fetched; 355536 KiB transferred in 331 seconds
Do you have pulp's log output? Or the contents of the pulp task status?
Partha, please email me the certificates and key you used and I will reproduce/investigate.
(In reply to Partha Aji from comment #1) > I tried the following on the same box -> after I copied the correct key, > client cert and cacert to /tmp > > 1) > mkdir /root/el7 && ostree init --repo /root/el7 > > 2) ostree remote add --set=tls-client-cert-path=/tmp/cert > --set=tls-client-key-path=/tmp/key --set=tls-ca-path=/tmp/cacert --repo > /root/el7 --set=tls-permissive=true --set=gpg-verify=false el7 > https://cdn.redhat.com/content/dist/rhel/atomic/7/7Server/x86_64/ostree/repo > rhel-atomic-host/7/x86_64/standard > > 3) > sudo ostree pull el7 --repo /root/el7 > > 1418 metadata, 13612 content objects fetched; 355536 KiB transferred in 331 > seconds Tried this ^ in Pulp and finished in ~2 minutes with no errors.
Yeah, I've synced the ostree repo from CDN with rhel6.2 GA snap10 and it was successfully synced without any issue and as per UI it took around 10-12 minutes.
Created attachment 1157057 [details] synced ostree contents from CDN via webUI
This issue still persist. Its reproducible with snap12.1. I installed fresh setup on rhel7 w/ snap12.1 and sync is running from last 38 minutes.. I've synced rhel7 contents from CDN within that time frame.
Created attachment 1160611 [details] ostree sync is on going from last 38 minutes
Another observation is: I was able to sync ostree contents from CDN in snap11. Later, I upgraded the satellite from snap11 -> sanp12.1 and re-sync the same repo and it failed with below error. I've filed separate bz 1338632 for this. 2016-05-23 03:29:08 [foreman-tasks/action] [E] OST0005: Fetch summary failed. Reason: GLib.Error('Server returned status 403: Forbidden', 'g-io-error-quark', 0) (Katello::Errors::PulpError)
Created attachment 1161345 [details] Screenshot of endless sync in Sat6 snap 12.1 Both in snap 12 and 12.1 the OSTree is syncing forever. It is stuck in sync for 18+ hours. Will attach a screenshot. Satellite rpm: satellite-6.2.0-12.1.el7sat.noarch
This should now work with updates from https://bugzilla.redhat.com/show_bug.cgi?id=1330753
Verified with sat6.2.3. I synced Red Hat Atomic Hosts ostree contents from CDN and sync completed in 6 minutes. Please see the attached screenshot for verification.
Created attachment 1210000 [details] sync completed for ostree contents in 6 minutes
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:2108
Updated 'Doc Type'.