minishift: S2I failed to build application in case of proxy environment.

Steps to reproduce

$ minishift start --http-proxy http://<proxy_server>:3128 
Server Information ...
OpenShift server started.

The server is accessible via web console at:
    https://127.0.0.1:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

Step-2. Deploy an application on recently created cluster.

$ oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git

Step-3. Check the env variable of the builder containers.

# env
SOURCE_URI=https://github.com/openshift/django-ex.git
HOSTNAME=django-ex-1-build
DJANGO_EX_PORT_8080_TCP_ADDR=172.30.190.91
RUBY_EX_SERVICE_PORT_8080_TCP=8080
DJANGO_EX_PORT_8080_TCP_PROTO=tcp
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT=tcp://172.30.0.1:443
TERM=xterm
KUBERNETES_SERVICE_PORT=443
KUBERNETES_SERVICE_HOST=172.30.0.1
KUBERNETES_PORT_53_TCP=tcp://172.30.0.1:53
RUBY_EX_PORT_8080_TCP_ADDR=172.30.252.3
KUBERNETES_PORT_53_TCP_PORT=53
KUBERNETES_PORT_53_UDP=udp://172.30.0.1:53
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
KUBERNETES_SERVICE_PORT_DNS=53
DJANGO_EX_SERVICE_HOST=172.30.190.91
KUBECONFIG=/var/lib/origin/openshift.local.config/master/admin.kubeconfig
RUBY_EX_PORT_8080_TCP_PORT=8080
ALLOWED_UIDS=1-
PUSH_DOCKERCFG_PATH=/var/run/secrets/openshift.io/push
KUBERNETES_PORT_53_TCP_ADDR=172.30.0.1
RUBY_EX_SERVICE_HOST=172.30.252.3
KUBERNETES_PORT_53_UDP_ADDR=172.30.0.1
DROP_CAPS=KILL,MKNOD,SETGID,SETUID
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
BUILD={"kind":"Build","apiVersion":"v1","metadata":{"name":"django-ex-1","namespace":"myproject","selfLink":"/apis/build.openshift.io/v1/namespaces/myproject/builds/django-ex-1","uid":"04a5e900-bfc8-11e8-9059-06f51ac1ee93","resourceVersion":"2682","creationTimestamp":"2018-09-24T07:04:02Z","labels":{"app":"django-ex","buildconfig":"django-ex","openshift.io/build-config.name":"django-ex","openshift.io/build.start-policy":"Serial"},"annotations":{"openshift.io/build-config.name":"django-ex","openshift.io/build.number":"1"},"ownerReferences":[{"apiVersion":"build.openshift.io/v1","kind":"BuildConfig","name":"django-ex","uid":"0484e540-bfc8-11e8-9059-06f51ac1ee93","controller":true}]},"spec":{"serviceAccount":"builder","source":{"type":"Git","git":{"uri":"https://github.com/openshift/django-ex.git","ref":"master"}},"strategy":{"type":"Source","sourceStrategy":{"from":{"kind":"DockerImage","name":"172.30.1.1:5000/openshift/python@sha256:51cf14c1d1491c5ab0e902c52740c22d4fff52f95111b97d195d12325a426350"},"pullSecret":{"name":"builder-dockercfg-5h277"}}},"output":{"to":{"kind":"DockerImage","name":"172.30.1.1:5000/myproject/django-ex:latest"},"pushSecret":{"name":"builder-dockercfg-5h277"}},"resources":{},"postCommit":{},"nodeSelector":null,"triggeredBy":[{"message":"Build configuration change"}]},"status":{"phase":"New","outputDockerImageReference":"172.30.1.1:5000/myproject/django-ex:latest","config":{"kind":"BuildConfig","namespace":"myproject","name":"django-ex"},"output":{}}}

