Bug 1328596

Summary: Deleted repository pulls a Hotel California
Product: Red Hat Satellite Reporter: Todd Warner <taw>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bkearney, jsherril
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-02 21:00:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot1 - Removing repo.
none
Screenshot2 - Success! Content removed.
none
Screenshot3 - Oh no! I browsed away and came back later and repo is still there! :( none

Description Todd Warner 2016-04-19 19:36:43 UTC
Created attachment 1148725 [details]
Screenshot1 - Removing repo.

Deleted OSTree repo doesn't delete.


I decided to sync a repository. An OSTree repository (enter name and URL, saved it, but never synced it).

Then I changed my mind. I deleted the repo, and Satellite said the process is initiated and it disappears from the list.

Alas... the repo never leaves. I leave that screen and come back to it later.. and there it is! The repo still lives! Alas.

Comment 1 Todd Warner 2016-04-19 19:37:52 UTC
Created attachment 1148726 [details]
Screenshot2 - Success! Content removed.

Comment 2 Todd Warner 2016-04-19 19:39:40 UTC
Created attachment 1148727 [details]
Screenshot3 - Oh no! I browsed away and came back later and repo is still there! :(

Comment 3 Justin Sherrill 2016-04-19 21:21:42 UTC
In Todd's case the repository delete action in pulp had not completed due to a pulp issue.  This is an async task but the controller is treating it like a synchronous task.  

If pulp is 'stuck' or all the workers are busy, the task may not complete for a long time. The user experience is that the page seems to 'hang' and the user may refresh and still see the repo there even though the repo task is still running.

We likely should convert this to a async task and take the user to a task page showing the progress.

Comment 4 Bryan Kearney 2016-07-26 18:58:59 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Bryan Kearney 2018-08-02 21:00:16 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.