Description of problem: I tried to import new manifest after db clean and after changing the content URL in /etc/pulp/pulp.conf. [root@dhcp201-198 pulp]# cat /etc/pulp/pulp.conf | grep content content_url: http://download.devel.redhat.com/cds/prod/ [root@dhcp201-198 pulp]# Also restarted all services but getting following message: [root@dhcp201-198 pulp]# katello -u admin -p admin shell katello> provider import_manifest --org=org1 --name="Red Hat" --file=/root/fte2NovemberSamTest2.zip Importing manifest, please wait... Manifest import for provider [ Red Hat ] failed, 403 Forbidden Version-Release number of selected component (if applicable): [root@dhcp201-198 pulp]# rpm -qa | grep katello katello-common-0.1.98-1.git.33.a663155.fc15.noarch katello-all-0.1.98-1.git.33.a663155.fc15.x86_64 katello-cli-common-0.1.10-1.git.1133.ea1fcc6.fc15.noarch katello-glue-foreman-0.1.98-1.git.33.a663155.fc15.x86_64 katello-configure-0.1.10-1.git.0.78fbe70.fc15.noarch katello-cli-0.1.10-1.git.1133.ea1fcc6.fc15.noarch katello-glue-pulp-0.1.98-1.git.33.a663155.fc15.x86_64 katello-0.1.99-1.git.89.bc81fa8.fc15.x86_64 katello-glue-candlepin-0.1.98-1.git.33.a663155.fc15.x86_64 katello-repos-0.1.3-1.git.0.db2bd1d.fc15.noarch [root@dhcp201-198 pulp]# rpm -qa | grep pulp mod_wsgi-3.2-6.pulp.fc15.x86_64 pulp-0.0.244-5.fc15.noarch m2crypto-0.21.1.pulp-5.fc15.x86_64 katello-glue-pulp-0.1.98-1.git.33.a663155.fc15.x86_64 pulp-common-0.0.244-5.fc15.noarch [root@dhcp201-198 pulp]# How reproducible: always Steps to Reproduce: 1. Change the content url in /etc/pulp/pulp.conf to http://download.devel.redhat.com/cds/prod/ 2. Restart all services ( Katello, pulp-server) 3. Actual results: Importing manifest, please wait... Manifest import for provider [ Red Hat ] failed, 403 Forbidden Expected results: manifest should be imported successfully Additional info:
Yes..true. Earlier I tried with CDN and found same result. thanks !
I've successfully imported the same manifests from the webUI and after changing the repository URL "http://download.devel.redhat.com/cds/prod/". So this should also work from cli as well.
Cool, putting ON_QA then ;-)
This issue is still persists in cli. so assigning back. Thanks
This is the correct command to change the provider url: katello -u admin -p admin provider update --name "Red Hat" --url https://provider.com/content After that you can use the manifest issued by another provider. It has nothing to do with /etc/pulp/pulp.conf
# VERIFIED Changing the "Red Hat" provider url to the one inecas mentioned I succeed to import (and syncing) the stage content. using the same manifest file as Sachin was using. Checked against: katello-0.1.174-2.el6.noarch katello-cli-0.1.35-1.el6.noarch pulp-0.0.256-1.el6.noarch candlepin-0.5.8-1.el6.noarch
getting rid of 6.0.0 version since that doesn't exist