PWD=/var/lib/origin
RUBY_EX_PORT_8080_TCP=tcp://172.30.252.3:8080
RUBY_EX_PORT=tcp://172.30.252.3:8080
LANG=en_US.UTF-8
DJANGO_EX_PORT_8080_TCP_PORT=8080
KUBERNETES_PORT_53_UDP_PORT=53
SOURCE_REF=master
DJANGO_EX_SERVICE_PORT_8080_TCP=8080
DJANGO_EX_PORT_8080_TCP=tcp://172.30.190.91:8080
SOURCE_REPOSITORY=https://github.com/openshift/django-ex.git
SHLVL=1
HOME=/root
KUBERNETES_PORT_53_UDP_PROTO=udp
DJANGO_EX_SERVICE_PORT=8080
KUBERNETES_PORT_443_TCP_PROTO=tcp
DJANGO_EX_PORT=tcp://172.30.190.91:8080
KUBERNETES_SERVICE_PORT_HTTPS=443
RUBY_EX_SERVICE_PORT=8080
LESSOPEN=||/usr/bin/lesspipe.sh %s
PULL_DOCKERCFG_PATH=/var/run/secrets/openshift.io/pull
KUBERNETES_SERVICE_PORT_DNS_TCP=53
KUBERNETES_PORT_443_TCP_ADDR=172.30.0.1
KUBERNETES_PORT_53_TCP_PROTO=tcp
KUBERNETES_PORT_443_TCP=tcp://172.30.0.1:443
RUBY_EX_PORT_8080_TCP_PROTO=tcp

Expected

Should have proxy details to builder containter.

More Details : https://bugzilla.redhat.com/show_bug.cgi?id=1635513

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 33 (12 by maintainers)

Most upvoted comments

be aware that you need to define the proxy now on a per project basis from a .s2i file IIRC. They have remove pass-through of the proxy settings quite a while back.

On Thu, Sep 19, 2019 at 10:14 PM Simon Pfeifer notifications@github.com wrote:

Hi all, I’m currently facing the same problem behind a proxy. Without a proxy on a different minishift profile it’s working like a charm. Which strange proxy settings is “oc new-app” using?!

===== SOME INFORMATIONS =====

C:\dev\minishift-1.34.1-windows-amd64>minishift version minishift v1.34.1+c2ff9cb C:\dev\minishift-1.34.1-windows-amd64>minishift openshift version openshift v3.11.0+739ab57-285 C:\dev\minishift-1.34.1-windows-amd64>minishift config view

===== THE ISSUE =====

