Hide Forgot
Description of problem: When trying to pull an image from docker and deploy on Openshift origin, its throwing error as below error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Once the openshift origin cluster is up create a project 2. Add to project 3. Goto deploy image 4. Choose Image name option and enter fabric8/karaf-4 as image name 5. Click the search button next to image name textbox 6. Once image is found and result is fetched go ahead and create Actual results: Status: Error, ran for one second Pods Logs shows "error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory" Expected results: Karaf should be up and running in the pod Additional info:
Hi, do note that none of the images from docker seems to work with the latest release of open shift. You could give it a try, simple tomcat8 image also if you try to pull and deploy or doesn't matter whatever you want to deploy following documents for OpenShift Origin it fails with same error. Kindly advise any alternate version which is stable and allows deployment of docker images.
(In reply to SHOAIB RAZA KHAN from comment #1) > Hi, do note that none of the images from docker seems to work with the > latest release of open shift. You could give it a try, simple tomcat8 image > also if you try to pull and deploy or doesn't matter whatever you want to > deploy following documents for OpenShift Origin it fails with same error. > Kindly advise any alternate version which is stable and allows deployment of > docker images. Can you provide more information about how you deploy openshift? Are you using `oc cluster up`? What version of Docker you use? Can you check the master logs if there is something suspicious?
Here you go, Have downloaded OpenShift Origin latest release (openshift-origin-server-v1.4.0-rc1.tar.gz) from https://github.com/openshift/origin/releases Extracted the archive and executed below command to start the OpenShift cluster on my local setup [root@shoaibjdev]# sudo ./openshift start For the docker version: [root@shoaibjdev]# docker version Client: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: OS/Arch: linux/amd64 Server: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: OS/Arch: linux/amd64
Too old issue - closing