As a user, I can reassociate orhapned units
++ This bug was initially created as a clone of Bugzilla Bug #1162200 ++
Description of problem:
Currently there's no way how to reassociate orhapned unit back to repo.
Upload again orphaned content directly from pulp content directory. However access to pulp content directory is needed.
--- Additional comment from firstname.lastname@example.org at 11/10/2014 15:30:11 ---
Currently, if a user unassociates a unit from a repo and the unit is not in any other repos, it becomes orphaned (correct behavior). However, there is no way to fix or undo this operation via pulp-admin without re-uploading the unit again.
One way to fix this may be to be able to list orphans by unit ID and then re-associate via a new pulp-admin command.
--- Additional comment from email@example.com at 11/10/2014 15:49:48 ---
This is not issue of pulp-admin. Pulp-admin still missing some crucial functionality (like associate distributor with repo) therefore we have no other choice but use REST for things that cannot be done with PA.
I'm not sure, but I don't think it's possible associate orphaned unit by unit ID. Not with pulp-admin and neighter via REST API. But if you know how to do this, please let me know.
--- Additional comment from firstname.lastname@example.org at 11/10/2014 18:37:33 ---
This is not currently possible via the either the REST interface or pulp-admin unfortunately. We'd have to add a new API in order to do this type of association without re-uploading the unit.
#3 Updated by bmbouter over 1 year ago
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.
Please register to edit this issue