Description of problem: https://github.com/openshift/origin/issues/4374 Applies to 3.0.1 Env --- ~~~ # openshift version openshift v1.0.5-27-g2cc96dc kubernetes v1.1.0-alpha.0-1605-g44c91b1 # go version go version go1.4.2 linux/amd64 ~~~ Issue: --- - We can kill OpenShift process by sending request with invalid json file. - Please see following steps. Reproduce steps --- step-1. Start openshift origin with standalone mode, and create route and docker-registry. (Followed with [here](https://github.com/nak3/openshift-local-setup)) step-2. Send invalid json file by my [origin-killer.json](https://gist.githubusercontent.com/nak3/23de3850fd3abf5ed038/raw/eba398a3e778459ca21ff8f60371e708566f7950/origin-killer.json ) ~~~ [root@localhost ~]# oc create -f https://gist.githubusercontent.com/nak3/23de3850fd3abf5ed038/raw/eba398a3e778459ca21ff8f60371e708566f7950/origin-killer.json imagestream "sti-python" created Unable to connect to the server: EOF The connection to the server 192.168.122.27:8443 was refused - did you specify the right host or port? The connection to the server 192.168.122.27:8443 was refused - did you specify the right host or port? ~~~ step-3. You can see go panic and stop the OpenShift process The log is here: https://kenjiro.fedorapeople.org/misc/logs/origin.log (Too long, please check from the bottom.) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed in origin in https://github.com/openshift/origin/pull/4416
This is a candidate for backporting to 3.0.1
QE check on release version and latest puddle [2015-09-01.1] scenario 1: check on release version 1. start openshift #openshift start --loglevel=4 --hostname=openshift-123.lab.eng.nay.redhat.com 2. create app from invalid json # oc create -f https://gist.githubusercontent.com/nak3/23de3850fd3abf5ed038/raw/eba398a3e778459ca21ff8f60371e708566f7950/origin-killer.json imagestreams/sti-python deploymentconfigs/sti-python services/sti-python The BuildConfig "sti-python" is invalid: * triggers[2].type: invalid value 'ConfigChange': invalid trigger type * spec.strategy.stiStrategy: required value 3. check the process the openshift process is running scenario 2: check on latest puddle [2015-09-01.1] 1, create app from invalid json $ oc create -f https://gist.githubusercontent.com/nak3/23de3850fd3abf5ed038/raw/eba398a3e778459ca21ff8f60371e708566f7950/origin-killer.json imagestreams/sti-python deploymentconfigs/sti-python services/sti-python The BuildConfig "sti-python" is invalid: * triggers[2].type: invalid value 'ConfigChange': invalid trigger type * spec.strategy.stiStrategy: required value 2. create an app from template oc new-app nodejs-example The service works fine. QE can not reproduced this issue on OSE.
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/RHSA-2015:1736