{"action":"created","issue":{"url":"https://api.github.com/repos/minishift/minishift/issues/2750","repository_url":"https://api.github.com/repos/minishift/minishift","labels_url":"https://api.github.com/repos/minishift/minishift/issues/2750/labels{/name}","comments_url":"https://api.github.com/repos/minishift/minishift/issues/2750/comments","events_url":"https://api.github.com/repos/minishift/minishift/issues/2750/events","html_url":"https://github.com/minishift/minishift/issues/2750","id":355898605,"node_id":"MDU6SXNzdWUzNTU4OTg2MDU=","number":2750,"title":"Deployment of an app using local image doesn't work","user":{"login":"garagatyi","id":1851863,"node_id":"MDQ6VXNlcjE4NTE4NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1851863?v=4","gravatar_id":"","url":"https://api.github.com/users/garagatyi","html_url":"https://github.com/garagatyi","followers_url":"https://api.github.com/users/garagatyi/followers","following_url":"https://api.github.com/users/garagatyi/following{/other_user}","gists_url":"https://api.github.com/users/garagatyi/gists{/gist_id}","starred_url":"https://api.github.com/users/garagatyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garagatyi/subscriptions","organizations_url":"https://api.github.com/users/garagatyi/orgs","repos_url":"https://api.github.com/users/garagatyi/repos","events_url":"https://api.github.com/users/garagatyi/events{/privacy}","received_events_url":"https://api.github.com/users/garagatyi/received_events","type":"User","site_admin":false},"labels":[{"id":403874607,"node_id":"MDU6TGFiZWw0MDM4NzQ2MDc=","url":"https://api.github.com/repos/minishift/minishift/labels/kind/bug","name":"kind/bug","color":"84b6eb","default":false},{"id":503456382,"node_id":"MDU6TGFiZWw1MDM0NTYzODI=","url":"https://api.github.com/repos/minishift/minishift/labels/priority/major","name":"priority/major","color":"e99695","default":false},{"id":545290854,"node_id":"MDU6TGFiZWw1NDUyOTA4NTQ=","url":"https://api.github.com/repos/minishift/minishift/labels/status/needs-investigation","name":"status/needs-investigation","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-08-31T09:04:27Z","updated_at":"2018-09-04T11:39:03Z","closed_at":null,"author_association":"NONE","body":"### General information\r\n\r\n  * Minishift version: v1.22.0+7163416\r\n  * OS: Linux\r\n  * Hypervisor: VirtualBox\r\n\r\n\r\n### Steps to reproduce\r\n\r\n  1. Tag an image as `docker.io/my/image` inside of the VM\r\n  2. Create a deployment that uses this tag\r\n  3. Get pods\r\n\r\n### Expected\r\nDeployment started, local image tag is used\r\n\r\n### Actual\r\nDeployment fails to start, pull error happened\r\n\r\nExact commands to reproduce:\r\n\r\n<details>\r\n\r\n```\r\n$ eval $(minishift docker-env)\r\n$ oc login -u developer -p developer\r\nLogin successful.\r\n\r\nYou have access to the following projects and can switch between them with 'oc project <projectname>':\r\n\r\n  * che\r\n    myproject\r\n\r\nUsing project \"che\".\r\n\r\n$ oc new-project proj\r\nNow using project \"proj\" on server \"https://192.168.99.100:8443\".\r\n\r\nYou can add applications to this project with the 'new-app' command. For example, try:\r\n\r\n    oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git\r\n\r\nto build a new example application in Ruby.\r\n$ docker pull centos/httpd\r\nUsing default tag: latest\r\nTrying to pull repository docker.io/centos/httpd ... \r\nlatest: Pulling from docker.io/centos/httpd\r\n7dc0dca2b151: Already exists \r\n545a197d72b2: Pull complete \r\ndc9d99a0bee2: Pull complete \r\nc6f417d2b41a: Pull complete \r\nDigest: sha256:6ee354a1a26a54d0aa16ae2b197f826733eb91b54658db2381dadde2f38f3457\r\nStatus: Downloaded newer image for docker.io/centos/httpd:latest\r\n$ docker tag centos/httpd docker.io/garagatyi/httpd\r\n$ oc run web --image docker.io/garagatyi/httpd --image-pull-policy=Never\r\ndeploymentconfig \"web\" created\r\n$ oc get pods\r\nNAME           READY     STATUS              RESTARTS   AGE\r\nweb-1-2z66v    0/1       ErrImageNeverPull   0          1d\r\nweb-1-deploy   1/1       Running             0          1d\r\n```\r\n</details>\r\n\r\nbut when pull policy is IfNotPresent image is pulled from Docker Hub and local one is ignored \r\n\r\n<details>\r\n\r\n```\r\n$ oc run web4 --image docker.io/garagatyi/httpd --image-pull-policy=IfNotPresent\r\ndeploymentconfig \"web4\" created\r\n$ oc get pods\r\nNAME            READY     STATUS             RESTARTS   AGE\r\nweb3-1-77jp7    0/1       CrashLoopBackOff   5          1d\r\nweb3-1-deploy   1/1       Running            0          1d\r\nweb4-1-deploy   1/1       Running            0          1d\r\nweb4-1-wqn6z    0/1       Error              0          1d\r\n$ docker images | grep http\r\ncentos/httpd                       latest              e23d3fcb4169        5 weeks ago         296MB\r\ngaragatyi/httpd                    latest              e23d3fcb4169        5 weeks ago         296MB\r\ngaragatyi/httpd                    latest              e23d3fcb4169        5 weeks ago         296MB\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/minishift/minishift/issues/comments/418335379","html_url":"https://github.com/minishift/minishift/issues/2750#issuecomment-418335379","issue_url":"https://api.github.com/repos/minishift/minishift/issues/2750","id":418335379,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODMzNTM3OQ==","user":{"login":"praveenkumar","id":410007,"node_id":"MDQ6VXNlcjQxMDAwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/410007?v=4","gravatar_id":"","url":"https://api.github.com/users/praveenkumar","html_url":"https://github.com/praveenkumar","followers_url":"https://api.github.com/users/praveenkumar/followers","following_url":"https://api.github.com/users/praveenkumar/following{/other_user}","gists_url":"https://api.github.com/users/praveenkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/praveenkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveenkumar/subscriptions","organizations_url":"https://api.github.com/users/praveenkumar/orgs","repos_url":"https://api.github.com/users/praveenkumar/repos","events_url":"https://api.github.com/users/praveenkumar/events{/privacy}","received_events_url":"https://api.github.com/users/praveenkumar/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T11:39:03Z","updated_at":"2018-09-04T11:39:03Z","author_association":"CONTRIBUTOR","body":"> OKD 3.10 brought that much bugs that we didn't manage to start Che on that and had to downgrade to OCP 3.9\r\n\r\nThat's the issue from openshift side sadly then :( , using minishift you can use origin 3.9 and able to use it as your pure docker `minishift start --openshift-version 3.9.0` \r\n\r\nFor 3.10 I still think this should be created on origin repo instead here."}}
{"actor":{"display_login":"praveenkumar"}}