Created attachment 1179127 [details] dc.json Description of problem: Cannot trigger deploy after create app from installed template Version-Release number of selected component (if applicable): openshift v3.3.0.4 kubernetes v1.3.0+57fb9ac etcd 2.3.0+git How reproducible: always Steps to Reproduce: 1.Create app from installed template $oc new-app rails-postgresql-example 2.check the pod $oc get pod 3.Check deploy # oc deploy postgresql postgresql deployment #1 waiting on image or update 4.check the imagestream status are correct # oc get is postgresql -n openshift NAME DOCKER REPO TAGS UPDATED postgresql 172.30.247.172:5000/openshift/postgresql 9.2,9.4,9.5 + 1 more... About an hour ago Actual results: postgresql cannot deploy automaticlly Expected results: Can trigger deploy correctly. Additional info:
This happens with mysql also.
Won't the deployment trigger after about 2 minutes? Github issue: https://github.com/openshift/origin/issues/9018
Fixed in https://github.com/openshift/origin/pull/9349
It works now with the new puddle openshift version openshift v3.3.0.12 kubernetes v1.3.0+57fb9ac etcd 2.3.0+git
(In reply to Wang Haoran from comment #4) > It works now with the new puddle > openshift version > openshift v3.3.0.12 But I still met similar issue in openshift v3.3.0.13: 1. Check imagestream: $ oc get is -n openshift jenkins 172.31.106.239:5000/openshift/jenkins 1,latest 25 hours ago -- <snipped> -- mysql 172.31.106.239:5000/openshift/mysql 5.5,5.6,latest 25 hours ago 2. $ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.json It creates these dc's: $ oc get dc NAME REVISION DESIRED CURRENT TRIGGERED BY database 0 1 0 config,image(mysql:5.6) jenkins 0 1 0 config,image(jenkins:1) These dc's have spec.template.spec.containers.image as ' ', and define imageChangeParams like: from: kind: ImageStreamTag name: mysql:5.6 namespace: openshift 3. Check dc after long time (e.g. half an hour) $ oc deploy database database deployment #1 waiting on image or update $ oc deploy jenkins jenkins deployment #1 waiting on image or update
Hmm, I met comment 5 because the OCP env I used may have problem (new project does not create any service account. Still researching it). Tried another OCP env, comment 5 is not reproduced.
Fixed by https://github.com/openshift/origin/pull/10456
Verified with : openshift v3.3.0.23-dirty kubernetes v1.3.0+507d3a7 etcd 2.3.0+git
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-2016:1933