Project

Profile

Help

Issue #4076

closed

Last override config doesn't show force_full

Added by daviddavis about 6 years ago. Updated over 4 years ago.

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

Description

1. Create a repository
2. Do a force_full sync
3. Examine the last_override_config for the repository by running repo list with the --details option

You'll see that the last_override_config is empty but it should show force_full as being set to True.

Was discovered downstream by https://bugzilla.redhat.com/show_bug.cgi?id=1637777. The issues are unrelated though so I have not linked them.

Actions #1

Updated by CodeHeeler about 6 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by dalley about 6 years ago

I suggest adding a kwarg named "ignore_force_flag", default False, and putting these two lines [0] behind an if-statement which checks the kwarg.

Then, set that kwarg to True here [1]

That should fix the correctness issue.

[0] https://github.com/pulp/pulp/blob/2-master/server/pulp/server/controllers/repository.py#L919-L920
[1] https://github.com/pulp/pulp/blob/2-master/server/pulp/server/controllers/repository.py#L949

Actions #3

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #4

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF