Bug 697208

Summary: CDS unregister needs to be better about handling failed repo deletes
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: nodesAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jortel, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 23   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:11:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 688298    

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.