Bug 695414 - Repos deployed to a CDS cannot be deleted from Pulp if the CDS is down
Summary: Repos deployed to a CDS cannot be deleted from Pulp if the CDS is down
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: nodes
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close 688298
TreeView+ depends on / blocked
 
Reported: 2011-04-11 16:39 UTC by Jay Dobies
Modified: 2011-08-16 12:20 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:06:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-04-11 16:39:21 UTC
A repo can't be deleted if it's still associated with a CDS. A repo can't be unassociated from a CDS if the CDS is down. So you're stuck.

I talked about this with Jeff and the idea is to move the unassociate functionality into the repo delete and do a best try. Repo delete will now return a list of which CDS instances were successfully unassociated and which weren't; regardless, the repo will still be deleted from the Pulp server.

Comment 1 Jeff Ortel 2011-04-18 18:44:28 UTC
Implemented as described.

Comment 2 Jeff Ortel 2011-04-19 18:49:20 UTC
build: 0.168

Comment 3 Preethi Thomas 2011-05-12 14:57:48 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.174-1.fc14.noarch

[root@preethi ~]# pulp-admin repo delete --id=errata-repo
Successful deleted repository [ errata-repo ]
Unassociated with CDS(s):
  pulp-cds.usersys.redhat.com

[root@preethi ~]# pulp-admin cds list
+------------------------------------------+
                CDS Instances
+------------------------------------------+

Name                	pulp-cds.usersys.redhat.com
Hostname            	pulp-cds.usersys.redhat.com
Description         	None                     
Repos               	repos-pulp-pulp-fedora-14-x86_64
Last Sync           	2011-05-12 14:27:23      
Status:
   Responding       	No                       
   Last Heartbeat   	2011-05-12 15:07:51

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

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:39 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.