Windows Environment : windows-network-services stack errors out( rancher-metadata v0.10.0)


#1

Hi All,

I have Rancher 1.6.26 and a Windows environment.
As soon as I add hosts into the environment, windows-network-services stack starts creating, but it gets errors out.
windows-metadata keeps restarting.

image

I have attached the logs below.

Logs: 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

Standard Error

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"

Logs: 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

Standard Error

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"