C:\dev\minishift-1.34.1-windows-amd64>oc new-app https://github.com/openshift/nodejs-ex -l name=myapp --loglevel=8 I0919 15:46:04.452538 5572 loader.go:359] Config loaded from file C:\Users\XXX/.kube/config I0919 15:46:04.503038 5572 loader.go:359] Config loaded from file C:\Users\XXX/.kube/config I0919 15:46:04.505038 5572 loader.go:359] Config loaded from file C:\Users\XXX/.kube/config I0919 15:46:04.506538 5572 loader.go:359] Config loaded from file C:\Users\XXX/.kube/config I0919 15:46:04.508038 5572 loader.go:359] Config loaded from file C:\Users\XXX/.kube/config I0919 15:46:04.508538 5572 newapp.go:630] Docker client did not respond to a ping: Get http://unix.sock/_ping: open //./pipe/docker_engine: Das System kann die angegebene Datei nicht finden. I0919 15:46:04.510038 5572 loader.go:359] Config loaded from file C:\Users\XXX/.kube/config I0919 15:46:04.510538 5572 repository.go:424] Executing git ls-remote https://github.com/openshift/nodejs-ex I0919 15:46:05.310038 5572 sourcelookup.go:92] https://github.com/openshift/nodejs-ex is a valid remote git repository I0919 15:46:05.310038 5572 newapp.go:283] treating https://github.com/openshift/nodejs-ex as possible source repo I0919 15:46:05.318038 5572 sourcelookup.go:626] No source ref specified, using shallow git clone I0919 15:46:05.318038 5572 repository.go:424] Executing git clone –depth=1 --recursive https://github.com/openshift/nodejs-ex C:\Users\XXX\AppData\Local\Temp\gen206549219 I0919 15:46:08.490538 5572 sourcelookup.go:314] Checking if https://github.com/openshift/nodejs-ex requires authentication I0919 15:46:08.491038 5572 repository.go:424] Executing git ls-remote –heads https://github.com/openshift/nodejs-ex I0919 15:46:08.494538 5572 repository.go:433] Environment: I0919 15:46:08.494538 5572 repository.go:435] - HOME=C:\Users\XXX\AppData\Local\Temp\githome810549990 I0919 15:46:08.495038 5572 repository.go:435] - GIT_SSH=/dev/null I0919 15:46:08.495038 5572 repository.go:435] - GIT_CONFIG_NOSYSTEM=true I0919 15:46:08.495038 5572 repository.go:435] - GIT_ASKPASS=true I0919 15:46:08.495038 5572 repository.go:435] - ProgramData=C:\ProgramData I0919 15:46:08.495538 5572 repository.go:435] - SystemRoot=C:\Windows I0919 15:46:10.859538 5572 repository.go:492] Error executing command: exit status 128 warning: Cannot check if git requires authentication. I0919 15:46:10.863538 5572 imagestreamlookup.go:61] checking ImageStreams myproject/nodejs with ref “latest” I0919 15:46:10.864038 5572 round_trippers.go:383] GET https://192.168.99.106:8443/apis/image.openshift.io/v1/namespaces/myproject/imagestreams I0919 15:46:10.864038 5572 round_trippers.go:390] Request Headers: I0919 15:46:10.864538 5572 round_trippers.go:393] Accept: application/json, / I0919 15:46:10.864538 5572 round_trippers.go:393] User-Agent: oc/v1.11.0+d4cacc0 (windows/amd64) kubernetes/d4cacc0 I0919 15:46:10.864538 5572 round_trippers.go:393] Authorization: Bearer w0WtHt9MR5N4UF1B-IHl8D0qerrssWSTjfS1CevuaOk I0919 15:46:10.880538 5572 round_trippers.go:408] Response Status: 200 OK in 15 milliseconds I0919 15:46:10.880538 5572 round_trippers.go:411] Response Headers: I0919 15:46:10.881038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.881038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.881038 5572 round_trippers.go:414] Content-Type: application/json I0919 15:46:10.881538 5572 round_trippers.go:414] Date: Thu, 19 Sep 2019 13:46:09 GMT I0919 15:46:10.881538 5572 round_trippers.go:414] Content-Length: 190 I0919 15:46:10.881538 5572 request.go:897] Response Body: {“kind”:“ImageStreamList”,“apiVersion”:“image.openshift.io/v1 “,“metadata”:{“selfLink”:”/apis/ image.openshift.io/v1/namespaces/myproject/imagestreams “,“resourceVersion”:“986856”},“items”:[]} I0919 15:46:10.883038 5572 imagestreamlookup.go:61] checking ImageStreams openshift/nodejs with ref “latest” I0919 15:46:10.883038 5572 round_trippers.go:383] GET https://192.168.99.106:8443/apis/image.openshift.io/v1/namespaces/openshift/imagestreams I0919 15:46:10.883038 5572 round_trippers.go:390] Request Headers: I0919 15:46:10.883538 5572 round_trippers.go:393] User-Agent: oc/v1.11.0+d4cacc0 (windows/amd64) kubernetes/d4cacc0 I0919 15:46:10.883538 5572 round_trippers.go:393] Authorization: Bearer w0WtHt9MR5N4UF1B-IHl8D0qerrssWSTjfS1CevuaOk I0919 15:46:10.883538 5572 round_trippers.go:393] Accept: application/json, / I0919 15:46:10.891038 5572 round_trippers.go:408] Response Status: 200 OK in 7 milliseconds I0919 15:46:10.891038 5572 round_trippers.go:411] Response Headers: I0919 15:46:10.891038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.891538 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.891538 5572 round_trippers.go:414] Content-Type: application/json I0919 15:46:10.891538 5572 round_trippers.go:414] Date: Thu, 19 Sep 2019 13:46:09 GMT I0919 15:46:10.895038 5572 request.go:897] Response Body: {“kind”:“ImageStreamList”,“apiVersion”:“image.openshift.io/v1 “,“metadata”:{“selfLink”:”/apis/ image.openshift.io/v1/namespaces/openshift/imagestreams “,“resourceVersion”:“986856”},“items”:[{“metadata”:{“name”:“dotnet”,“namespace”:“openshift”,“selfLink”:”/apis/ image.openshift.io/v1/namespaces/openshift/imagestreams/dotnet “,“uid”:“8b5af2ec-d63a-11e9-bcc3-080027d1cfc5”,“resourceVersion”:“1105”,“generation”:2,“creationTimestamp”:“2019-09-13T15:24:14Z”,“annotations”:{” kubectl.kubernetes.io/last-applied-configuration”:”{“apiVersion”:” image.openshift.io/v1",“kind”:“ImageStream”,“metadata”:{“annotations”:{" openshift.io/display-name":“.NET Core”},“name”:“dotnet”,“namespace”:“openshift”},“spec”:{“tags”:[{“annotations”:{“description”:“Build and run .NET Core applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/2.0/build/README.md.\n\nWARNING: By selectingthis [truncated 120357 chars] I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored dotnet: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored httpd: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored jenkins: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored mariadb: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored mongodb: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored mysql: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:77] unscored nginx: 1 I0919 15:46:10.898038 5572 imagestreamlookup.go:146] no image recorded for openshift/nodejs:latest I0919 15:46:10.898038 5572 imagestreamlookup.go:116] Adding Image stream “nodejs” in project “openshift” as component match for “nodejs” with score 0.5 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored perl: 1 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored php: 1 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored postgresql: 1 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored python: 1 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored redis: 1 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored ruby: 1 I0919 15:46:10.898538 5572 imagestreamlookup.go:77] unscored wildfly: 1 I0919 15:46:10.898538 5572 round_trippers.go:383] GET https://192.168.99.106:8443/apis/image.openshift.io/v1/namespaces/myproject/imagestreams I0919 15:46:10.903038 5572 round_trippers.go:390] Request Headers: I0919 15:46:10.903538 5572 round_trippers.go:393] Accept: application/json, / I0919 15:46:10.903538 5572 round_trippers.go:393] User-Agent: oc/v1.11.0+d4cacc0 (windows/amd64) kubernetes/d4cacc0 I0919 15:46:10.903538 5572 round_trippers.go:393] Authorization: Bearer w0WtHt9MR5N4UF1B-IHl8D0qerrssWSTjfS1CevuaOk I0919 15:46:10.906538 5572 round_trippers.go:408] Response Status: 200 OK in 3 milliseconds I0919 15:46:10.906538 5572 round_trippers.go:411] Response Headers: I0919 15:46:10.907038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.907038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.907538 5572 round_trippers.go:414] Content-Type: application/json I0919 15:46:10.907538 5572 round_trippers.go:414] Date: Thu, 19 Sep 2019 13:46:09 GMT I0919 15:46:10.908038 5572 round_trippers.go:414] Content-Length: 190 I0919 15:46:10.908038 5572 request.go:897] Response Body: {“kind”:“ImageStreamList”,“apiVersion”:“image.openshift.io/v1 “,“metadata”:{“selfLink”:”/apis/ image.openshift.io/v1/namespaces/myproject/imagestreams “,“resourceVersion”:“986856”},“items”:[]} I0919 15:46:10.908538 5572 round_trippers.go:383] GET https://192.168.99.106:8443/apis/image.openshift.io/v1/namespaces/openshift/imagestreams I0919 15:46:10.913038 5572 round_trippers.go:390] Request Headers: I0919 15:46:10.913038 5572 round_trippers.go:393] Accept: application/json, / I0919 15:46:10.913038 5572 round_trippers.go:393] User-Agent: oc/v1.11.0+d4cacc0 (windows/amd64) kubernetes/d4cacc0 I0919 15:46:10.913038 5572 round_trippers.go:393] Authorization: Bearer w0WtHt9MR5N4UF1B-IHl8D0qerrssWSTjfS1CevuaOk I0919 15:46:10.919038 5572 round_trippers.go:408] Response Status: 200 OK in 5 milliseconds I0919 15:46:10.919038 5572 round_trippers.go:411] Response Headers: I0919 15:46:10.919038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.919538 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.919538 5572 round_trippers.go:414] Content-Type: application/json I0919 15:46:10.920038 5572 round_trippers.go:414] Date: Thu, 19 Sep 2019 13:46:09 GMT I0919 15:46:10.924038 5572 request.go:897] Response Body: {“kind”:“ImageStreamList”,“apiVersion”:“image.openshift.io/v1 “,“metadata”:{“selfLink”:”/apis/ image.openshift.io/v1/namespaces/openshift/imagestreams “,“resourceVersion”:“986856”},“items”:[{“metadata”:{“name”:“dotnet”,“namespace”:“openshift”,“selfLink”:”/apis/ image.openshift.io/v1/namespaces/openshift/imagestreams/dotnet “,“uid”:“8b5af2ec-d63a-11e9-bcc3-080027d1cfc5”,“resourceVersion”:“1105”,“generation”:2,“creationTimestamp”:“2019-09-13T15:24:14Z”,“annotations”:{” kubectl.kubernetes.io/last-applied-configuration”:”{“apiVersion”:” image.openshift.io/v1”,“kind”:“ImageStream”,“metadata”:{“annotations”:{" openshift.io/display-name":“.NET Core”},“name”:“dotnet”,“namespace”:“openshift”},“spec”:{“tags”:[{“annotations”:{“description”:“Build and run .NET Core applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/2.0/build/README.md.\n\nWARNING: By selectingthis [truncated 120357 chars] I0919 15:46:10.928038 5572 imagestreamlookup.go:389] Checking imagestream openshift/dotnet for supports annotation “nodejs” I0919 15:46:10.928038 5572 imagestreamlookup.go:389] Checking imagestream openshift/httpd for supports annotation “nodejs” I0919 15:46:10.928038 5572 imagestreamlookup.go:389] Checking imagestream openshift/jenkins for supports annotation “nodejs” I0919 15:46:10.929538 5572 imagestreamlookup.go:389] Checking imagestream openshift/mariadb for supports annotation “nodejs” I0919 15:46:10.930038 5572 imagestreamlookup.go:389] Checking imagestream openshift/mongodb for supports annotation “nodejs” I0919 15:46:10.930038 5572 imagestreamlookup.go:389] Checking imagestream openshift/mysql for supports annotation “nodejs” I0919 15:46:10.930038 5572 imagestreamlookup.go:389] Checking imagestream openshift/nginx for supports annotation “nodejs” I0919 15:46:10.930038 5572 imagestreamlookup.go:389] Checking imagestream openshift/nodejs for supports annotation “nodejs” I0919 15:46:10.933538 5572 imagestreamlookup.go:389] Checking imagestream openshift/perl for supports annotation “nodejs” I0919 15:46:10.933538 5572 imagestreamlookup.go:389] Checking imagestream openshift/php for supports annotation “nodejs” I0919 15:46:10.934038 5572 imagestreamlookup.go:389] Checking imagestream openshift/postgresql for supports annotation “nodejs” I0919 15:46:10.934038 5572 imagestreamlookup.go:389] Checking imagestream openshift/python for supports annotation “nodejs” I0919 15:46:10.934038 5572 imagestreamlookup.go:389] Checking imagestream openshift/redis for supports annotation “nodejs” I0919 15:46:10.937538 5572 imagestreamlookup.go:389] Checking imagestream openshift/ruby for supports annotation “nodejs” I0919 15:46:10.937538 5572 imagestreamlookup.go:389] Checking imagestream openshift/wildfly for supports annotation “nodejs” I0919 15:46:10.937538 5572 dockerimagelookup.go:84] checking remote registry for “nodejs” I0919 15:46:10.938038 5572 request.go:897] Request Body: {“kind”:“ImageStreamImport”,“apiVersion”:“image.openshift.io/v1 “,“metadata”:{“name”:“newapp”,“creationTimestamp”:null},“spec”:{“import”:false,“images”:[{“from”:{“kind”:“DockerImage”,“name”:“nodejs”},“importPolicy”:{},“referencePolicy”:{“type”:””}}]},“status”:{}} I0919 15:46:10.941538 5572 round_trippers.go:383] POST https://192.168.99.106:8443/apis/image.openshift.io/v1/namespaces/myproject/imagestreamimports I0919 15:46:10.941538 5572 round_trippers.go:390] Request Headers: I0919 15:46:10.941538 5572 round_trippers.go:393] User-Agent: oc/v1.11.0+d4cacc0 (windows/amd64) kubernetes/d4cacc0 I0919 15:46:10.941538 5572 round_trippers.go:393] Accept: application/json, / I0919 15:46:10.941538 5572 round_trippers.go:393] Content-Type: application/json I0919 15:46:10.946038 5572 round_trippers.go:393] Authorization: Bearer w0WtHt9MR5N4UF1B-IHl8D0qerrssWSTjfS1CevuaOk I0919 15:46:10.956538 5572 round_trippers.go:408] Response Status: 201 Created in 10 milliseconds I0919 15:46:10.956538 5572 round_trippers.go:411] Response Headers: I0919 15:46:10.957038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.957038 5572 round_trippers.go:414] Cache-Control: no-store I0919 15:46:10.957538 5572 round_trippers.go:414] Content-Type: application/json I0919 15:46:10.957538 5572 round_trippers.go:414] Date: Thu, 19 Sep 2019 13:46:09 GMT I0919 15:46:10.957538 5572 round_trippers.go:414] Content-Length: 835 I0919 15:46:10.958038 5572 request.go:897] Response Body: {“kind”:“ImageStreamImport”,“apiVersion”:“image.openshift.io/v1 “,“metadata”:{“name”:“newapp”,“namespace”:“myproject”,“selfLink”:”/apis/ image.openshift.io/v1/namespaces/myproject/imagestreamimports/newapp”,“uid”:“d632ab06-dae3-11e9-8b28-080027d1cfc5”,“creationTimestamp”:“2019-09-19T13:46:09Z”},“spec”:{“import”:false,“images”:[{“from”:{“kind”:“DockerImage”,“name”:“nodejs”},“importPolicy”:{},“referencePolicy”:{“type”:“Source”}}]},“status”:{“images”:[{“status”:{“metadata”:{},“status”:“Failure”,“message”:“Internal error occurred: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: no such host”,“reason”:“InternalError”,“details”:{“causes”:[{“message”:“Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: no such host”}]},“code”:500},“tag”:“latest”}]}} I0919 15:46:10.960038 5572 dockerimagelookup.go:227] image import failed: image.ImageImportStatus{Tag:“latest”, Status:v1.Status{TypeMeta:v1.TypeMeta{Kind:”“, APIVersion:”“}, ListMeta:v1.ListMeta{SelfLink:”“, ResourceVersion:”“, Continue:”"}, Status:“Failure”, Message:“Internal error occurred: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: no such host”, Reason:“InternalError”, Details:(*v1.StatusDetails)(0xc04373bda0), Code:500}, Image:(*image.Image)(nil)} W0919 15:46:10.967038 5572 dockerimagelookup.go:233] Docker registry lookup failed: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: no such host F0919 15:46:10.967538 5572 helpers.go:119] error: no tags found on matching image stream: “openshift/nodejs”

