Description of problem: oc deploy wrongly shows "pending on update" for a complete deployment. This only reproduces when using the dc database, frontend and dc created by oc new-app. dc created by oc run does not reproduce. Version-Release number of selected component (if applicable): oc v1.3.0-alpha.1-159-g93af6aa kubernetes v1.3.0-alpha.1-331-g0522e63 How reproducible: Always Steps to Reproduce: 1. oc login, create project 2. Create dc using different ways $ oc new-app -f origin/examples/sample-app/application-template-stibuild.json $ oc new-app openshift/hello-openshift --name helloapp $ oc run hello --image=openshift/hello-openshift 3. Wait for all pods deployed $ oc get pod NAME READY STATUS RESTARTS AGE database-1-u683v 1/1 Running 0 30m frontend-1-736g2 1/1 Running 0 20m frontend-1-d75zw 1/1 Running 0 20m hello-1-ialcp 1/1 Running 0 25m helloapp-1-au4pg 1/1 Running 0 25m ... 4. Check oc deploy $ oc deploy database $ oc deploy frontend $ oc deploy helloapp $ oc deploy hello Actual results: 4. For 'oc deploy', only dc "hello" created by oc run displays correctly: $ oc deploy database database deployment #1 pending on update $ oc deploy frontend frontend deployment #1 pending on image or update $ oc deploy helloapp helloapp deployment #1 pending on image or update $ oc deploy hello hello deployment #1 deployed 27 minutes ago - 1 pod Expected results: 4. All dc's should display correctly Additional info:
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/555f0d2a1efa297617edc876fda1fd45ac9ea683 Bug 1343426: list deployments correctly in oc deploy
Verified with oc v1.3.0-alpha.1-251-ga19279f. Fixed. Thanks!