Hi Adam, There is a story filed to add an ability to remove a plugin and its data. Please follow it here https://pulp.plan.io/issues/7822 and feel free to leave a comment to express your interest or reasons to remove. We plan to work on it relatively soon, but it was not on a high priority list for us. There are 2 primary goals covered by this story and both don't seem extremely urgent: - space, there is a lot of pulp2 data in pulp3 database that can be removed - compatibility with other plugins, migration plugin won't be compatible with all new pulp3 releases forever, it would be good to be able to remove it; at the moment it's compatible with pulpcore 3.7+.
However if you think you are running into some problems because of having the plugin installed, it becomes important to address it sooner rather than later. I tried to reproduce your issue by removing the migrated File or RPM repository/publication/distribution and all worked for me. Could you share your steps to reproduce the problem? Here or feel free to file an issue in redmine https://pulp.plan.io/projects/migration/issues/new The versions of pulpcore and plugins would be good to know (since I'm testing on the latest), as well as which resources and how you delete them. Seeing a specific cli command, API call or your script might be helpful. Thank you, Tanya On Tue, Feb 9, 2021 at 8:44 AM Winberg Adam <[email protected]> wrote: > Hi, > > > I've finished my 2to3 migration and now I want to get rid of > pulp_2to3_migration > related db entries. I cant find any documentation regarding this, what is > the recommended procedure to do this? > > > Right now I get errors when trying to remove certain repos: > > > django.db.utils.IntegrityError: update or delete on table > "core_publication" violates foreign key constraint > "pulp_2to3_migration__pulp3_publication_id_221e8b1c_fk_core_publ" on table > "pulp_2to3_migration_pulp2distributor" > > > //Adam > > > _______________________________________________ > Pulp-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
