saurabh1284 commented on issue #2264: Unable to connect to the controller 
docker: Controller docker not starting
URL: 
https://github.com/apache/incubator-openwhisk/issues/2264#issuecomment-314375589
 
 
   @Katiyman .. Yes . All above env variables are unset/blank.
   
   I again freshly deployed and have a basic confusion regarding host files 
values under distributed env ?
   
   When I give "registry" IP as public IP or internal IP(eth0 inet addre) , 
then ->
   ansible-playbook -i environments/distributed registry.yml
   fails with ->>
   TASK [registry : wait until registry in this host is up and running] 
*****************************************
   Tuesday 11 July 2017  05:55:09 +0000 (0:00:27.083)       0:06:14.588 
**********
   fatal: [10.20.2.136]: FAILED! => {"changed": false, "elapsed": 61, "failed": 
true, "msg": "Timeout when waiting for 10.20.2.136:5000"}
   ====
   But when I give registry IP as -> 172.17.0.1 , then registry.yaml works fine.
   Is it because docker is running at 172.17.0.1 ?
   ifconfig -a
   docker0   Link encap:Ethernet  HWaddr 02:42:75:2a:e0:be
             inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
             inet6 addr: fe80::42:75ff:fe2a:e0be/64 Scope:Link
             UP BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:20 errors:0 dropped:0 overruns:0 frame:0
             TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:1264 (1.2 KB)  TX bytes:962 (962.0 B)
   
   eth0      Link encap:Ethernet  HWaddr fa:16:3e:c5:16:da
             inet addr:10.11.12.27  Bcast:10.11.12.255  Mask:255.255.255.0
             inet6 addr: fe80::f816:3eff:fec5:16da/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:32263 errors:0 dropped:0 overruns:0 frame:0
             TX packets:29669 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:67279388 (67.2 MB)  TX bytes:2813044 (2.8 MB)
   
   lo        Link encap:Local Loopback
             inet addr:127.0.0.1  Mask:255.0.0.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING  MTU:65536  Metric:1
             RX packets:866 errors:0 dropped:0 overruns:0 frame:0
             TX packets:866 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1
             RX bytes:524536 (524.5 KB)  TX bytes:524536 (524.5 KB)
   
   ---------------
   If this is the case, what should be the other field entries(IPs) in hosts 
file for distributed env ?
   Currently I want only invoker on different host, rest all on 1 host.
   Any comments ?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to