Bug 807720
| Summary: | Waiting for post_sync_callback causes API unresponsive | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Ivan Necas <inecas> | ||||
| Component: | user-experience | Assignee: | Jason Connor <jconnor> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.0.0 | CC: | jconnor, jsherril, mmccune | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-05-25 14:14:24 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ivan Necas
2012-03-28 14:49:08 UTC
I removed the wait for a response from katello so that pulp simply fires off the request and closes the connection. Changes pushed in: 68389d55e97053049dfd9f5ab20301e07823c6fe I tested this changed and it seemed to work great on my workstation. Ivan could you test it as well, and if it works for you we can go ahead with the new version of pulp. No changes should be needed from the katello side of things, with this modification. build: 0.282 verified fix in pulp 1.0 [root@pulp-v1-server ~]# rpm -q pulp pulp-1.0.4-1.el6.noarch [root@pulp-v1-server ~]# [root@pulp-v1-server ~]# ./slowserver.rb [2012-05-02 11:29:15] INFO WEBrick 1.3.1 [2012-05-02 11:29:15] INFO ruby 1.8.7 (2011-06-30) [x86_64-linux] [2012-05-02 11:29:15] WARN TCPServer Error: Address already in use - bind(2) [2012-05-02 11:29:15] INFO WEBrick::HTTPServer#start: pid=3296 port=3003 responding slowly... [root@pulp-v1-server ~]# repo=zoo [root@pulp-v1-server ~]# pulp-admin -u admin -p admin repo create --id $repo --feed http://repos.fedorapeople.org/repos/katello/katello/6Server/x86_64/ --relativepath $repo Successfully created repository [ zoo ] [root@pulp-v1-server ~]# pulp-admin -u admin -p admin repo sync --id $repo Sync for repository zoo started Use "repo status" to check on the progress [root@pulp-v1-server ~]# pulp-admin -u admin -p admin repo status --id $repo +------------------------------------------+ Status for zoo +------------------------------------------+ Repository: zoo Number of Packages: 159 Last Sync: 2012-05-02 11:30:54-04:00 [root@pulp-v1-server ~]# Pulp v1.1 Release |