Description of problem: [root@preethi ~]# rpm -q pulp pulp-0.0.114-1.fc14.noarch If you delete a repo with a distribution, the distribution does not get deleted. [root@preethi ~]# pulp-admin distribution list +------------------------------------------+ List of Available Distributions +------------------------------------------+ Id ks-f13-x86_64 Description ks-f13-x86_64 URL http://localhost/pulp/ks/pub/fedora/linux/releases/F13/Fedora/x86_64/o [root@preethi ~]# pulp-admin repo delete --id=f13 Successful deleted repository [ f13 ] [root@preethi ~]# pulp-admin distribution list +------------------------------------------+ List of Available Distributions +------------------------------------------+ Id ks-f13-x86_64 Description ks-f13-x86_64 URL http://localhost/pulp/ks/pub/fedora/linux/releases/F13/Fedora/x86_64/o [root@preethi ~]# pulp-admin repo list No repositories available to list
commit e1093618d61bab0dbc338314c50c874ac39938ce Author: Pradeep Kilambi <pkilambi> Date: Wed Dec 22 15:14:04 2010 -0500 662681 - clean up distributions as part of repo delete
Fixed in 0.119.
[root@preethi ~]# rpm -q pulp pulp-0.0.119-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# pulp-admin distribution list +------------------------------------------+ List of Available Distributions +------------------------------------------+ Id ks-f14-x86_64 Description ks-f14-x86_64 URL http://localhost/pulp/ks/pub/fedora/linux/releases/F14/Fedora/x86_64 [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Label rhel5-i386 Name rhel5-i386 FeedURL https://cdn.redhat.com/content/dist/rhel/rhui/server/5Server/i386/os FeedType yum Arch i386 Sync Schedule None Packages 0 Files 0 Distributions None Publish True Clones [] Groups None Label f14 Name f14 FeedURL http://download.devel.redhat.com/released/F-14/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 2766 Files 0 Distributions ks-f14-x86_64 Publish True Clones [] Groups None Label f14-updates Name f14-updates FeedURL http://download.fedora.redhat.com/pub/fedora/linux/updates/14/x86_64/ FeedType yum Arch x86_64 Sync Schedule None Packages 4642 Files 0 Distributions None Publish True Clones [] Groups None [root@preethi ~]# pulp-admin repo delete --id=f14 Successful deleted repository [ f14 ] [root@preethi ~]# pulp-admin distribution list No distributions found to list
Closing with Community Release 15 pulp-0.0.223-4.