Description
[oc new-app deployment fails on ppc64le architecture (IBM POWER8) ]
Version
$ openshift version
openshift v3.6.1+008f2d5-dirty
kubernetes v1.6.1+5115d708d7
etcd 3.2.1
$ oc version
oc v3.6.1+008f2d5-dirty
kubernetes v1.6.1+5115d708d7
features: Basic-Auth
Steps To Reproduce
- Pull a docker image for ppc64le and verify it.
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ppc64le/ubuntu 14.04 e36f8a3da852 9 days ago 260MB
- Tag it and deploy it with 'oc new-app' command
$ oc tag --source=docker ppc64le/ubuntu:14.04 example4:latest
$ oc new-app example4:latest
--> Creating resources ...
deploymentconfig "example4" created
--> Success
Run 'oc status' to view your app.
- Examine the newly-pulled images for its CPU architecture
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ppc64le/ubuntu 14.04 e36f8a3da852 9 days ago 260MB
openshift/origin-deployer v3.6.1 90fbedb07cc9 4 weeks ago 1.01GB
openshift/origin-pod v3.6.1 77b5b3e452aa 4 weeks ago 219MB
$ docker inspect openshift/origin-pod:v3.6.1 | grep -i arch
"Architecture": "amd64",
Current Result
Deploy fails because the pulled openshift images of openshift/origin-deployer and openshift/origin-pod are built for amd64 architecture, not for ppc64le.
$ oc status
In project test3 on server https://172.29.160.241:8443
dc/example4 deploys istag/example4:latest
deployment #1 failed 3 minutes ago: image change
Expected Result
docker hub account of openshift should provide openshift images based on ppc64le architecture, too.