{"action":"created","issue":{"url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/32","repository_url":"https://api.github.com/repos/tencent-wechat/phxsql","labels_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/32/comments","events_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/32/events","html_url":"https://github.com/tencent-wechat/phxsql/issues/32","id":178227922,"number":32,"title":"rancher网络中phxsql初始化失败","user":{"login":"coding-chenkaikai","id":19203057,"avatar_url":"https://avatars.githubusercontent.com/u/19203057?v=3","gravatar_id":"","url":"https://api.github.com/users/coding-chenkaikai","html_url":"https://github.com/coding-chenkaikai","followers_url":"https://api.github.com/users/coding-chenkaikai/followers","following_url":"https://api.github.com/users/coding-chenkaikai/following{/other_user}","gists_url":"https://api.github.com/users/coding-chenkaikai/gists{/gist_id}","starred_url":"https://api.github.com/users/coding-chenkaikai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coding-chenkaikai/subscriptions","organizations_url":"https://api.github.com/users/coding-chenkaikai/orgs","repos_url":"https://api.github.com/users/coding-chenkaikai/repos","events_url":"https://api.github.com/users/coding-chenkaikai/events{/privacy}","received_events_url":"https://api.github.com/users/coding-chenkaikai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-21T02:15:05Z","updated_at":"2016-09-21T02:17:00Z","closed_at":null,"body":"环境：docker bridge模式，rancher\r\n1、在基础镜像为centos6.7的docker环境下，手动编译\r\n2、使用docker run，单机进行集群部署，成功初始化，多主机使用rancher环境提供10.42网段ip，初始化失败\r\n可能原因分析：\r\n1、phxrpc不支持rancher网络？？？\r\n如下log：\r\nterminal\r\n```\r\nget master  expire time 0\r\nget master  expire time 0\r\nget master  expire time 0\r\ninit svr fail, ret -1\r\n```\r\nphxbinlogsvr.b65705e3f276.invalid-user.log.ERROR.20160921-021137.3712\r\n```\r\nE0919 02:17:05.969772  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:06.000067  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:06.969871  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:07.000144  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:07.969990  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:08.000037  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:08.970146  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:09.000561  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:09.013869  3713 phx_glog.cpp:82]  DoQuery mysql_query show global variables like 'gtid_executed'; done 0,  \r\nE0919 02:17:09.013932  3713 phx_glog.cpp:82]  MakeCheckPoint now time 1474251429 last check time 1474251405,  interval time 216000 \r\nE0919 02:17:09.013947  3713 phx_glog.cpp:82]  MakeCheckPoint check point check done \r\nE0919 02:17:09.049278  3713 phx_glog.cpp:82]  CheckRunningStatus current mysql instanceid 0, binlog svr instanceid 0 \r\nE0919 02:17:09.970252  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:10.000097  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:10.970340  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:11.000038  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:11.970423  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:12.000018  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:12.970479  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:13.000020  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:13.970566  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:14.000077  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:14.049854  3713 phx_glog.cpp:82]  DoQuery mysql_query show global variables like 'gtid_executed'; done 0,  \r\nE0919 02:17:14.049911  3713 phx_glog.cpp:82]  MakeCheckPoint now time 1474251434 last check time 1474251405,  interval time 216000 \r\nE0919 02:17:14.049924  3713 phx_glog.cpp:82]  MakeCheckPoint check point check done \r\nE0919 02:17:14.049933  3713 phx_glog.cpp:82]  CheckRunningStatus current mysql instanceid 0, binlog svr instanceid 0 \r\nE0919 02:17:14.970636  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:15.000066  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\nE0919 02:17:15.970726  3716 phx_glog.cpp:82]  Showy(0): PN8phxpaxos7CleanerE::run sleep a while, max deleted instanceid 0 checkpoint instanceid (no checkpoint) now instanceid 0 \r\nE0919 02:17:16.000049  3721 phx_glog.cpp:82]  Process master is not inited, waiting init, doing nothing \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/comments/248492147","html_url":"https://github.com/tencent-wechat/phxsql/issues/32#issuecomment-248492147","issue_url":"https://api.github.com/repos/tencent-wechat/phxsql/issues/32","id":248492147,"user":{"login":"coding-chenkaikai","id":19203057,"avatar_url":"https://avatars.githubusercontent.com/u/19203057?v=3","gravatar_id":"","url":"https://api.github.com/users/coding-chenkaikai","html_url":"https://github.com/coding-chenkaikai","followers_url":"https://api.github.com/users/coding-chenkaikai/followers","following_url":"https://api.github.com/users/coding-chenkaikai/following{/other_user}","gists_url":"https://api.github.com/users/coding-chenkaikai/gists{/gist_id}","starred_url":"https://api.github.com/users/coding-chenkaikai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coding-chenkaikai/subscriptions","organizations_url":"https://api.github.com/users/coding-chenkaikai/orgs","repos_url":"https://api.github.com/users/coding-chenkaikai/repos","events_url":"https://api.github.com/users/coding-chenkaikai/events{/privacy}","received_events_url":"https://api.github.com/users/coding-chenkaikai/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T02:17:00Z","updated_at":"2016-09-21T02:17:00Z","body":"经多次测试，出现结果相同"}}
{"actor":{"display_login":"coding-chenkaikai"}}