Bug 2032111
| Summary: | arm64 cluster, create project and deploy the example deployment, pod is CrashLoopBackOff due to the image is built on linux+amd64 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, mfojtik, yselkowi |
| Version: | 4.10 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-11 18:15:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Junqi Zhao
2021-12-14 04:10:06 UTC
serve_hostname is an outdated test image. AFAICS the literal replacement for that would be: kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname That being said, perhaps there is a better example that could be used not from an e2e-test-image. checked with 4.10.0-0.nightly-arm64-2021-12-14-101540, pod is Running # kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname deployment.apps/hello-node created # oc get po NAME READY STATUS RESTARTS AGE hello-node-549d8c98c4-g74sn 1/1 Running 0 18m the image also could be used in amd64 cluster 4.10.0-0.nightly-2021-12-14-083101, pod is also Running The issue has fixed: [root@localhost Downloads]# oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.10.0-0.nightly-arm64-2021-12-24-235642 True False 43m Cluster version is 4.10.0-0.nightly-arm64-2021-12-24-235642 [root@localhost ~]# oc new-project zhouyt Now using project "zhouyt" on server "https://api.yinzhou27.qe.devcluster.openshift.com:6443". You can add applications to this project with the 'new-app' command. For example, try: oc new-app rails-postgresql-example to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application: kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname [root@localhost Downloads]# kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname deployment.apps/hello-node created [root@localhost Downloads]# oc get po NAME READY STATUS RESTARTS AGE hello-node-549d8c98c4-m9bd8 0/1 ContainerCreating 0 7s [root@localhost Downloads]# oc get po NAME READY STATUS RESTARTS AGE hello-node-549d8c98c4-m9bd8 1/1 Running 0 2m12s [root@localhost Downloads]# kubectl version --client Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v0.23.0", GitCommit:"9214112338643662d5922b28720c448b5fbcd8d4", GitTreeState:"clean", BuildDate:"2021-12-20T15:54:53Z", GoVersion:"go1.17.2", Compiler:"gc", Platform:"linux/amd64"} |