{"action":"created","issue":{"url":"https://api.github.com/repos/deis/registry/issues/64","repository_url":"https://api.github.com/repos/deis/registry","labels_url":"https://api.github.com/repos/deis/registry/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/deis/registry/issues/64/comments","events_url":"https://api.github.com/repos/deis/registry/issues/64/events","html_url":"https://github.com/deis/registry/issues/64","id":172714371,"number":64,"title":"cannot upload docker container to registry ","user":{"login":"DavidSie","id":8830246,"avatar_url":"https://avatars3.githubusercontent.com/u/8830246?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidSie","html_url":"https://github.com/DavidSie","followers_url":"https://api.github.com/users/DavidSie/followers","following_url":"https://api.github.com/users/DavidSie/following{/other_user}","gists_url":"https://api.github.com/users/DavidSie/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidSie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidSie/subscriptions","organizations_url":"https://api.github.com/users/DavidSie/orgs","repos_url":"https://api.github.com/users/DavidSie/repos","events_url":"https://api.github.com/users/DavidSie/events{/privacy}","received_events_url":"https://api.github.com/users/DavidSie/received_events","type":"User","site_admin":false},"labels":[{"id":286009298,"url":"https://api.github.com/repos/deis/registry/labels/bug","name":"bug","color":"fc2929","default":true},{"id":410270474,"url":"https://api.github.com/repos/deis/registry/labels/upstream%20issue","name":"upstream issue","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":53,"created_at":"2016-08-23T14:29:11Z","updated_at":"2017-06-26T16:37:42Z","closed_at":"2016-10-31T17:17:43Z","body":"When I build an up with buildpack it works, but when I want to build container I cannot upload it to the registry\n\n```\n kubectl version\nClient Version: version.Info{Major:\"1\", Minor:\"3\", GitVersion:\"v1.3.4\", GitCommit:\"dd6b458ef8dbf24aff55795baa68f83383c9b3a9\", GitTreeState:\"clean\", BuildDate:\"2016-08-01T16:45:16Z\", GoVersion:\"go1.6.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\nServer Version: version.Info{Major:\"1\", Minor:\"3\", GitVersion:\"v1.3.4+coreos.0\", GitCommit:\"be9bf3e842a90537e48361aded2872e389e902e7\", GitTreeState:\"clean\", BuildDate:\"2016-08-02T00:54:53Z\", GoVersion:\"go1.6.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\n```\n\n```\ndeis version\nv2.4.0\n```\n\n```\n     git push deis master\nCounting objects: 589, done.\nCompressing objects: 100% (416/416), done.\nWriting objects: 100% (589/589), 2.47 MiB, done.\nTotal 589 (delta 46), reused 581 (delta 42)\nStarting build... but first, coffee!\nStep 1 : FROM ruby:2.0.0-p576\n---> a137b6df82e8\nStep 2 : COPY . /app\n---> Using cache\n---> a7107ea0f79a\nStep 3 : WORKDIR /app\n---> Using cache\n---> ba2d0c3222ec\nStep 4 : EXPOSE 3000\n---> Using cache\n---> 18f7fb188ed3\nStep 5 : CMD while true; do echo hello world; sleep 1; done\n---> Using cache\n---> 4e22b0487484\nSuccessfully built 4e22b0487484\nPushing to registry\n{\"errorDetail\":{\"message\":\"Put http://localhost:5555/v1/repositories/spree/: dial tcp 127.0.0.1:5555: getsockopt: connection refused\"},\"error\":\"Put http://localhost:5555/v1/repositories/spree/: dial tcp 127.0.0.remote: getsockopt: connection refused\"}\n```\n\nI know that there are environmental variables to point this address:\n\n```\n     Environment Variables:\n      DEIS_REGISTRY_SERVICE_HOST:   localhost\n      DEIS_REGISTRY_SERVICE_PORT:   5555\n\n```\n\nbut I don't understand why, since none of the pods, and none of the services is  listening on 5555\n\nservices \n\n```\nkubectl get services --namespace=deis\nNAME                     CLUSTER-IP   EXTERNAL-IP   PORT(S)                            AGE\ndeis-builder             10.3.0.233   <none>        2222/TCP                           1d\ndeis-controller          10.3.0.23    <none>        80/TCP                             1d\ndeis-database            10.3.0.253   <none>        5432/TCP                           1d\ndeis-logger              10.3.0.221   <none>        80/TCP                             1d\ndeis-logger-redis        10.3.0.148   <none>        6379/TCP                           1d\ndeis-minio               10.3.0.232   <none>        9000/TCP                           1d\ndeis-monitor-grafana     10.3.0.113   <none>        80/TCP                             1d\ndeis-monitor-influxapi   10.3.0.234   <none>        80/TCP                             1d\ndeis-monitor-influxui    10.3.0.141   <none>        80/TCP                             1d\ndeis-nsqd                10.3.0.82    <none>        4151/TCP,4150/TCP                  1d\ndeis-registry            10.3.0.188   <none>        80/TCP                             1d\ndeis-router              10.3.0.133   <pending>     80/TCP,443/TCP,2222/TCP,9090/TCP   1d\ndeis-workflow-manager    10.3.0.34    <none>        80/TCP                             1d\n\n```\n\npods \n\n```\n\nkubectl describe  pods deis-registry-3758253254-3gtjo   --namespace=deis \nName:       deis-registry-3758253254-3gtjo\nNamespace:  deis\nNode:       10.63.11.75/10.63.11.75\nStart Time: Mon, 22 Aug 2016 10:36:12 +0000\nLabels:     app=deis-registry\n        pod-template-hash=3758253254\nStatus:     Running\nIP:     10.2.12.12\nControllers:    ReplicaSet/deis-registry-3758253254\nContainers:\n  deis-registry:\n    Container ID:   docker://78d6d569eefac3766e4b921f21b7847d36866a266ae76424d7d6e572bb2f5979\n    Image:      quay.io/deis/registry:v2.2.0\n    Image ID:       docker://sha256:0eb83b180d1aa993fcdd715e4b919b4867051d4f35a813a56eec04ae0705d3d1\n    Port:       5000/TCP\n    State:      Running\n      Started:      Mon, 22 Aug 2016 10:43:05 +0000\n    Ready:      True\n    Restart Count:  0\n    Liveness:       http-get http://:5000/v2/ delay=1s timeout=1s period=10s #success=1 #failure=3\n    Readiness:      http-get http://:5000/v2/ delay=1s timeout=1s period=10s #success=1 #failure=3\n    Environment Variables:\n      REGISTRY_STORAGE_DELETE_ENABLED:  true\n      REGISTRY_LOG_LEVEL:       info\n      REGISTRY_STORAGE:         minio\nConditions:\n  Type      Status\n  Initialized   True \n  Ready     True \n  PodScheduled  True \nVolumes:\n  registry-storage:\n    Type:   EmptyDir (a temporary directory that shares a pod's lifetime)\n    Medium: \n  registry-creds:\n    Type:   Secret (a volume populated by a Secret)\n    SecretName: objectstorage-keyfile\n  deis-registry-token-inyyj:\n    Type:   Secret (a volume populated by a Secret)\n    SecretName: deis-registry-token-inyyj\nQoS Tier:   BestEffort\nNo events.\n\n\nkubectl describe  pods deis-registry-proxy-cpu68    --namespace=deis \nName:       deis-registry-proxy-cpu68\nNamespace:  deis\nNode:       10.63.11.76/10.63.11.76\nStart Time: Mon, 22 Aug 2016 10:36:31 +0000\nLabels:     app=deis-registry-proxy\n        heritage=deis\nStatus:     Running\nIP:     10.2.63.4\nControllers:    DaemonSet/deis-registry-proxy\nContainers:\n  deis-registry-proxy:\n    Container ID:   docker://dc29ab400a06ae5dc1407c7f1fb0880d4257720170eded6a7f8cde5431fa9570\n    Image:      quay.io/deis/registry-proxy:v1.0.0\n    Image ID:       docker://sha256:fde297ec95aa244e5be48f438de39a13dae16a1593b3792d8c10cd1d7011f8d1\n    Port:       80/TCP\n    Limits:\n      cpu:  100m\n      memory:   50Mi\n    Requests:\n      cpu:      100m\n      memory:       50Mi\n    State:      Running\n      Started:      Mon, 22 Aug 2016 10:38:32 +0000\n    Ready:      True\n    Restart Count:  0\n    Environment Variables:\n      REGISTRY_HOST:    $(DEIS_REGISTRY_SERVICE_HOST)\n      REGISTRY_PORT:    $(DEIS_REGISTRY_SERVICE_PORT)\nConditions:\n  Type      Status\n  Initialized   True \n  Ready     True \n  PodScheduled  True \nVolumes:\n  default-token-tk993:\n    Type:   Secret (a volume populated by a Secret)\n    SecretName: default-token-tk993\nQoS Tier:   Guaranteed\nNo events.\n\n\n```\n"},"comment":{"url":"https://api.github.com/repos/deis/registry/issues/comments/311113696","html_url":"https://github.com/deis/registry/issues/64#issuecomment-311113696","issue_url":"https://api.github.com/repos/deis/registry/issues/64","id":311113696,"user":{"login":"IlyaSemenov","id":128121,"avatar_url":"https://avatars2.githubusercontent.com/u/128121?v=3","gravatar_id":"","url":"https://api.github.com/users/IlyaSemenov","html_url":"https://github.com/IlyaSemenov","followers_url":"https://api.github.com/users/IlyaSemenov/followers","following_url":"https://api.github.com/users/IlyaSemenov/following{/other_user}","gists_url":"https://api.github.com/users/IlyaSemenov/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaSemenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaSemenov/subscriptions","organizations_url":"https://api.github.com/users/IlyaSemenov/orgs","repos_url":"https://api.github.com/users/IlyaSemenov/repos","events_url":"https://api.github.com/users/IlyaSemenov/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaSemenov/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T16:37:42Z","updated_at":"2017-06-26T16:37:42Z","body":"For v2.15.0, the recipe will be:\r\n\r\n```\r\nhelm fetch deis/workflow --version=v2.15.0 --untar\r\ncd workflow\r\ncurl https://gist.githubusercontent.com/IlyaSemenov/a8f467934cb5f1f0963469cd3eb32ace/raw/b3e8fcb5dd9094b50014177f5db72210b2949883/0001-Remove-proxy.patch|patch -p1\r\nhelm upgrade deis .\r\n```\r\n\r\nDon't forget to enable insecure registry `/lib/systemd/system/docker.service` at your Docker host(s):\r\n\r\n```\r\nExecStart=/usr/bin/dockerd -H fd:// --insecure-registry=10.43.0.0/16\r\n```"}}
{"actor":{"display_login":"IlyaSemenov"}}