{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/15886","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/15886/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/15886/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/15886/events","html_url":"https://github.com/rancher/rancher/issues/15886","id":365516517,"node_id":"MDU6SXNzdWUzNjU1MTY1MTc=","number":15886,"title":"[2.0.0:stable]rancher 2.0 not working local dev environment","user":{"login":"leetskil","id":10243015,"node_id":"MDQ6VXNlcjEwMjQzMDE1","avatar_url":"https://avatars0.githubusercontent.com/u/10243015?v=4","gravatar_id":"","url":"https://api.github.com/users/leetskil","html_url":"https://github.com/leetskil","followers_url":"https://api.github.com/users/leetskil/followers","following_url":"https://api.github.com/users/leetskil/following{/other_user}","gists_url":"https://api.github.com/users/leetskil/gists{/gist_id}","starred_url":"https://api.github.com/users/leetskil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leetskil/subscriptions","organizations_url":"https://api.github.com/users/leetskil/orgs","repos_url":"https://api.github.com/users/leetskil/repos","events_url":"https://api.github.com/users/leetskil/events{/privacy}","received_events_url":"https://api.github.com/users/leetskil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-01T15:28:19Z","updated_at":"2018-10-01T15:47:04Z","closed_at":"2018-10-01T15:33:11Z","author_association":"NONE","body":"i'm trying to use rancher 2.0 so i that i'll could focus in version 2.0 (kurbenetes) aside from rancher 1.6 which is gonna end soon.  \r\n\r\ni've installed and followed the instruction and provided node requirements that needed to work with rancher 2.0, but it seems it does not work for me. *bummer\r\n\r\nlocal dev environment\r\nunder virtualbox\r\n\r\nClient:\r\n Version:      17.03.2-ce\r\n API version:  1.27\r\n Go version:   go1.7.5\r\n Git commit:   f5ec1e2\r\n Built:        Tue Jun 27 03:35:14 2017\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      17.03.2-ce\r\n API version:  1.27 (minimum version 1.12)\r\n Go version:   go1.7.5\r\n Git commit:   f5ec1e2\r\n Built:        Tue Jun 27 03:35:14 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n\r\nDistributor ID: Ubuntu\r\nDescription:    Ubuntu 16.04.5 LTS\r\nRelease:        16.04\r\nCodename:       xenial\r\n\r\nrancher 2.0 `rancher/rancher:stable`\r\n\r\n`sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.0.8 --server https://192.168.1.11 --token 8h276768ltlj9v95fwbjbqqnm6htk654fz79zcmctp87xh9d2bxr5c --ca-checksum 4acac799ee17e2c488afa0219f4505e907831853607e650dd80f72806fe19895 --worker`\r\n\r\n\r\n`This cluster is currently Provisioning; areas that interact directly with it will not be available until the API is ready. Waiting for etcd and controlplane nodes to be registered`\r\n\r\nstate: provisioning `Waiting for etcd and controlplane nodes to be registered`\r\n\r\ndocker log \r\n\r\nsudo docker logs 6b864b5338b7\r\nINFO: Arguments: --server https://192.168.1.11 --token REDACTED --ca-checksum 4acac799ee17e2c488afa0219f4505e907831853607e650dd80f72806fe19895 --worker\r\nINFO: Environment: CATTLE_ADDRESS=192.168.1.11 CATTLE_INTERNAL_ADDRESS= CATTLE_NODE_NAME=The-machine-i CATTLE_ROLE=,worker CATTLE_SERVER=https://192.168.1.11 CATTLE_TOKEN=REDACTED\r\nINFO: Using resolv.conf: nameserver 192.168.1.1\r\nINFO: https://192.168.1.11/ping is accessible\r\nINFO: Value from https://192.168.1.11/v3/settings/cacerts is an x509 certificate\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Rancher agent version v2.0.8 is starting\"\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Option customConfig=map[internalAddress: roles:[worker] label:map[] address:192.168.1.11]\"\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Option etcd=false\"\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Option controlPlane=false\"\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Option worker=true\"\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Option requestedHostname=The-machine-i\"\r\ntime=\"2018-10-01T13:06:49Z\" level=info msg=\"Listening on /tmp/log.sock\"\r\ntime=\"2018-10-01T13:06:50Z\" level=info msg=\"Connecting to wss://192.168.1.11/v3/connect/register with token 8h276768ltlj9v95fwbjbqqnm6htk654fz79zcmctp87xh9d2bxr5c\"\r\ntime=\"2018-10-01T13:06:50Z\" level=info msg=\"Connecting to proxy\" url=\"wss://192.168.1.11/v3/connect/register\"\r\ntime=\"2018-10-01T13:06:50Z\" level=info msg=\"waiting for node to register\"\r\ntime=\"2018-10-01T13:06:52Z\" level=info msg=\"waiting for node to register\"\r\ntime=\"2018-10-01T13:06:54Z\" level=info msg=\"waiting for node to register\"\r\ntime=\"2018-10-01T13:06:56Z\" level=info msg=\"waiting for node to register\"\r\n\r\n\r\nother thoughts: \r\n\r\nis ubuntu 18.04 compatible with rancher 2.0?\r\nis docker versions 17.03.0-ce to 18.06.1-ce  compatible with rancher 2.0? \r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/425957557","html_url":"https://github.com/rancher/rancher/issues/15886#issuecomment-425957557","issue_url":"https://api.github.com/repos/rancher/rancher/issues/15886","id":425957557,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTk1NzU1Nw==","user":{"login":"superseb","id":2620179,"node_id":"MDQ6VXNlcjI2MjAxNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2620179?v=4","gravatar_id":"","url":"https://api.github.com/users/superseb","html_url":"https://github.com/superseb","followers_url":"https://api.github.com/users/superseb/followers","following_url":"https://api.github.com/users/superseb/following{/other_user}","gists_url":"https://api.github.com/users/superseb/gists{/gist_id}","starred_url":"https://api.github.com/users/superseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superseb/subscriptions","organizations_url":"https://api.github.com/users/superseb/orgs","repos_url":"https://api.github.com/users/superseb/repos","events_url":"https://api.github.com/users/superseb/events{/privacy}","received_events_url":"https://api.github.com/users/superseb/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T15:47:04Z","updated_at":"2018-10-01T15:47:04Z","author_association":"MEMBER","body":"The log and the command you are showing both don't show that you are using the correct roles. The flags mentioned in the previous comment get added to the command, see below:\r\n\r\n<img width=\"1295\" alt=\"screen shot 2018-10-01 at 17 40 25 copy\" src=\"https://user-images.githubusercontent.com/2620179/46299463-ae54ce00-c5a1-11e8-876a-653a4b52e788.png\">\r\n\r\nCreate a new custom cluster, choose all roles and copy the command to be executed on the node you want to add.\r\n\r\nMake sure the node is cleaned between adding/removing them to make sure there are no conflicting files (https://rancher.com/docs/rancher/v2.x/en/faq/cleaning-cluster-nodes/) and if you are using a single node to run this, you need to start Rancher itself with different ports to make sure there is no conflict when the cluster is built: https://rancher.com/docs/rancher/v2.x/en/installation/single-node/#running-rancher-rancher-and-rancher-rancher-agent-on-the-same-node"}}
{"actor":{"display_login":"superseb"}}