rancher-agent添加不上

少年阿峣_从零单排 2018-08-13 08:30:18
rancher是1.6版本。
之前rancher 好好的,突然在rancher上更改应用时候卡主了。
然后删了ranchet-agent,打算重启添加主机,然后一直报下面的错误,主机可以显示出来的,但是主机下的agent相关的服务包括agent都加不进来。


求大神们帮助!!!

错误日志如下:



2018-08-13T12:19:00.157131839Z time="2018-08-13T12:19:00Z" level=info msg="Serialize compute requests: false, driver: aufs"
2018-08-13T12:19:00.165134021Z time="2018-08-13T12:19:00Z" level=info msg="Initializing event router" workerCount=250
2018-08-13T12:19:00.170895881Z time="2018-08-13T12:19:00Z" level=info msg="Connection established"
2018-08-13T12:19:00.170925484Z time="2018-08-13T12:19:00Z" level=info msg="Starting websocket pings"
2018-08-13T12:19:10.049767832Z time="2018-08-13T12:19:10Z" level=error msg="Received error reading from socket. Exiting." error="read tcp 192.168.1.12:12374->192.168.1.11:18080: read: connection reset by peer"
2018-08-13T12:19:10.049832225Z time="2018-08-13T12:19:10Z" level=error msg="Failed to connect to websocket proxy: %vread tcp 192.168.1.12:12374->192.168.1.11:18080: read: connection reset by peer"
2018-08-13T12:19:12.286533800Z time="2018-08-13T12:19:12Z" level=error msg="retry check cloud provider" count=1 error="EC2MetadataRequestError: failed to get EC2 instance identity document\ncaused by: RequestError: send request failed\ncaused by: Get http://169.254.169.254/latest/dynamic/instance-identity/document: dial tcp 169.254.169.254:80: getsockopt: no route to host"
2018-08-13T12:19:15.081377391Z time="2018-08-13T12:19:15Z" level=info msg="Connecting to proxy." url="ws://192.168.1.11:18080/v1/connectbackend?token=eyJhbGciOiJSUzI1NiJ9.eyJyZXBvcnRlZFV1aWQiOiJjMjIxZWQwOS1hZmYwLTQ4ZmQtNTdmNy05NmMxMjg5YTkxZWEiLCJzdWIiOiJjYXR0bGUiLCJraWQiOiJkZWZhdWx0IiwiaXNzIjoiaHR0cDpcL1wvY2F0dGxlLmlvIiwiZXhwIjoxNTM0MTYzMDU1LCJpYXQiOjE1MzQxNjI3NTV9.B1zXEf_sfhWPY1EnkTVCo0Lzo0myE4S7xATj5lTxcuL7nDqKbLMxMa6gFptxA3yOrfYCfryh9wueiDzcjPHsaeGChJyKR978R3EVOj90nls3_NeLR6IskS5lLK6hm3Zx0bFN-aypCwXVoclTPvy1vUA0a-qMPOKqq-CLR3uTN0JVkUfawIp4ZoNlOmKOYM9mGkSvyfSAT4R4Sjykg2bXHtog4xlG4Vme7l3h7hsg0b-4QcqfGsf2GEbaWjig36bQGrSRpb_gv2aHadAwZqFC4K1_8rK9UOGHEvJv4i8GMFShkHjvGQOk0ngQj_-pzCOM5U9xTMJuCoYZ5bnq1ctmYQ"
2018-08-13T12:19:20.049262599Z time="2018-08-13T12:19:20Z" level=warning msg="Hit websocket pong timeout. Last websocket ping received at 2018-08-13 12:19:05.056068635 +0000 UTC. Closing connection."

补充:
ip、dns、docker-deamon都配好了,之前都是正常的。
尝试重启了rancher-server,重启docker。都不行,还是报这个错误。
...全文
718 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