我有Rancher 1.6.26和一个用于Windows docker工作负载的Windows环境。
一旦我将主机添加到环境中,windows-network-services堆栈就会开始创建,但是它会消除错误。 Windows元数据不断重启。
我在下面附上了日志。
日志:Windows-network-services-windows-dns-2
3/6/2019 11:51:12 AMtime="2019-03-06T11:51:12+11:00" level=info msg="Starting rancher-dns v0.17.0"
3/6/2019 11:51:12 AMtime="2019-03-06T11:51:12+11:00" level=warning msg="Failed to find: C:\\answers.json"
3/6/2019 11:51:12 AMtime="2019-03-06T11:51:12+11:00" level=info msg="Loaded answers"
3/6/2019 11:51:43 AMtime="2019-03-06T11:51:43+11:00" level=error msg="Error initiating metadata client: Get http://169.254.169.250:80/2015-12-19/version: proxyconnect tcp: dial tcp 10.181.128.61:8080: connectex: A socket operation was attempted to an unreachable network."
3/6/2019 11:51:43 AMtime="2019-03-06T11:51:43+11:00" level=fatal msg="Cannot startup: failed to init config generator: Get http://169.254.169.250:80/2015-12-19/version: proxyconnect tcp: dial tcp 10.181.128.61:8080: connectex: A socket operation was attempted to an unreachable network."
3/6/2019 11:51:43 AM
3/6/2019 11:51:43 AM
标准错误
3/6/2019 11:51:12 AMtime="2019-03-06T11:51:12+11:00" level=info msg="Starting rancher-dns v0.17.0"
3/6/2019 11:51:12 AMtime="2019-03-06T11:51:12+11:00" level=warning msg="Failed to find: C:\\answers.json"
3/6/2019 11:51:12 AMtime="2019-03-06T11:51:12+11:00" level=info msg="Loaded answers"
3/6/2019 11:51:43 AMtime="2019-03-06T11:51:43+11:00" level=error msg="Error initiating metadata client: Get http://169.254.169.250:80/2015-12-19/version: proxyconnect tcp: dial tcp 10.181.128.61:8080: connectex: A socket operation was attempted to an unreachable network."
3/6/2019 11:51:43 AMtime="2019-03-06T11:51:43+11:00" level=fatal msg="Cannot startup: failed to init config generator: Get http://169.254.169.250:80/2015-12-19/version: proxyconnect tcp: dial tcp 10.181.128.61:8080: connectex: A socket operation was attempted to an unreachable network."
3/6/2019 11:52:03 AMtime="2019-03-06T11:52:03+11:00" level=info msg="Starting rancher-dns v0.17.0"
3/6/2019 11:52:03 AMtime="2019-03-06T11:52:03+11:00" level=warning msg="Failed to find: C:\\answers.json"
3/6/2019 11:52:03 AMtime="2019-03-06T11:52:03+11:00" level=info msg="Loaded answers"
3/6/2019 11:52:34 AMtime="2019-03-06T11:52:34+11:00" level=error msg="Error initiating metadata client: Get http://169.254.169.250:80/2015-12-19/version: proxyconnect tcp: dial tcp 10.181.128.61:8080: connectex: A socket operation was attempted to an unreachable network."
3/6/2019 11:52:34 AMtime="2019-03-06T11:52:34+11:00" level=fatal msg="Cannot startup: failed to init config generator: Get http://169.254.169.250:80/2015-12-19/version: proxyconnect tcp: dial tcp 10.181.128.61:8080: connectex: A socket operation was attempted to an unreachable network."
3/6/2019 11:53:58 AMtime="2019-03-06T11:53:58+11:00" level=info msg="Starting rancher-dns v0.17.0"
3/6/2019 11:53:58 AMtime="2019-03-06T11:53:58+11:00" level=warning msg="Failed to find: C:\\answers.json"
3/6/2019 11:53:58 AMtime="2019-03-06T11:53:58+11:00" level=info msg="Loaded answers"
日志:Windows-network-services-windows-metadata-2
3/6/2019 11:53:14 AMtime="2019-03-06T11:53:14+11:00" level=info msg="Starting rancher-metadata v0.10.0"
3/6/2019 11:53:14 AMtime="2019-03-06T11:53:14+11:00" level=info msg="Subscribing to events"
3/6/2019 11:53:14 AMtime="2019-03-06T11:53:14+11:00" level=fatal msg="Failed to subscribeGet http://ln228prnchsvr02.swc:8080/v2-beta: dial tcp: lookup ln228prnchsvr02.swc: no such host"
3/6/2019 11:53:14 AM
标准错误
3/6/2019 11:52:32 AMtime="2019-03-06T11:52:32+11:00" level=info msg="Starting rancher-metadata v0.10.0"
3/6/2019 11:52:32 AMtime="2019-03-06T11:52:32+11:00" level=info msg="Subscribing to events"
3/6/2019 11:52:32 AMtime="2019-03-06T11:52:32+11:00" level=fatal msg="Failed to subscribeGet http://ln228prnchsvr02.swc:8080/v2-beta: dial tcp: lookup ln228prnchsvr02.swc: no such host"
3/6/2019 11:52:46 AMtime="2019-03-06T11:52:46+11:00" level=info msg="Starting rancher-metadata v0.10.0"
3/6/2019 11:52:46 AMtime="2019-03-06T11:52:46+11:00" level=info msg="Subscribing to events"
3/6/2019 11:52:46 AMtime="2019-03-06T11:52:46+11:00" level=fatal msg="Failed to subscribeGet http://ln228prnchsvr02.swc:8080/v2-beta: dial tcp: lookup ln228prnchsvr02.swc: no such host"
3/6/2019 11:53:14 AMtime="2019-03-06T11:53:14+11:00" level=info msg="Starting rancher-metadata v0.10.0"
3/6/2019 11:53:14 AMtime="2019-03-06T11:53:14+11:00" level=info msg="Subscribing to events"
3/6/2019 11:53:14 AMtime="2019-03-06T11:53:14+11:00" level=fatal msg="Failed to subscribeGet http://ln228prnchsvr02.swc:8080/v2-beta: dial tcp: lookup ln228prnchsvr02.swc: no such host"
任何想法出了什么问题。