Project

Profile

Help

Issue #463

closed

repo can be deleted before the a running sync is completed

Added by pthomas@redhat.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.4 Beta
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

If you delete a repo while the sync is running, the repo delete tasks occurs before the sync is finished and that will result in sync status report missing resource

Version-Release number of selected component (if applicable):

[root@mgmt3 ~]# rpm -qa pulp-server
pulp-server-2.4.0-0.23.beta.el6.noarch
[root@mgmt3 ~]#

How reproducible:

Steps to Reproduce:
1.create and sync a large repo
2.while the sync is running, issue a repo delete on the same repo from another window
3.

Actual results:
[root@mgmt3 ~]# pulp-admin rpm repo sync run --repo-id rhel63
--------------------------------------------------------------------
Synchronizing Repository [rhel63]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[|]
... completed

Downloading repository content...
[==================================================] 100%
RPMs: 0/0 items
[==================================================] 100%
RPMs: 0/0 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 7/7 items
... completed

Importing errata...
[|]
... completed

Importing package groups/categories...
[|]
... completed

Task Succeeded

[-]
Waiting to begin...

Task Failed

Missing resource(s): resource_id=rhel63

Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #1115187 +

Also available in: Atom PDF