Story #7822
closedAs a user, I can remove a Pulp plugin
0%
Description
Ticket moved to GitHub: "pulp/pulpcore/1945":https://github.com/pulp/pulpcore/issues/1945
Motivation¶
There are cases when a user might want to remove a plugin:
- plugin is no longer in use but it's data in the db is quite large (pulp-2to3-migration case)
- incompatible plugins
Deliverables¶
- all plugin related data should be removed from the DB, its schema as well
- artifacts can be left for orphan cleanup, don't need to be removed immediately
- it should be possible to install this plugin back again, make sure django migrations are applied in this case accordingly
Original request from Katello¶
After a pulp2 to 3 migration, the left over migration data is quite large and needs to be cleaned up. there needs to be a command or api to clean it up.
In addition we need a way/instructions to remove the plugin altogether and delete its added schema entirely
Updated by ggainey about 4 years ago
- Tracker changed from Issue to Story
- Project changed from Pulp to Migration Plugin
- % Done set to 0
- Severity deleted (
2. Medium) - Triaged deleted (
No)
Updated by ttereshc about 4 years ago
- Project changed from Migration Plugin to Pulp
- Subject changed from provide command or other way to remove migration db data to As a user, I can remove a Pulp plugin
- Description updated (diff)
Updated by ttereshc about 4 years ago
Brought it back to the Pulp tracker, since on the pulpcore meetings we agreed that it makes sense to find a general solution.
Updated by bmbouter about 4 years ago
I asked in #django and was told there is no pre-built way to do this. So I imagine we'll ship a custom command.
Is there a programmatic way to identify all the tables brought in by a django app by it's django app name?
Updated by ttereshc over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
- Sprint set to Sprint 99
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Updated by ipanova@redhat.com over 3 years ago
- Sprint changed from Sprint 101 to Sprint 102
Updated by rchan about 3 years ago
- Sprint changed from Sprint 105 to Sprint 106
Updated by rchan about 3 years ago
- Sprint changed from Sprint 106 to Sprint 107
Updated by rchan about 3 years ago
- Sprint changed from Sprint 107 to Sprint 108
Updated by rchan about 3 years ago
- Sprint changed from Sprint 108 to Sprint 109
Updated by rchan about 3 years ago
- Sprint changed from Sprint 109 to Sprint 110
Updated by rchan about 3 years ago
- Sprint changed from Sprint 110 to Sprint 111
Updated by rchan almost 3 years ago
- Sprint changed from Sprint 111 to Sprint 112
Updated by pulpbot almost 3 years ago
- Description updated (diff)
- Status changed from POST to CLOSED - DUPLICATE