Hide Forgot
Description of problem: If you a distribution from all the repos, there is no way of deleting the orphaned distribution. Content delete only seem to be deleting packages and files Version-Release number of selected component (if applicable): [root@katello-test ~]# rpm -q pulp pulp-0.0.252-1.el6.noarch How reproducible: Steps to Reproduce: 1. Create and sync a repo with distribution 2. Remove the distribution from the repo with remove_distribution option 3. do pulp-admin distribution list see that the distribution in on the pulp server Actual results: Orphaned distribution can not be deleted. Expected results: Additional info:
I don't think this is still a problem.
[root@pulp-v2-server ~]# pulp-admin rpm repo remove distribution --repo-id f19-copy --match 'filename=repomd.xml' This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Nothing found that matches the given criteria. [root@pulp-v2-server ~]# pulp-admin rpm repo remove distribution --repo-id f19-copy --str-eq 'filename=repomd.xml'This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Nothing found that matches the given criteria. [root@pulp-v2-server ~]# pulp-admin rpm repo remove distribution --repo-id f19-copy --str-eq 'files.filename=repomd.xml' This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Units: ks-Fedora-Fedora-19-x86_64 [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm repo remove distribution --repo-id f19-copy --match 'filename=repomd.xml' This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Nothing found that matches the given criteria. [root@pulp-v2-server ~]# pulp-admin rpm repo remove distribution --repo-id f19-copy --str-eq 'filename=repomd.xml'This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Nothing found that matches the given criteria. [root@pulp-v2-server ~]# pulp-admin rpm repo remove distribution --repo-id f19-copy --str-eq 'files.filename=repomd.xml' This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Units: ks-Fedora-Fedora-19-x86_64 [root@pulp-v2-server ~]#
Setting a target release so this ticket can get closed.
These were already verified in the corresponding releases that they were fixed in. Moving them to closed current release.