Bug 659703
Summary: | cancel_sync issues when running the repo sync is running with -F option | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | John Matthews <jmatthew> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | jmatthew, tsanders |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 14:00:22 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: | |||
Bug Depends On: | |||
Bug Blocks: | 647488 |
Description
Preethi Thomas
2010-12-03 14:35:04 UTC
Please re-test, I think this is fixed now. sync -F was cancelled and returned as soon as I issued the cancel. repo status returned promptly and did not hang. $ sudo pulp-admin -u admin -p admin repo sync --id cancel_test -F Sync for repository cancel_test started You can safely CTRL+C this current command and it will continue [ ] 0% Sync: Canceled $ sudo pulp-admin -u admin -p admin repo status --id cancel_test +------------------------------------------+ Status for cancel_test +------------------------------------------+ Repository: cancel_test Number of Packages: 0 Last Sync: never This still happens. I did not see the repo status hanging.But cancel_sync never relays to the first window. [root@10 ~]# pulp-admin repo cancel_sync --id=f13 Sync for repository f13 canceled [root@10 ~]# pulp-admin repo sync --id=f13 -F Sync for repository f13 already in progress You can safely CTRL+C this current command and it will continue [ ] 0% I'm moving this to MODIFIED so we can re-test with the next build. Might be this was recently fixed and not in the available QE build. When testing with latest git master the sync -F is interrupted and exists immediately after issuing a "cancel_sync" from another window. Fixed in 0.120. Looks like this is working [root@preethi ~]# rpm -q pulp pulp-0.0.120-1.fc14.noarch [root@preethi ~]# pulp-admin repo cancel_sync --id=f13 Sync for repository f13 canceled [root@preethi ~]# pulp-admin repo sync --id=f13 -F Sync for repository f13 started You can safely CTRL+C this current command and it will continue [============= ] 26% (940 of 3111 pkgs) Sync: Canceled [root@preethi ~]# pulp-admin repo status --id=f13 +------------------------------------------+ Status for f13 +------------------------------------------+ Repository: f13 Number of Packages: 0 Last Sync: never Closing with Community Release 15 pulp-0.0.223-4. |