Project

Profile

Help

Issue #387

Pulp Distributors should not be created using the distributor_typ_id as the distributor_id

Added by bcourt almost 6 years ago. Updated almost 2 years ago.

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

Description

Description of problem:

Distributors that are currently created by the command line & the unit tests are using the distributor_type_id as the distributor_id. Katello specifies a different value for the distributor_id. This has led to a number of bugs including 1038309 that were not found until Katello had a release in hand.

Our client & server code should be reworked to use the id generated by mongo automatically instead of creating one. Have the server (mongo) generate a unique distributor id automatically if one is not specified on the API, or use the object id that mongo is already creating. The client code should be updated to not specify the distributor ID.

We could also consider removing the distributor_id entirely and just use the id from mongo.

+ This bug was cloned from Bugzilla Bug #1038751 +

History

#1 Updated by bmbouter almost 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter almost 2 years ago

  • Severity set to 1. Low

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter almost 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF