Deployed docker host using photon OS but is not stable. It is going to disabled state in few mins, event log has the message "Host [https://*.*.*.*:2376] has been marked [DISABLED] after failure to perform data collection. Error message is: connection timed out: /*.*.*.*:2376; Reason: com.vmware.xenon.common.ServiceErrorResponse@3a6ceb7"
Anybody has any idea?
Was it ever working correctly? If this is a vm you are provisioning and it is automatically being added to the container inventory is the image setup to communicate on https on port 2376? If you followed a blog post and setup the firewall for http on 2375 like I did you'll need to adjust the properties to reflect this. I had the same thing happen to me and it was do to that misconfiguration.
It does not have any firewall rule for http on 2375. However, created a firewall rule to accept https on port 2376 (iptables -A INPUT -p tcp --dport 2375 -j ACCEPT and iptables -A INPUT -p https --dport 2376 -j ACCEPT)
The problem here is in the container inventory the host display with an IPaddress apart from the one assigned to its blueprint.
I am unsure where it is pulling this IP from. When I cloned the PhotonOS template from vSphere it did not get that IP address. Docker container in vRA also does not have any network created with that IP address. Container event message "Host [https://172.17.0.1:2376] has been marked [OFF] after exceeding the maximum number [3] of failed data collections. Error message is: connection timed out: /172.17.0.1:2376; Reason: com.vmware.xenon.common.ServiceErrorResponse"
All the container host has this IP address-172.17.0.1 assigned to it. Unsure where it is pulling from.
Any help would be appreciated on this