Bug 690635 - Error message on filter delete should say to use --force if associated to the repo
Summary: Error message on filter delete should say to use --force if associated to the...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 22
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-03-24 21:10 UTC by Preethi Thomas
Modified: 2015-03-23 01:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:10:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-03-24 21:10:12 UTC
Description of problem:


If the filter you are trying to delete is attached to a repo , the message says as follows

[root@preethi ~]# pulp-admin filter delete --id=filter-black
error: operation failed: PulpException: u"Filter [filter-black] cannot be deleted because of it's association with repos [u'pulp-clone1', u'f14-clone2']"


Is should also suggest that to use --force if you still want to go ahead with the delete

Comment 1 Sayli Karmarkar 2011-03-25 05:43:04 UTC
$ sudo pulp-admin filter delete --id=foo 
error: operation failed: PulpException: u"Filter [foo] cannot be deleted because of it's association with following repos: [u'test2']. You can use --force to force deletion of filter by removing it's association with repositories."

Comment 2 Jeff Ortel 2011-03-29 17:32:40 UTC
Build: 0.158

Comment 3 Preethi Thomas 2011-03-31 15:27:31 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.159-1.fc14.noarch

[root@preethi ~]# pulp-admin filter delete --id=fliter-black
error: operation failed: PulpException: u"Filter [fliter-black] cannot be deleted because of it's association with following repos: [u'f14-clone']. You can use --force to force deletion of filter by removing it's association with repositories."

Comment 4 Preethi Thomas 2011-08-16 12:10:05 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:22:14 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.