{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/21172","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/21172/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/21172/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/21172/events","html_url":"https://github.com/openshift/origin/issues/21172","id":366768819,"node_id":"MDU6SXNzdWUzNjY3Njg4MTk=","number":21172,"title":"Following cluster up getting started documentation will lead to \"did not detect an --insecure-registry argument on the Docker daemon\"","user":{"login":"tiraboschi","id":8156054,"node_id":"MDQ6VXNlcjgxNTYwNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8156054?v=4","gravatar_id":"","url":"https://api.github.com/users/tiraboschi","html_url":"https://github.com/tiraboschi","followers_url":"https://api.github.com/users/tiraboschi/followers","following_url":"https://api.github.com/users/tiraboschi/following{/other_user}","gists_url":"https://api.github.com/users/tiraboschi/gists{/gist_id}","starred_url":"https://api.github.com/users/tiraboschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiraboschi/subscriptions","organizations_url":"https://api.github.com/users/tiraboschi/orgs","repos_url":"https://api.github.com/users/tiraboschi/repos","events_url":"https://api.github.com/users/tiraboschi/events{/privacy}","received_events_url":"https://api.github.com/users/tiraboschi/received_events","type":"User","site_admin":false},"labels":[{"id":770437473,"node_id":"MDU6TGFiZWw3NzA0Mzc0NzM=","url":"https://api.github.com/repos/openshift/origin/labels/kind/documentation","name":"kind/documentation","color":"c7def8","default":false},{"id":657291976,"node_id":"MDU6TGFiZWw2NTcyOTE5NzY=","url":"https://api.github.com/repos/openshift/origin/labels/sig/containers","name":"sig/containers","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"mrunalp","id":53798,"node_id":"MDQ6VXNlcjUzNzk4","avatar_url":"https://avatars1.githubusercontent.com/u/53798?v=4","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrunalp","id":53798,"node_id":"MDQ6VXNlcjUzNzk4","avatar_url":"https://avatars1.githubusercontent.com/u/53798?v=4","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-10-04T12:36:52Z","updated_at":"2018-10-18T11:15:34Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nNote that this is the issue tracker for OpenShift Origin.\r\n\r\nOpenShift Installer issues should be reported at https://github.com/openshift/openshift-ansible/issues\r\nManagement Console issues are collected at https://github.com/openshift/origin-web-console/issues\r\nDocumentation issues are better reported at https://github.com/openshift/openshift-docs/issues\r\n-->\r\n\r\nFollowing cluster up getting started documentation will lead to \"did not detect an --insecure-registry argument on the Docker daemon\".\r\n\r\nhttps://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#getting-started says that you have to set\r\n\r\n```\r\n[registries.insecure]\r\nregistries = ['172.30.0.0/16']\r\n```\r\nin `/etc/containers/registries.conf` OR\r\n```\r\n{\r\n   \"insecure-registries\": [\r\n     \"172.30.0.0/16\"\r\n   ]\r\n}\r\n```\r\nin `/etc/docker/daemon.json` but you instead need BOTH.\r\n\r\nThen\r\n\r\n```\r\n$ sudo systemctl daemon-reload\r\n$ sudo systemctl restart docker\r\n```\r\n\r\n##### Version\r\n```\r\n[stirabos@openshift linux]$ oc version\r\noc v3.11.0-alpha.0+f7602dd-1284\r\nkubernetes v1.11.0+d4cacc0\r\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\r\n[stirabos@openshift linux]$ yum list installed | grep docker\r\ndocker.x86_64                        2:1.13.1-75.git8633870.el7.centos @extras  \r\ndocker-client.x86_64                 2:1.13.1-75.git8633870.el7.centos @extras  \r\ndocker-common.x86_64                 2:1.13.1-75.git8633870.el7.centos @extras  \r\npython-docker-pycreds.noarch         1.10.6-4.el7                      @extras  \r\npython2-docker.noarch                2.4.2-1.el7.centos                @ansible-service-broker\r\n```\r\n\r\n##### Steps To Reproduce\r\n1. Try to deploy con Centos 7 following https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#getting-started\r\n2. oc cluster up\r\n\r\n##### Current Result\r\n```\r\ndid not detect an --insecure-registry argument on the Docker daemon\r\n```\r\n\r\n##### Expected Result\r\nSuccessful deployment\r\n\r\n##### Additional Information\r\n[try to run `$ oc adm diagnostics` (or `oadm diagnostics`) command if possible]\r\n[if you are reporting issue related to builds, provide build logs with `BUILD_LOGLEVEL=5`]\r\n[consider attaching output of the `$ oc get all -o json -n <namespace>` command to the issue]\r\n[visit https://docs.openshift.org/latest/welcome/index.html]\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/430970067","html_url":"https://github.com/openshift/origin/issues/21172#issuecomment-430970067","issue_url":"https://api.github.com/repos/openshift/origin/issues/21172","id":430970067,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDk3MDA2Nw==","user":{"login":"vchepeli","id":1727278,"node_id":"MDQ6VXNlcjE3MjcyNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/1727278?v=4","gravatar_id":"","url":"https://api.github.com/users/vchepeli","html_url":"https://github.com/vchepeli","followers_url":"https://api.github.com/users/vchepeli/followers","following_url":"https://api.github.com/users/vchepeli/following{/other_user}","gists_url":"https://api.github.com/users/vchepeli/gists{/gist_id}","starred_url":"https://api.github.com/users/vchepeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchepeli/subscriptions","organizations_url":"https://api.github.com/users/vchepeli/orgs","repos_url":"https://api.github.com/users/vchepeli/repos","events_url":"https://api.github.com/users/vchepeli/events{/privacy}","received_events_url":"https://api.github.com/users/vchepeli/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T11:15:34Z","updated_at":"2018-10-18T11:15:34Z","author_association":"NONE","body":"> @tiraboschi Do you have the `atomic-registries` package installed and working?\r\n> \r\n> The contents of `/etc/containers/registries.conf` should ordinarily be converted into a `/run/containers/registries.conf` which causes `--insecure-registry` options to be added among the options passed to the docker daemon.\r\n> \r\n> Or maybe you need just an `systemctl restart registries.service` before restarting the Docker daemon?\r\n\r\nWithout `systemctl restart registries.service` no file is created in `/run/containers/registries.conf`. Then when docker is started it automatically load registries from `/run/containers/registries.conf`\r\n"}}
{"actor":{"display_login":"vchepeli"}}