Bug 1325761 - [userinterface_public_613]The debug pod is not deleted if user navigates away without closing modal
Summary: [userinterface_public_613]The debug pod is not deleted if user navigates away...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 06:53 UTC by Wei Sun
Modified: 2016-09-19 13:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-19 13:51:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Wei Sun 2016-04-11 06:53:46 UTC
Description of problem:
Click the "Debug in Terminal" link on the failed pod page,and a debug pod is created.Access other page without clicking close button.But the debug pod is not deleted.

Version-Release number of selected component (if applicable):
fork_ami_openshift3_userinterface_console_1.3_209

How reproducible:
Always

Steps to Reproduce:
1.Create a failed pod
$oc run run-once-pod --image=openshift/origin --command=true ls /abcd --restart=Never
2.Click the "Debug in Terminal" link on the failed pod page
3.Access other page without clicking close button for debug pod

Actual results:
The debug pod is not deleted

Expected results:
The debug pod should be deleted

Additional info:

Comment 1 Wei Sun 2016-04-11 10:20:56 UTC
I checked my debug pod after 2 hours,the debug pod is completed,but it also is not deleted.

Comment 2 Samuel Padgett 2016-04-11 14:20:32 UTC
https://github.com/jwforres/origin/pull/42

Comment 3 Samuel Padgett 2016-04-11 14:24:35 UTC
Added a warning. If the user ignores the warning, the pod will not be deleted, but it will still complete after one hour (and not consume quota/resources).

Comment 4 Wei Sun 2016-04-28 06:19:03 UTC
Verified this bug against devenv-fedora_4053.
Now there is a warning when access other page without clicking close button.


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