Bug 697208 - CDS unregister needs to be better about handling failed repo deletes
Summary: CDS unregister needs to be better about handling failed repo deletes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: nodes
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: Sprint 23
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 688298
TreeView+ depends on / blocked
 
Reported: 2011-04-16 20:57 UTC by Jay Dobies
Modified: 2012-02-24 20:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:11:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-04-16 20:57:17 UTC
If for some reason a repo delete fails during release on the CDS, the entire unregister operation fails. Need to harden this code up a bit.

Comment 1 Jay Dobies 2011-05-12 15:52:40 UTC
commit 3ac623bcd5573eca3ff7c35b3b19cfe3ba1e60fb
Author: Jay Dobies <jason.dobies>
Date:   Thu May 12 11:55:30 2011 -0400

    697208 - Added check to make sure the repo is present before trying to
    delete it.

src/pulp/cds/cdslib.py

Comment 2 Jeff Ortel 2011-05-12 18:45:33 UTC
build: 0.176

Comment 3 Jeff Ortel 2011-05-12 21:00:58 UTC
Not tagged in 0.176.

Comment 4 Jeff Ortel 2011-05-13 20:50:43 UTC
build: 0.177

Comment 5 Preethi Thomas 2011-09-07 17:12:18 UTC
verified
with permission changed on a repo file, ran the following successfully.

[root@preethi ~]# pulp-admin cds unregister --hostname=pulp-cds.usersys.redhat.com
Successfully unregistered CDS [pulp-cds.usersys.redhat.com]

Comment 6 Preethi Thomas 2012-02-24 20:11:47 UTC
Pulp v1.0 is released
Closed Current Release.


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