Hide Forgot
Description of problem: Just like the yum importer, the iso importer needs a global proxy configuration.
Added the loading of an iso_import.json configuration file to the entry point. PR is here: https://github.com/pulp/pulp_rpm/pull/372 Referenced previous bug for solution here: https://bugzilla.redhat.com/show_bug.cgi?id=878548
build: 2.4.0-0.7.beta
verified [root@pulp-24-server ~]# rpm -qa pulp-server pulp-server-2.4.0-0.9.beta.el6.noarch [root@pulp-24-server ~]# [root@pulp-24-server ~]# pulp-admin iso repo create --repo-id file-repo --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_file_repo/ --proxy-host http://pulp-proxy.usersys.redhat.com --proxy-port 8080 --proxy-user admin --proxy-pass admin Successfully created repository [file-repo] [root@pulp-24-server ~]# [root@pulp-24-server ~]# [root@pulp-24-server ~]# [root@pulp-24-server ~]# pulp-admin iso repo sync run --repo-id file-repo +----------------------------------------------------------------------+ Synchronizing Repository [file-repo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. The Pulp Manifest was downloaded successfully. Downloading 3 ISOs... [==================================================] 100% ISOs: 3/3 Data: 10.2 MB/10.2 MB Avg: 1.0 MB/s Successfully downloaded 3 ISOs. Task Succeeded The repository was successfully published. Task Succeeded [root@pulp-24-server ~]#
It needs to be tested with global proxy
verified [root@pulp-24-server ~]# rpm -qa pulp-server pulp-server-2.4.0-0.13.beta.el6.noarch [root@pulp-24-server ~]# [root@pulp-24-server ~]# cat /etc/pulp/server/plugins.conf.d/iso_importer.json { "num_threads" : 4, "proxy_host" : "http://pulp-proxy.usersys.redhat.com", "proxy_port" : 8080, "proxy_username": "admin", "proxy_password": "admin" } [root@pulp-24-server ~]# [root@pulp-24-server ~]# pulp-admin iso repo create --repo-id file-repo --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_file_repo/ Successfully created repository [file-repo] [root@pulp-24-server ~]# [root@pulp-24-server ~]# [root@pulp-24-server ~]# pulp-admin iso repo sync run --repo-id file-repo+----------------------------------------------------------------------+ Synchronizing Repository [file-repo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. The Pulp Manifest was downloaded successfully. Downloading 3 ISOs... [==================================================] 100% ISOs: 3/3 Data: 10.2 MB/10.2 MB Avg: 2.0 MB/s Successfully downloaded 3 ISOs. Task Succeeded The repository was successfully published. Task Succeeded From the squid/access.log
This has been fixed in Pulp 2.4.0-1.