The image stream “openshift/nodejs” exists, but it has no tags.

Use --allow-missing-imagestream-tags to use this image stream

===== CHECK CONNCTION WITH MINISHIFT SSH =====

←]0;docker@minishift:~[docker@minishift ~]$ curl --head -L docker.io HTTP/1.1 301 Moved Permanently Date: Thu, 19 Sep 2019 13:34:05 GMT Content-Length: 0 Location: https://docker.io/ X-Cache: MISS from SGW-01 X-Cache-Lookup: MISS from SGW-01:3128 Via: 1.1 SGW-01 (squid) Connection: keep-alive

HTTP/1.1 200 Connection established

HTTP/1.1 301 Moved Permanently Content-length: 0 Location: https://www.docker.com/

HTTP/1.1 200 Connection established

HTTP/1.1 200 OK Content-Type: text/html; charset=UTF-8 Content-Length: 81842 Connection: keep-alive Server: nginx Date: Thu, 19 Sep 2019 11:37:41 GMT Cache-Control: max-age=21600, public Link: https://www.docker.com/; rel=“shortlink”, https://www.docker.com/; rel=“canonical” Link: https://www.docker.com/index.html; rel=“revision” X-UA-Compatible: IE=edge Content-Language: en X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Last-Modified: Tue, 10 Sep 2019 20:56:09 GMT ETag: W/“1568148969” X-Varnish: 1246181 1245764 Accept-Ranges: bytes Strict-Transport-Security: max-age=31536000 Vary: Accept-Encoding,Accept-Encoding X-Cache: Hit from cloudfront Via: 1.1 c205f1b841011a5b4b893843ca879e5a.cloudfront.net (CloudFront) X-Amz-Cf-Pop: MUC51 X-Amz-Cf-Id: NkVue7sHnpfXaK050K5fjpqkU8QCADUrOhuqFZDMbs6kIwG73C3V5Q== Age: 10553

