| Summary: | Repo sync status on a restored task appears broken | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | John Matthews <jmatthew> |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | mmccune, pthomas, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 29 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
John Matthews
2011-06-10 20:25:43 UTC
*** Bug 713535 has been marked as a duplicate of this bug. *** Last pulp from master as of 7/7/11 did not exhibit this behavior. Unsure of exact commit which addressed the problem, but this looks like it's working now. Fails_qa [root@preethi ~]# rpm -q pulp pulp-0.0.210-1.fc14.noarch Followed the steps above [root@preethi ~]# pulp-admin -u admin -p admin repo create --id=f15 --feed=http://download.devel.redhat.com/released/F-15/GOLD/Fedora/x86_64/os/ Successfully created repository [ f15 ] [root@preethi ~]# pulp-admin repo sync --id=f15 -FSync for repository f15 started Step: Downloading Items or Verifying [ ] 0% Tree_Files: 0/6 Rpms: 35/2935 Total: 35/2941 items ^C [root@preethi ~]# service httpd stopStopping httpd: [ OK ] [root@preethi ~]# service httpd start Starting httpd: [ OK ] [root@preethi ~]# pulp-admin repo sync --id=f15 -F Sync for repository f15 already in progress Waiting / ^C [root@preethi ~]# pulp-admin repo status --id=f15 +------------------------------------------+ Status for f15 +------------------------------------------+ Repository: f15 Number of Packages: 0 Last Sync: never Currently syncing: progress unknown I fixed a bug in the pickling of the progress callback, please re-verify build: 0.238 verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.240-1.fc15.noarch
[root@preethi ~]# pulp-admin repo sync --id=f14-updates -F
Sync for repository f14-updates already in progress
Step: Downloading Items or Verifying
[= ] 4%
Rpm: 877/9785
Delta_Rpm: 0/8306
Total: 877/18091 items
Traceback (most recent call last):
File "/usr/bin/pulp-admin", line 23, in <module>
admin.main()
File "/usr/lib/python2.7/site-packages/pulp/client/lib/cli.py", line 152, in main
command.main(self.args[1:])
File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 129, in main
action.main(args[1:])
File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 211, in main
self.run()
File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 876, in run
self.sync_foreground(task)
File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 831, in sync_foreground
task = self.task_api.info(task['id'])
File "/usr/lib/python2.7/site-packages/pulp/client/api/task.py", line 34, in info
return self.server.GET(path)[1]
File "/usr/lib/python2.7/site-packages/pulp/client/api/server.py", line 298, in GET
return self._request('GET', path, queries)
File "/usr/lib/python2.7/site-packages/pulp/client/api/server.py", line 252, in _request
connection.request(method, url, body=body, headers=self.headers)
File "/usr/lib64/python2.7/httplib.py", line 941, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 975, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 937, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 797, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 759, in send
self.connect()
File "/usr/lib64/python2.7/site-packages/M2Crypto/httpslib.py", line 50, in connect
self.sock.connect((self.host, self.port))
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 185, in connect
ret = self.connect_ssl()
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 178, in connect_ssl
return m2.ssl_connect(self.ssl, self._timeout)
M2Crypto.SSL.SSLError: (104, 'Connection reset by peer')
[root@preethi ~]#
[root@preethi ~]#
[root@preethi ~]# pulp-admin repo sync --id=f14 -F
Sync for repository f14 started
Step: Downloading Items or Verifying
[= ] 7%
Tree_File: 0/7
Rpm: 292/2766
Total: 292/2773 items
^C
[root@preethi ~]# pulp-admin repo status --id=f14
+------------------------------------------+
Status for f14
+------------------------------------------+
Repository: f14
Number of Packages: 2766
Last Sync: 2011-10-21 16:11:51-04:00
Currently syncing: 20% done (490 of 2773 packages downloaded)
[root@preethi ~]#
Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |