Bug 963974

Summary: User is getting an error trying to access the web console during an app delete
Product: OpenShift Online Reporter: Nam Duong <nduong>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 2.xCC: ccoleman, jhou, jofernan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-11 04:04:47 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:
Embargoed:

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.