===== VERIFY DOCKER STUFF WITHIN MINISHIFT VM =====

←]0;docker@minishift:~[docker@minishift ~]$ docker version Client: Version: 1.13.1 API version: 1.26 Package version: docker-1.13.1-91.git07f3374.el7.centos.x86_64 Go version: go1.10.3 Git commit: 07f3374/1.13.1 Built: Wed Feb 13 17:10:12 2019 OS/Arch: linux/amd64

Server: Version: 1.13.1 API version: 1.26 (minimum version 1.12) Package version: docker-1.13.1-91.git07f3374.el7.centos.x86_64 Go version: go1.10.3 Git commit: 07f3374/1.13.1 Built: Wed Feb 13 17:10:12 2019 OS/Arch: linux/amd64 Experimental: false

←]0;docker@minishift:~[docker@minishift ~]$ docker info Containers: 63 Running: 31 Paused: 0 Stopped: 32 Images: 11 Server Version: 1.13.1 Storage Driver: overlay2 Backing Filesystem: xfs Supports d_type: true Native Overlay Diff: true Logging Driver: journald Cgroup Driver: systemd Plugins: Volume: local Network: bridge host macvlan null overlay Swarm: inactive Runtimes: docker-runc runc Default Runtime: docker-runc Init Binary: docker-init containerd version: (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1) runc version: 290a33602b16ff2d1cc5339bc0297f0e094462ce (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f) init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574) Security Options: seccomp Profile: default selinux Kernel Version: 3.10.0-957.5.1.el7.x86_64 Operating System: CentOS Linux 7 (Core) OSType: linux Architecture: x86_64 Number of Docker Hooks: 3 CPUs: 2 Total Memory: 3.858 GiB Name: minishift ID: GKC6:WLS3:Y2B4:MQGM:CX66:P55I:S7OQ:7VMH:IN4V:C6VK:EH53:JHLM Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Http Proxy: http://proxy.domain.de:3128 Https Proxy: http://proxy.domain.de:3128 No Proxy: localhost,127.0.0.1,172.30.1.1 Registry: https://index.docker.io/v1/ Labels: provider=virtualbox Experimental: false Insecure Registries: 172.30.0.0/16 127.0.0.0/8 Live Restore Enabled: false Registries: docker.io (secure)

←]0;docker@minishift:~←[?1034h[docker@minishift ~]$ docker pull hello-world Using default tag: latest Trying to pull repository docker.io/library/hello-world … latest: Pulling from docker.io/library/hello-world

←[1BDigest: sha256:b8ba256769a0ac28dd126d584e0a2011cd2877f3f76e093a7ae560f2a5301c00 Status: Downloaded newer image for docker.io/hello-world:latest

Thanks in advance and kind regards, Simon

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/minishift/minishift/issues/3125?email_source=notifications&email_token=AAAAOZS7PHTX3VXALZUT7I3QKOCNRA5CNFSM4GQSW23KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7DTV3A#issuecomment-533150444, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAAOZU2KKY3PTVUNPUCQK3QKOCNRANCNFSM4GQSW23A .

Gerard Braad | http://gbraad.nl [ Doing Open Source Matters ]