Hey,
On Tue, Jul 12, 2016 at 9:25 AM, Lalatendu Mohanty <[email protected]> wrote: > Hi, > > In Atomic Developer Bundle [1] using OpenShift Origin docker images > available in Docker hub. The code for the setup lives here [2]. We are > trying make the OpenShift setup work in a proxy environment [3]. At this > stage PR for adding proxy works for docker pulls [3] but OpenShift fails > while deploying application with following error. Any pointer or help will > be appreciated. > > vagrant@centos7-adb ~]$ oc status -v > In project OpenShift sample project (sample-project) on server > https://10.1.2.2:8443 > http://cakephp-example-sample-project.centos7-adb.10.1.2.2.xip.io > (svc/cakephp-example) > dc/cakephp-example deploys istag/cakephp-example:latest <- > bc/cakephp-example builds https://github.com/openshift/cakephp-ex.git > with openshift/php:5.6 > not built yet > deployment #1 waiting on image or update > http://nodejs-example-sample-project.centos7-adb.10.1.2.2.xip.io > (svc/nodejs-example) > dc/nodejs-example deploys istag/nodejs-example:latest <- > bc/nodejs-example builds https://github.com/openshift/nodejs-ex.git with > openshift/nodejs:0.10 > not built yet > deployment #1 waiting on image or update > > Warnings: > * istag/cakephp-example:latest needs to be imported or created by a build. > try: oc start-build bc/cakephp-example > * istag/nodejs-example:latest needs to be imported or created by a build. > try: oc start-build bc/nodejs-example > * The image trigger for dc/cakephp-example will have no effect until > istag/cakephp-example:latest is imported or created by a build. > * The image trigger for dc/nodejs-example will have no effect until > istag/nodejs-example:latest is imported or created by a build. > > View details with 'oc describe <resource>/<name>' or list everything with 'oc > get all'. > > > In the system logs (journalctl) we see below logs. > Jul 08 05:28:12 centos7-adb sh[15840]: E0708 09:28:12.530449 15923 > config_controller.go:76] error instantiating Build from BuildConfig > sample-project/cakephp-example: imagestreamtags "php:5.6" not found > Jul 08 05:28:12 centos7-adb sh[15840]: E0708 09:28:12.541356 15923 > config_controller.go:76] error instantiating Build from BuildConfig > sample-project/cakephp-example: imagestreamtags "php:5.6" not found > Jul 08 05:28:12 centos7-adb sh[15840]: E0708 09:28:12.554458 15923 > config_controller.go:76] error instantiating Build from BuildConfig > sample-project/cakephp-example: imagestreamtags "php:5.6" not found > Jul 08 05:28:12 centos7-adb sh[15840]: E0708 09:28:12.563414 15923 > config_controller.go:76] error instantiating Build from BuildConfig > sample-project/cakephp-example: imagestreamtags "php:5.6" not found > > > The problem here is that your build is trying to reach php:5.6 imagestream. It looks like the IS was not imported correctly and I'm suspecting the proxy setting being the main problem. But it's not a proxy setting for the build, like you mentioned in [3] but rather a general proxy for the entire platform. ImageStream importer is reaching out to docker registry and gets metadata information about specific images, in your case it can't do that, which than leads to failed build. > [1] https://github.com/projectatomic/adb-atomic-developer-bundle > > [2] > https://github.com/projectatomic/adb-utils/blob/master/services/openshift/openshift.service > > [3] https://github.com/projectatomic/adb-utils/pull/150 > > [4] > https://github.com/projectatomic/adb-utils/pull/150#issuecomment-231321753 > Maciej
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
