I could update the provider url for "Red Hat" successfully and could fetch version 16 and also sync it properly. [root@xxddd ~]# katello --user admin --password admin provider --help Usage: katello <options> provider <action> <options> Supported Actions: create create a provider info list information about a provider list list all known providers update update a provider delete delete a provider synchronize synchronize a provider cancel_sync cancel currently running synchronization status status of provider's synchronization import_manifest import a manifest file refresh_products refresh provider's products repositories Options: -h, --help show this help message and exit [root@xxddd ~]# katello --user admin --password admin provider update --name "Red Hat" --url "http://inecas.fedorapeople.org/fakerepos/cds_fast_old/" --org ACME_Corporation Successfully updated provider [ Red Hat ] [root@xxddd ~]# katello --user admin --password admin provider import_manifest --name "Red Hat" --file fake-manifest-syncable.zip --org ACME_Corporation Manifest imported [root@xxddd ~]# katello --user admin --password admin provider update --name "Red Hat" --url "http://inecas.fedorapeople.org/fakerepos/cds_fast/" --org ACME_Corporation Successfully updated provider [ Red Hat ] [root@xxddd ~]# katello --user admin --password admin provider refresh_products --name "Red Hat" --org "ACME_Corporation" Provider successfully refreshed [ Red Hat ] [root@xxddd ~]# katello --user admin --password admin provider info --name "Red Hat" --org ACME_Corporation --------------------------------------------------------------------------------------------------------------------------------- Provider Information --------------------------------------------------------------------------------------------------------------------------------- Id: 1 Name: Red Hat Type: Red Hat Url: http://inecas.fedorapeople.org/fakerepos/cds_fast/ Org Id: 1 Description: None
Also we have the mentioned cron script for refreshing content from cdn. [root@xxddd cron.daily]# cat katello-refresh-cdn #!/bin/env bash # script for refreshing the newest content from CDN. It doesn't synchronize the # repositories but lets Katello know there is new content available. # running the script from rails root RAILS_DIR=/usr/share/katello pushd $RAILS_DIR &> /dev/null rake katello:refresh_cdn RAILS_ENV=production popd &> /dev/null
Created attachment 590871 [details] detailed steps followed for verification and pulp.log during it's execution
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: User is unable to access new repositories from CDN through System Engine. This update allows users to refresh product repositories with the command: katello provider refresh_products --name "Provider" --org "Organization" A cron script is also written to alert System Engine when there is new content available.
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. http://rhn.redhat.com/errata/RHBA-2012-1062.html