Bug 1452569

Summary: Server returns 500 error when user delete route from web-console
Product: OpenShift Container Platform Reporter: XiaochuanWang <xiaocwan>
Component: MasterAssignee: Mo <mkhan>
Status: CLOSED ERRATA QA Contact: Chuan Yu <chuyu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0CC: aos-bugs, jokerman, mmccomas, smunilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-10 05:25:32 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 XiaochuanWang 2017-05-19 08:42:38 UTC
Description of problem:
From web-console, server returns 500 error when user try to delete route.
Error message "Route 'route-edge'' could not be deleted.Status: 500"

Version-Release number of selected component (if applicable):
Openshift v3.6.77

How reproducible:
Always

Steps to Reproduce:
1. oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
2. Go to console/project/<my project>/browse/routes/route-edge and try to delete the route "route-edge" by Actions -> Delete
3. (For compare) Try to delete other resources.

Actual results:
2. Failed to delete route, the error message is shown on console "Route 'route-edge'' could not be deleted.Status: 500"
3. Other resources could be deleted without error.

Expected results:
2. Route should be deleted without error.

Additional info:
CLI route deletion works.

Comment 1 Jessica Forrester 2017-05-19 12:55:50 UTC
See the existing issue that was reported https://github.com/openshift/origin/issues/14198

Comment 2 Ben Bennett 2017-05-25 13:31:30 UTC
If this is the same as the linked issue, it is a panic in the API server.

Comment 3 Derek Carr 2017-05-25 15:35:07 UTC
OpenShift PR posted:
https://github.com/openshift/origin/pull/14337

Comment 4 Mo 2017-05-30 15:43:28 UTC
Origin PR is merged.  Kube PR https://github.com/kubernetes/kubernetes/pull/46390 is also merged.

Comment 5 XiaochuanWang 2017-06-13 01:57:23 UTC
Route could be deleted smoothly, verified on
OpenShift Master:     v3.6.105
Kubernetes Master:    v1.6.1+5115d708d7

Comment 7 errata-xmlrpc 2017-08-10 05:25:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1716