| Summary: | RFE: ISO Importer needs global proxy configuration | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Justin Sherrill <jsherril> |
| Component: | iso-support | Assignee: | Mike McCune <mmccune> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | Master | CC: | mmccune, pthomas, skarmark |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | 2.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-09 06:54:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Justin Sherrill
2013-10-16 18:53:14 UTC
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. |