Created attachment 1179127 [details]
Description of problem:
Cannot trigger deploy after create app from installed template
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create app from installed template
$oc new-app rails-postgresql-example
2.check the pod
$oc get pod
# 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
postgresql cannot deploy automaticlly
Can trigger deploy correctly.
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
(In reply to Wang Haoran from comment #4)
> It works now with the new puddle
> openshift version
> openshift v126.96.36.199
But I still met similar issue in openshift v188.8.131.52:
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
$ 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:
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 :
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.