Description of problem: Navigating to a project overview page hangs indefinitely if the project contains a dc named with just digits. Version-Release number of selected component (if applicable): openshift v3.5.5.26 kubernetes v1.5.2+43a9be4 etcd 3.1.0 How reproducible: Always Steps to Reproduce: 1. Create new project # oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git --name='x54321' 2. export current DC # oc export dc/x54321 > break.yaml 3. Scale down DC # oc scale --replicas=0 dc/x54321 4. Edit DC name in break.yaml from x54321 to "54321" 5. Create new DC # oc create -f break.yaml deploymentconfig "54321" created 6. Login to Web Console 7. Click on project name containing the the above deploymentconfig Actual results: Web Console freezes while trying to load project overview page with browser asking to wait/stop repeatedly. Expected results: Web Console should load project overview page. Additional info:
This does not appear to be a problem in the new overview in 3.6.
It looks like the call to _.set here is incorrectly adding a length property to the object, which later causes it to be treated as an array: https://github.com/openshift/origin-web-console/blob/enterprise-3.5/app/scripts/services/labels.js#L60 The function is not used in 3.6, so the bug doesn't happen in 3.6.
https://github.com/openshift/origin-web-console/pull/1972
This is not reproduced, verified on OCP 3.5.5.31.27-1: OpenShift Master: v3.5.5.31.27 Kubernetes Master: v1.5.2+43a9be4
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/RHBA-2017:3049