{"action":"closed","issue":{"url":"https://api.github.com/repos/rook/rook/issues/1464","repository_url":"https://api.github.com/repos/rook/rook","labels_url":"https://api.github.com/repos/rook/rook/issues/1464/labels{/name}","comments_url":"https://api.github.com/repos/rook/rook/issues/1464/comments","events_url":"https://api.github.com/repos/rook/rook/issues/1464/events","html_url":"https://github.com/rook/rook/issues/1464","id":293101559,"number":1464,"title":"Create ceph mon error","user":{"login":"chenhonggc","id":28521224,"avatar_url":"https://avatars0.githubusercontent.com/u/28521224?v=4","gravatar_id":"","url":"https://api.github.com/users/chenhonggc","html_url":"https://github.com/chenhonggc","followers_url":"https://api.github.com/users/chenhonggc/followers","following_url":"https://api.github.com/users/chenhonggc/following{/other_user}","gists_url":"https://api.github.com/users/chenhonggc/gists{/gist_id}","starred_url":"https://api.github.com/users/chenhonggc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenhonggc/subscriptions","organizations_url":"https://api.github.com/users/chenhonggc/orgs","repos_url":"https://api.github.com/users/chenhonggc/repos","events_url":"https://api.github.com/users/chenhonggc/events{/privacy}","received_events_url":"https://api.github.com/users/chenhonggc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-31T10:15:23Z","updated_at":"2018-02-01T08:18:39Z","closed_at":"2018-02-01T08:18:39Z","author_association":"CONTRIBUTOR","body":"**Bug Report**\r\n\r\nWhat happened:\r\n```\r\n# kubectl get nodes\r\nNAME      STATUS    ROLES     AGE       VERSION\r\nmaster1   Ready     master    2d        v1.8.5+coreos.0\r\nnode2     Ready     node      2d        v1.8.5+coreos.0\r\nnode3     Ready     node      2d        v1.8.5+coreos.0\r\n# kubectl taint node master1 storage-node=rook:NoSchedule\r\n# kubectl taint node node2 storage-node=rook:NoSchedule\r\n# kubectl taint node node3 storage-node=rook:NoSchedule\r\n# kubectl label node master1 role=storage\r\n# kubectl label node node2 role=storage\r\n# kubectl label node node3 role=storage\r\n# kubectl create -f rook-operator.yaml\r\n# kubectl create -f rook-cluster.yaml\r\n```\r\n\r\nWhat you expected to happen:\r\n```\r\n# kubectl -n rook-system get pods\r\nNAME                             READY     STATUS    RESTARTS   AGE\r\nrook-agent-67lcw                 1/1       Running   0          18m\r\nrook-agent-hrvk7                 1/1       Running   0          18m\r\nrook-agent-jxcnk                 1/1       Running   0          18m\r\nrook-operator-5dd4785c6c-m9rlf   1/1       Running   0          18m\r\n\r\n# kubectl -n rook-system logs -f rook-operator-5dd4785c6c-m9rlf\r\n2018-01-31 09:57:10.075163 I | op-mon: start running mons\r\n2018-01-31 09:57:10.080158 I | cephmon: parsing mon endpoints:\r\n2018-01-31 09:57:10.080186 W | cephmon: ignoring invalid monitor\r\n2018-01-31 09:57:10.080213 I | op-mon: loaded: maxMonID=-1, mons=map[], mapping=&{Node:map[] Port:map[]}\r\n2018-01-31 09:57:10.087034 I | op-mon: saved mon endpoints to config map map[maxMonId:-1 mapping:{\"node\":{},\"port\":{}} data:]\r\n2018-01-31 09:57:10.087541 I | cephmon: writing config file /var/lib/rook/rook/rook.config\r\n2018-01-31 09:57:10.087746 I | cephmon: generated admin config in /var/lib/rook/rook\r\n2018-01-31 09:57:10.094983 I | op-mon: Found 0 running nodes without mons\r\n2018-01-31 09:57:10.095013 I | op-mon: All nodes are running mons. Adding all 3 nodes to the availability.\r\n2018-01-31 09:57:10.097376 I | op-cluster: creating initial crushmap\r\n2018-01-31 09:57:10.097406 I | cephclient: setting crush tunables to firefly\r\n2018-01-31 09:57:10.097631 I | exec: Running command: ceph osd crush tunables firefly --cluster=rook --conf=/var/lib/rook/rook/rook.config --keyring=/var/lib/rook/rook/client.admin.keyring --format plain --out-file /tmp/634131692\r\n2018-01-31 09:57:10.331930 I | exec: unable to get monitor info from DNS SRV with service name: ceph-mon\r\nno monitors specified to connect to.\r\n2018-01-31 09:57:10.294243 7ff7ca023700 -1 failed for service _ceph-mon._tcp\r\n2018-01-31 09:57:10.294243 7ff7ca023700 -1 failed for service _ceph-mon._tcp\r\n[errno 2] error connecting to the cluster\r\n2018-01-31 09:57:10.332149 E | op-cluster: failed to create cluster in namespace rook. failed to create initial crushmap: failed to create initial crushmap: failed to set crush tunables to profile firefly: exit status 1, unable to get monitor info from DNS SRV with service name: ceph-mon\r\nno monitors specified to connect to.\r\n2018-01-31 09:57:10.294243 7ff7ca023700 -1 failed for service _ceph-mon._tcp\r\n2018-01-31 09:57:10.294243 7ff7ca023700 -1 failed for service _ceph-mon._tcp\r\n[errno 2] error connecting to the cluster\r\n. output:\r\n```\r\n\r\n**Environment**:\r\n* OS: centos 7.3-1611\r\n* Kernel: 4.4.98-1.el7.elrepo.x86_64\r\n* hardware configuration:\r\nCPU： Intel(R) Xeon(R) CPU  X5650  @ 2.67GHz 2 cores\r\nMEM：4G\r\nDISK： 100G\r\n* Rook version: v0.6.0-196.gcec49a6\r\n* Kubernetes version: v1.8.5+coreos.0\r\n* Kubernetes cluster type: bear metal\r\n\r\n\r\n"}}
{"actor":{"display_login":"chenhonggc"}}