Closed apupier closed 6 years ago
I hope that this test will emphasize the issue: https://github.com/apupier/openshift-restclient-java/tree/300-RsyncErrorWhenPathContainsSpace
I think this is an oc issue. @bdshadow can you confirm ?
@apupier @jeffmaury most probably it's bug, which we've already discussed with you @apupier . Even though it has been fixed in the upstream oc client, it is backported to old version. So it'll work only starting from some version of oc client (at least 3.6.x must work fine)
if you are mentioning this bug https://github.com/openshift/origin/issues/15187 this is not the same. The pointed bug it is when the "path to oc" has space to it, not when the folder to rsync contains space.
I managed to have the Integration test running locally using the IDE (not from maven command-line) but it was enough to emphasize the bug with the test. I updated the branch: https://github.com/apupier/openshift-restclient-java/tree/300-RsyncErrorWhenPathContainsSpace
I'm able to have it working from cygwin terminal:
Aurelien Pupier@DESKTOP-9NT300B /cygdrive/c/Users/AURELI~1/AppData/Local/Temp/junit3759284092951894034
$ oc rsync --token=NvR3P3C2l-r-VQo4dwDAiH23iR4r_rBUgceoWu6ujBY --server=https://192.168.1.39:8443 --insecure-skip-tls-verify=true "C:/Users/Aurelien Pupier/AppData/Local/Temp/junit3759284092951894034/with sp@cé in path" docker-registry-1-9w80n:/tmp -n default
Forwarding from 127.0.0.1:63546 -> 59441
Forwarding from [::1]:63546 -> 59441
Handling connection for 63546
sending incremental file list
sent 142 bytes received 16 bytes 316.00 bytes/sec
total size is 0 speedup is 0.00
but not from cmd:
C:\Users\AURELI~1\AppData\Local\Temp\junit3759284092951894034> oc rsync --token=NvR3P3C2l-r-VQo4dwDAiH23iR4r_rBUgceoWu6ujBY --server=https://192.168.1.39:8443 --insecure-skip-tls-verify=true "C:/Users/Aurelien Pupier/AppData/Local/Temp/junit3759284092951894034/with sp@cé in path" docker-registry-1-9w80n:/tmp -n default
Forwarding from 127.0.0.1:63532 -> 56270
Forwarding from [::1]:63532 -> 56270
Handling connection for 63532
sending incremental file list
sent 20 bytes received 11 bytes 62.00 bytes/sec
total size is 0 speedup is 0.00
rsync: change_dir "/cygdrive/c/Users/AURELI~1/AppData/Local/Temp/junit3759284092951894034//"/cygdrive/c/Users/Aurelien Pupier/AppData/Local/Temp/junit3759284092951894034" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
error: exit status 23
It seems that we need to provide some quotes in openshift-rest-client for sure and then will need to understand why it is working from cygwin and not from cmd (and neither from openshift-rest-client when adding the quotes)
For cmd I would suggest using real Windows path so should be "C:\Users\Aurelien Pupier\AppData\Local\Temp\junit3759284092951894034\with sp@cé in path" instead of "C:/Users/Aurelien Pupier/AppData/Local/Temp/junit3759284092951894034/with sp@cé in path"
For cmd I would suggest using real Windows path so should be "C:\Users\Aurelien Pupier\AppData\Local\Temp\junit3759284092951894034\with sp@cé in path" instead of "C:/Users/Aurelien Pupier/AppData/Local/Temp/junit3759284092951894034/with sp@cé in path"
I have the same error with backslash from cmd:
C:\Users\Aurelien Pupier>oc rsync --token=FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4 --server=https://192.168.1.39:8443 --insecure-skip-tls-verify=true "C:\Users\Aurelien Pupier\AppData\Local\Temp\junit3882442379303004346\with sp@cé in path" docker-registry-1-9w80n:/tmp -n default
Forwarding from 127.0.0.1:56834 -> 36709
Forwarding from [::1]:56834 -> 36709
Handling connection for 56834
sending incremental file list
sent 20 bytes received 11 bytes 62.00 bytes/sec
total size is 0 speedup is 0.00
rsync: change_dir "/cygdrive/c/Users/Aurelien Pupier//"/cygdrive/c/Users/Aurelien Pupier/AppData/Local/Temp/junit3882442379303004346" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
error: exit status 23
Can you add --loglevel=10 to that command ?
with --loglevel=10
C:\Users\Aurelien Pupier>oc rsync --loglevel=10 --token=FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4 --server=https://192.168.1.39:8443 --insecure-skip-tls-verify=true "C:\Users\Aurelien Pupier\AppData\Local\Temp\junit3882442379303004346\with sp@cé in path" docker-registry-1-9w80n:/tmp -n default
I1108 14:11:45.881090 19984 loader.go:354] Config loaded from file C:\Users\Aurelien Pupier/.kube/config
I1108 14:11:45.887585 19984 cached_discovery.go:118] returning cached discovery info from C:\Users\Aurelien Pupier\.kube\192.168.1.39_8443\servergroups.json
I1108 14:11:45.888581 19984 execremote.go:29] Remote executor running command: bash -c cat /proc/net/tcp && ( [ -e /proc/net/tcp6 ] && cat /proc/net/tcp6 || true)
I1108 14:11:45.889084 19984 round_trippers.go:386] curl -k -v -XGET -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" -H "Accept: application/json, */*" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n
I1108 14:11:45.924580 19984 round_trippers.go:405] GET https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n 200 OK in 34 milliseconds
I1108 14:11:45.924580 19984 round_trippers.go:411] Response Headers:
I1108 14:11:45.926580 19984 round_trippers.go:414] Content-Type: application/json
I1108 14:11:45.930094 19984 round_trippers.go:414] Content-Length: 3711
I1108 14:11:45.930629 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:36 GMT
I1108 14:11:45.931081 19984 round_trippers.go:414] Cache-Control: no-store
I1108 14:11:45.931603 19984 request.go:991] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"docker-registry-1-9w80n","generateName":"docker-registry-1-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/docker-registry-1-9w80n","uid":"86f93798-c39a-11e7-a347-00155d380128","resourceVersion":"1368","creationTimestamp":"2017-11-07T09:03:31Z","labels":{"deployment":"docker-registry-1","deploymentconfig":"docker-registry","docker-registry":"default"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"default\",\"name\":\"docker-registry-1\",\"uid\":\"76b89ebd-c39a-11e7-a347-00155d380128\",\"apiVersion\":\"v1\",\"resourceVersion\":\"1126\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"docker-registry","openshift.io/deployment.name":"docker-registry-1","openshift.io/scc":"privileged"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"docker-registry-1","uid":"76b89ebd-c39a-11e7-a347-00155d380128","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"registry-storage","hostPath":{"path":"/mnt/sda1/var/lib/minishift/openshift.local.pv/registry"}},{"name":"registry-token-141qh","secret":{"secretName":"registry-token-141qh","defaultMode":420}}],"containers":[{"name":"registry","image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","ports":[{"containerPort":5000,"protocol":"TCP"}],"env":[{"name":"REGISTRY_HTTP_ADDR","value":":5000"},{"name":"REGISTRY_HTTP_NET","value":"tcp"},{"name":"REGISTRY_HTTP_SECRET","value":"CqGLNdJQuVJTr0CPvZl1WF1D6qVjlrn25LF7mOds6zA="},{"name":"REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA","value":"false"}],"resources":{"requests":{"cpu":"100m","memory":"256Mi"}},"volumeMounts":[{"name":"registry-storage","mountPath":"/registry"},{"name":"registry-token-141qh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"initialDelaySeconds":10,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"registry","serviceAccount":"registry","nodeName":"localhost","securityContext":{},"imagePullSecrets":[{"name":"registry-dockercfg-9nvgn"}],"schedulerName":"default-scheduler"},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:04:31Z"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"}],"hostIP":"192.168.1.39","podIP":"172.17.0.5","startTime":"2017-11-07T09:03:31Z","containerStatuses":[{"name":"registry","state":{"running":{"startedAt":"2017-11-07T09:04:20Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","imageID":"docker-pullable://registry.access.redhat.com/openshift3/ose-docker-registry@sha256:e10e413dea5aeed6b6e4b3f337bc467b54c14946d1966a75bd5b79678de2c409","containerID":"docker://3be842bd096a555dfdad714c73f8ca74ca0767eaf3d9f23b9c4b8fd985b44711"}],"qosClass":"Burstable"}}
I1108 14:11:45.933080 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=bash&command=-c&command=cat+%2Fproc%2Fnet%2Ftcp+%26%26+%28+%5B+-e+%2Fproc%2Fnet%2Ftcp6+%5D+%26%26+cat+%2Fproc%2Fnet%2Ftcp6+%7C%7C+true%29&container=registry&container=registry&stderr=true&stdout=true
I1108 14:11:45.933080 19984 round_trippers.go:386] curl -k -v -XPOST -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=bash&command=-c&command=cat+%2Fproc%2Fnet%2Ftcp+%26%26+%28+%5B+-e+%2Fproc%2Fnet%2Ftcp6+%5D+%26%26+cat+%2Fproc%2Fnet%2Ftcp6+%7C%7C+true%29&container=registry&container=registry&stderr=true&stdout=true
I1108 14:11:45.994583 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=bash&command=-c&command=cat+%2Fproc%2Fnet%2Ftcp+%26%26+%28+%5B+-e+%2Fproc%2Fnet%2Ftcp6+%5D+%26%26+cat+%2Fproc%2Fnet%2Ftcp6+%7C%7C+true%29&container=registry&container=registry&stderr=true&stdout=true 101 Switching Protocols in 60 milliseconds
I1108 14:11:45.994583 19984 round_trippers.go:411] Response Headers:
I1108 14:11:45.996593 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.000080 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.000592 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.001080 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:36 GMT
I1108 14:11:46.001591 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=bash&command=-c&command=cat+%2Fproc%2Fnet%2Ftcp+%26%26+%28+%5B+-e+%2Fproc%2Fnet%2Ftcp6+%5D+%26%26+cat+%2Fproc%2Fnet%2Ftcp6+%7C%7C+true%29&container=registry&container=registry&stderr=true&stdout=true 101 Switching Protocols in 68 milliseconds
I1108 14:11:46.002589 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.003099 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.004088 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.004580 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.005084 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:36 GMT
I1108 14:11:46.110524 19984 copyrsyncd.go:96] Determining port in use from: 0: 00000000000000000000000000000000:1388 00000000000000000000000000000000:0000 0A 00000000:00000000 00:00000000 00000000 1001 0 64109 1 ffff8800cd6aaa80 100 0 0 10 0
I1108 14:11:46.110524 19984 copyrsyncd.go:96] Determining port in use from: 1: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DED0 06 00000000:00000000 03:0000098D 00000000 0 0 0 3 ffff88007029d700
I1108 14:11:46.113023 19984 copyrsyncd.go:96] Determining port in use from: 2: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEE8 06 00000000:00000000 03:0000115D 00000000 0 0 0 3 ffff88007029ca00
I1108 14:11:46.116524 19984 copyrsyncd.go:96] Determining port in use from: 3: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEE6 06 00000000:00000000 03:0000115D 00000000 0 0 0 3 ffff88007029ce00
I1108 14:11:46.117025 19984 copyrsyncd.go:96] Determining port in use from: 4: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEDA 06 00000000:00000000 03:00000D75 00000000 0 0 0 3 ffff88007029d300
I1108 14:11:46.117523 19984 copyrsyncd.go:96] Determining port in use from: 5: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEF2 06 00000000:00000000 03:00001545 00000000 0 0 0 3 ffff88007029c700
I1108 14:11:46.117523 19984 copyrsyncd.go:96] Determining port in use from: 6: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DECE 06 00000000:00000000 03:0000098D 00000000 0 0 0 3 ffff88007029d600
I1108 14:11:46.118528 19984 copyrsyncd.go:96] Determining port in use from: 7: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEDC 06 00000000:00000000 03:00000D75 00000000 0 0 0 3 ffff8800363f6700
I1108 14:11:46.119523 19984 copyrsyncd.go:96] Determining port in use from: 8: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEF4 06 00000000:00000000 03:00001545 00000000 0 0 0 3 ffff88007029d200
I1108 14:11:46.120038 19984 copyrsyncd.go:96] Determining port in use from: 9: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEC2 06 00000000:00000000 03:000005A5 00000000 0 0 0 3 ffff8800363f6500
I1108 14:11:46.120527 19984 copyrsyncd.go:96] Determining port in use from: 10: 0000000000000000FFFF0000050011AC:1388 0000000000000000FFFF0000010011AC:DEC4 06 00000000:00000000 03:000005A5 00000000 0 0 0 3 ffff88007029c000
I1108 14:11:46.122523 19984 copyrsyncd.go:106] Used ports in container: map[int]struct {}{5000:struct {}{}}
I1108 14:11:46.128524 19984 copyrsyncd.go:151] Found free container port: 48656
I1108 14:11:46.129026 19984 execremote.go:29] Remote executor running command: sh
I1108 14:11:46.129523 19984 execremote.go:29] Remote executor running command: sh
I1108 14:11:46.129523 19984 round_trippers.go:386] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n
I1108 14:11:46.130027 19984 round_trippers.go:386] curl -k -v -XGET -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" -H "Accept: application/json, */*" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n
I1108 14:11:46.145523 19984 round_trippers.go:405] GET https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n 200 OK in 14 milliseconds
I1108 14:11:46.145523 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.146550 19984 round_trippers.go:414] Cache-Control: no-store
I1108 14:11:46.145523 19984 round_trippers.go:405] GET https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n 200 OK in 14 milliseconds
I1108 14:11:46.147547 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.147046 19984 round_trippers.go:414] Content-Type: application/json
I1108 14:11:46.150042 19984 round_trippers.go:414] Cache-Control: no-store
I1108 14:11:46.150560 19984 round_trippers.go:414] Content-Length: 3711
I1108 14:11:46.158526 19984 round_trippers.go:414] Content-Type: application/json
I1108 14:11:46.161028 19984 round_trippers.go:414] Content-Length: 3711
I1108 14:11:46.159024 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.161527 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.164523 19984 request.go:991] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"docker-registry-1-9w80n","generateName":"docker-registry-1-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/docker-registry-1-9w80n","uid":"86f93798-c39a-11e7-a347-00155d380128","resourceVersion":"1368","creationTimestamp":"2017-11-07T09:03:31Z","labels":{"deployment":"docker-registry-1","deploymentconfig":"docker-registry","docker-registry":"default"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"default\",\"name\":\"docker-registry-1\",\"uid\":\"76b89ebd-c39a-11e7-a347-00155d380128\",\"apiVersion\":\"v1\",\"resourceVersion\":\"1126\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"docker-registry","openshift.io/deployment.name":"docker-registry-1","openshift.io/scc":"privileged"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"docker-registry-1","uid":"76b89ebd-c39a-11e7-a347-00155d380128","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"registry-storage","hostPath":{"path":"/mnt/sda1/var/lib/minishift/openshift.local.pv/registry"}},{"name":"registry-token-141qh","secret":{"secretName":"registry-token-141qh","defaultMode":420}}],"containers":[{"name":"registry","image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","ports":[{"containerPort":5000,"protocol":"TCP"}],"env":[{"name":"REGISTRY_HTTP_ADDR","value":":5000"},{"name":"REGISTRY_HTTP_NET","value":"tcp"},{"name":"REGISTRY_HTTP_SECRET","value":"CqGLNdJQuVJTr0CPvZl1WF1D6qVjlrn25LF7mOds6zA="},{"name":"REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA","value":"false"}],"resources":{"requests":{"cpu":"100m","memory":"256Mi"}},"volumeMounts":[{"name":"registry-storage","mountPath":"/registry"},{"name":"registry-token-141qh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"initialDelaySeconds":10,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"registry","serviceAccount":"registry","nodeName":"localhost","securityContext":{},"imagePullSecrets":[{"name":"registry-dockercfg-9nvgn"}],"schedulerName":"default-scheduler"},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:04:31Z"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"}],"hostIP":"192.168.1.39","podIP":"172.17.0.5","startTime":"2017-11-07T09:03:31Z","containerStatuses":[{"name":"registry","state":{"running":{"startedAt":"2017-11-07T09:04:20Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","imageID":"docker-pullable://registry.access.redhat.com/openshift3/ose-docker-registry@sha256:e10e413dea5aeed6b6e4b3f337bc467b54c14946d1966a75bd5b79678de2c409","containerID":"docker://3be842bd096a555dfdad714c73f8ca74ca0767eaf3d9f23b9c4b8fd985b44711"}],"qosClass":"Burstable"}}
I1108 14:11:46.165030 19984 request.go:991] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"docker-registry-1-9w80n","generateName":"docker-registry-1-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/docker-registry-1-9w80n","uid":"86f93798-c39a-11e7-a347-00155d380128","resourceVersion":"1368","creationTimestamp":"2017-11-07T09:03:31Z","labels":{"deployment":"docker-registry-1","deploymentconfig":"docker-registry","docker-registry":"default"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"default\",\"name\":\"docker-registry-1\",\"uid\":\"76b89ebd-c39a-11e7-a347-00155d380128\",\"apiVersion\":\"v1\",\"resourceVersion\":\"1126\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"docker-registry","openshift.io/deployment.name":"docker-registry-1","openshift.io/scc":"privileged"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"docker-registry-1","uid":"76b89ebd-c39a-11e7-a347-00155d380128","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"registry-storage","hostPath":{"path":"/mnt/sda1/var/lib/minishift/openshift.local.pv/registry"}},{"name":"registry-token-141qh","secret":{"secretName":"registry-token-141qh","defaultMode":420}}],"containers":[{"name":"registry","image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","ports":[{"containerPort":5000,"protocol":"TCP"}],"env":[{"name":"REGISTRY_HTTP_ADDR","value":":5000"},{"name":"REGISTRY_HTTP_NET","value":"tcp"},{"name":"REGISTRY_HTTP_SECRET","value":"CqGLNdJQuVJTr0CPvZl1WF1D6qVjlrn25LF7mOds6zA="},{"name":"REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA","value":"false"}],"resources":{"requests":{"cpu":"100m","memory":"256Mi"}},"volumeMounts":[{"name":"registry-storage","mountPath":"/registry"},{"name":"registry-token-141qh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"initialDelaySeconds":10,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"registry","serviceAccount":"registry","nodeName":"localhost","securityContext":{},"imagePullSecrets":[{"name":"registry-dockercfg-9nvgn"}],"schedulerName":"default-scheduler"},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:04:31Z"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"}],"hostIP":"192.168.1.39","podIP":"172.17.0.5","startTime":"2017-11-07T09:03:31Z","containerStatuses":[{"name":"registry","state":{"running":{"startedAt":"2017-11-07T09:04:20Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","imageID":"docker-pullable://registry.access.redhat.com/openshift3/ose-docker-registry@sha256:e10e413dea5aeed6b6e4b3f337bc467b54c14946d1966a75bd5b79678de2c409","containerID":"docker://3be842bd096a555dfdad714c73f8ca74ca0767eaf3d9f23b9c4b8fd985b44711"}],"qosClass":"Burstable"}}
I1108 14:11:46.166023 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true
I1108 14:11:46.167035 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true
I1108 14:11:46.166525 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true
I1108 14:11:46.168524 19984 round_trippers.go:386] curl -k -v -XPOST -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true
I1108 14:11:46.255526 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true 101 Switching Protocols in 88 milliseconds
I1108 14:11:46.255526 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.258524 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.262054 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.262541 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.263530 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.264023 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true 101 Switching Protocols in 96 milliseconds
I1108 14:11:46.264524 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.264524 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.265024 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.265524 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.266024 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.266024 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true 101 Switching Protocols in 96 milliseconds
I1108 14:11:46.272524 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.273534 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.275524 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.276024 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.277024 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.277524 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true 101 Switching Protocols in 108 milliseconds
I1108 14:11:46.281036 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.282026 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.285534 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.286523 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.287024 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.386035 19984 copyrsyncd.go:121] Found listener port at: [::]:57347
I1108 14:11:46.386534 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: portforward.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/portforward
I1108 14:11:46.389534 19984 round_trippers.go:386] curl -k -v -XPOST -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "X-Stream-Protocol-Version: portforward.k8s.io" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/portforward
I1108 14:11:46.437669 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/portforward 101 Switching Protocols in 47 milliseconds
I1108 14:11:46.438034 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.440534 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.444033 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.444533 19984 round_trippers.go:414] X-Stream-Protocol-Version: portforward.k8s.io
I1108 14:11:46.445533 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.446033 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/portforward 101 Switching Protocols in 56 milliseconds
I1108 14:11:46.446536 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.447036 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.447545 19984 round_trippers.go:414] X-Stream-Protocol-Version: portforward.k8s.io
I1108 14:11:46.448033 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.448033 19984 round_trippers.go:414] Connection: Upgrade
Forwarding from 127.0.0.1:57347 -> 48656
Forwarding from [::1]:57347 -> 48656
I1108 14:11:46.457034 19984 copyrsyncd.go:226] Copying files with rsync daemon
I1108 14:11:46.458036 19984 execlocal.go:19] Local executor running command: rsync -a --omit-dir-times --numeric-ids -v /cygdrive/c/Users/Aurelien Pupier/AppData/Local/Temp/junit3882442379303004346/with sp@cé in path rsync://127.0.0.1:57347/root/tmp
Handling connection for 57347
sending incremental file list
sent 20 bytes received 11 bytes 62.00 bytes/sec
total size is 0 speedup is 0.00
I1108 14:11:46.625506 19984 execlocal.go:26] Error from local command execution: exit status 23
I1108 14:11:46.625506 19984 execremote.go:29] Remote executor running command: rsync --version
I1108 14:11:46.627483 19984 round_trippers.go:386] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n
I1108 14:11:46.637481 19984 round_trippers.go:405] GET https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n 200 OK in 9 milliseconds
I1108 14:11:46.637983 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.640996 19984 round_trippers.go:414] Content-Length: 3711
I1108 14:11:46.644480 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.647995 19984 round_trippers.go:414] Cache-Control: no-store
I1108 14:11:46.648984 19984 round_trippers.go:414] Content-Type: application/json
I1108 14:11:46.649480 19984 request.go:991] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"docker-registry-1-9w80n","generateName":"docker-registry-1-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/docker-registry-1-9w80n","uid":"86f93798-c39a-11e7-a347-00155d380128","resourceVersion":"1368","creationTimestamp":"2017-11-07T09:03:31Z","labels":{"deployment":"docker-registry-1","deploymentconfig":"docker-registry","docker-registry":"default"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"default\",\"name\":\"docker-registry-1\",\"uid\":\"76b89ebd-c39a-11e7-a347-00155d380128\",\"apiVersion\":\"v1\",\"resourceVersion\":\"1126\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"docker-registry","openshift.io/deployment.name":"docker-registry-1","openshift.io/scc":"privileged"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"docker-registry-1","uid":"76b89ebd-c39a-11e7-a347-00155d380128","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"registry-storage","hostPath":{"path":"/mnt/sda1/var/lib/minishift/openshift.local.pv/registry"}},{"name":"registry-token-141qh","secret":{"secretName":"registry-token-141qh","defaultMode":420}}],"containers":[{"name":"registry","image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","ports":[{"containerPort":5000,"protocol":"TCP"}],"env":[{"name":"REGISTRY_HTTP_ADDR","value":":5000"},{"name":"REGISTRY_HTTP_NET","value":"tcp"},{"name":"REGISTRY_HTTP_SECRET","value":"CqGLNdJQuVJTr0CPvZl1WF1D6qVjlrn25LF7mOds6zA="},{"name":"REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA","value":"false"}],"resources":{"requests":{"cpu":"100m","memory":"256Mi"}},"volumeMounts":[{"name":"registry-storage","mountPath":"/registry"},{"name":"registry-token-141qh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"initialDelaySeconds":10,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"registry","serviceAccount":"registry","nodeName":"localhost","securityContext":{},"imagePullSecrets":[{"name":"registry-dockercfg-9nvgn"}],"schedulerName":"default-scheduler"},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:04:31Z"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"}],"hostIP":"192.168.1.39","podIP":"172.17.0.5","startTime":"2017-11-07T09:03:31Z","containerStatuses":[{"name":"registry","state":{"running":{"startedAt":"2017-11-07T09:04:20Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","imageID":"docker-pullable://registry.access.redhat.com/openshift3/ose-docker-registry@sha256:e10e413dea5aeed6b6e4b3f337bc467b54c14946d1966a75bd5b79678de2c409","containerID":"docker://3be842bd096a555dfdad714c73f8ca74ca0767eaf3d9f23b9c4b8fd985b44711"}],"qosClass":"Burstable"}}
I1108 14:11:46.650982 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=rsync&command=--version&container=registry&container=registry&stderr=true&stdout=true
I1108 14:11:46.650982 19984 round_trippers.go:386] curl -k -v -XPOST -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=rsync&command=--version&container=registry&container=registry&stderr=true&stdout=true
I1108 14:11:46.764097 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=rsync&command=--version&container=registry&container=registry&stderr=true&stdout=true 101 Switching Protocols in 112 milliseconds
I1108 14:11:46.764097 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.766598 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.770103 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.771095 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.771595 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.772604 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=rsync&command=--version&container=registry&container=registry&stderr=true&stdout=true 101 Switching Protocols in 121 milliseconds
I1108 14:11:46.773098 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.774098 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:46.777595 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:46.780597 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.781595 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:46.953598 19984 util.go:23] rsync version 3.0.9 protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
I1108 14:11:46.953598 19984 util.go:24] error: <nil>
I1108 14:11:46.962095 19984 execremote.go:29] Remote executor running command: sh
I1108 14:11:46.962594 19984 round_trippers.go:386] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n
I1108 14:11:46.968096 19984 round_trippers.go:405] GET https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n 200 OK in 4 milliseconds
I1108 14:11:46.968596 19984 round_trippers.go:411] Response Headers:
I1108 14:11:46.969100 19984 round_trippers.go:414] Cache-Control: no-store
I1108 14:11:46.974606 19984 round_trippers.go:414] Content-Type: application/json
I1108 14:11:46.975096 19984 round_trippers.go:414] Content-Length: 3711
I1108 14:11:46.975599 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:46.976595 19984 request.go:991] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"docker-registry-1-9w80n","generateName":"docker-registry-1-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/docker-registry-1-9w80n","uid":"86f93798-c39a-11e7-a347-00155d380128","resourceVersion":"1368","creationTimestamp":"2017-11-07T09:03:31Z","labels":{"deployment":"docker-registry-1","deploymentconfig":"docker-registry","docker-registry":"default"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"default\",\"name\":\"docker-registry-1\",\"uid\":\"76b89ebd-c39a-11e7-a347-00155d380128\",\"apiVersion\":\"v1\",\"resourceVersion\":\"1126\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"docker-registry","openshift.io/deployment.name":"docker-registry-1","openshift.io/scc":"privileged"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"docker-registry-1","uid":"76b89ebd-c39a-11e7-a347-00155d380128","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"registry-storage","hostPath":{"path":"/mnt/sda1/var/lib/minishift/openshift.local.pv/registry"}},{"name":"registry-token-141qh","secret":{"secretName":"registry-token-141qh","defaultMode":420}}],"containers":[{"name":"registry","image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","ports":[{"containerPort":5000,"protocol":"TCP"}],"env":[{"name":"REGISTRY_HTTP_ADDR","value":":5000"},{"name":"REGISTRY_HTTP_NET","value":"tcp"},{"name":"REGISTRY_HTTP_SECRET","value":"CqGLNdJQuVJTr0CPvZl1WF1D6qVjlrn25LF7mOds6zA="},{"name":"REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA","value":"false"}],"resources":{"requests":{"cpu":"100m","memory":"256Mi"}},"volumeMounts":[{"name":"registry-storage","mountPath":"/registry"},{"name":"registry-token-141qh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"initialDelaySeconds":10,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/healthz","port":5000,"scheme":"HTTP"},"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"registry","serviceAccount":"registry","nodeName":"localhost","securityContext":{},"imagePullSecrets":[{"name":"registry-dockercfg-9nvgn"}],"schedulerName":"default-scheduler"},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:04:31Z"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2017-11-07T09:03:31Z"}],"hostIP":"192.168.1.39","podIP":"172.17.0.5","startTime":"2017-11-07T09:03:31Z","containerStatuses":[{"name":"registry","state":{"running":{"startedAt":"2017-11-07T09:04:20Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/openshift3/ose-docker-registry:v3.6.173.0.5","imageID":"docker-pullable://registry.access.redhat.com/openshift3/ose-docker-registry@sha256:e10e413dea5aeed6b6e4b3f337bc467b54c14946d1966a75bd5b79678de2c409","containerID":"docker://3be842bd096a555dfdad714c73f8ca74ca0767eaf3d9f23b9c4b8fd985b44711"}],"qosClass":"Burstable"}}
I1108 14:11:46.977096 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true
I1108 14:11:46.981098 19984 round_trippers.go:386] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" -H "User-Agent: oc/v1.6.1+5115d708d7 (windows/amd64) kubernetes/fff65cf" -H "Authorization: Bearer FSoVFOuUHuULvf-9svUveNxJva-9qdvPrGC9SaFr-L4" https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true
I1108 14:11:47.023096 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true 101 Switching Protocols in 39 milliseconds
I1108 14:11:47.023599 19984 round_trippers.go:411] Response Headers:
I1108 14:11:47.026095 19984 round_trippers.go:414] Connection: Upgrade
I1108 14:11:47.030595 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:47.031166 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:47.032095 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:47.032595 19984 round_trippers.go:405] POST https://192.168.1.39:8443/api/v1/namespaces/default/pods/docker-registry-1-9w80n/exec?command=sh&container=registry&container=registry&stderr=true&stdin=true&stdout=true 101 Switching Protocols in 51 milliseconds
I1108 14:11:47.033607 19984 round_trippers.go:411] Response Headers:
I1108 14:11:47.035594 19984 round_trippers.go:414] Upgrade: SPDY/3.1
I1108 14:11:47.041096 19984 round_trippers.go:414] X-Stream-Protocol-Version: v4.channel.k8s.io
I1108 14:11:47.041595 19984 round_trippers.go:414] Date: Wed, 08 Nov 2017 03:33:37 GMT
I1108 14:11:47.042095 19984 round_trippers.go:414] Connection: Upgrade
rsync: change_dir "/cygdrive/c/Users/Aurelien Pupier//"/cygdrive/c/Users/Aurelien Pupier/AppData/Local/Temp/junit3882442379303004346" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
F1108 14:11:47.083620 19984 helpers.go:119] error: exit status 23
it seems to be an issue when trying to change_dir:
rsync: change_dir "/cygdrive/c/Users/Aurelien Pupier//"/cygdrive/c/Users/Aurelien Pupier/AppData/Local/Temp/junit3882442379303004346" failed: No such file or directory (2)
The target folder in which it is trying to go doesn't have the " character
@apupier Can you close this issue here and reopen it against https://github.com/openshift/origin. This appears to be related to the 'oc' binary which will not be resolved by the rest client
@jcantrill there is still issues in the rest client so we should keep it opened. We're trying to figure out all related scenarios
I found how to fix the spaces stuff in openshift-rest-client. My other errors about permission denied are due to different rsync executable used (will investigate and open a bug in openshift or devsuite installer or cdk for that)
@jeffmaury with https://github.com/jeffmaury/openshift-restclient-java/commit/a4f4f7ee79c8075dda712b92d0ecc8ac6c326c28 isnt this now fixed?
Yes I think it can be closed now
the returned error is "only SOURCE_DIR and POD:DESTINATION_DIR should be specified as arguments"