Bug 963974 - User is getting an error trying to access the web console during an app delete
Summary: User is getting an error trying to access the web console during an app delete
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-16 22:43 UTC by Nam Duong
Modified: 2015-05-15 00:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 04:04:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nam Duong 2013-05-16 22:43:53 UTC
Description of problem:
This was reported by a user on IRC.  This is also happening a lot lately so thought I'd track it here.  

User was trying to delete his app (only app he had): reader-jmason.rhcloud.com 

Afterwards, he would get an error when trying to login to the web console with URL:  https://openshift.redhat.com/app/login?redirectUrl=%2Fapp%2Fconsole  

Error: "We appear to be having technical difficulties" page.


Note that application deletion may take a long time (longer than usual lately).  We should catch errors and but continue on to the page, the same way "rhc domain show" will continue working.

Comment 1 Justin Harris 2013-05-29 19:16:55 UTC
Is there any additional info from this incident?  Like what type of app, what carts were installed, if the deletion was via cli or web console?  This is pretty tough to replicate with the current description.

Comment 2 Justin Harris 2013-05-29 21:24:30 UTC
Looking through the logs, it appears there was an error on the node when creating the reader app.  It could be that the state was not entirely reverted and there was an attempt to delete a non-existent or partially-existent app.

Comment 3 Abhishek Gupta 2013-05-29 23:30:35 UTC
Code changes have been made to ensure that pending_op for operation failures that are followed by failures in rollback are not deleted. Furthermore, deletion of an application/gear on the node has been made more resilient in the face of partially created gears.

Comment 4 Abhishek Gupta 2013-05-31 01:42:50 UTC
Marking this resolved based on the above comment.

Comment 5 Jianwei Hou 2013-05-31 10:09:36 UTC
This is not reproducible on devenv_3297, marking as verified.


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