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-314639554
 
 
   @Katiyman .. Thx for info !
   I tried fresh build and deployment with docker running with following 
parameters ==
   -> ps -eaf | grep docker
   rroot      1069     1 40 Jul11 ?        08:13:26 /usr/bin/dockerd -H 
tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock --storage-driver=overlay 
--insecure-registry 172.17.0.1:5000 --raw-logs
   
   hosts file ==
   ->/openwhisk/ansible/environments/distributed# cat hosts
   ; the first parameter in a host is the inventory_hostname which has to be
   ; either an ip
   ; or a resolvable hostname
   
   ; used for local actions only
   ansible ansible_connection=local
   [registry]
   172.17.0.1
   [edge]
   172.17.0.1
   [apigateway:children]
   edge
   [controllers]
   172.17.0.1
   [kafka]
   172.17.0.1
   [consul_servers]
   172.17.0.1
   [invokers]
   10.20.2.137
   [db]
   172.17.0.1
   
   and fresh gradle build as ==
   ./gradlew distDocker -PdockerHost=172.17.0.1:4243 
-PdockerRegistry=172.17.0.1:5000
   
   Registry is running same as you mentiond above ==
   -> docker ps
   CONTAINER ID        IMAGE               COMMAND                  CREATED     
        STATUS              PORTS                    NAMES
   43a4358c3b48        registry:2.3.1      "/bin/registry /etc/d"   20 hours 
ago        Up 20 hours         0.0.0.0:5000->5000/tcp   whisk_docker_registry
   
   -> curl http://172.17.0.1:4243/info
   
{"ID":"LHGY:CHIB:TVNB:FUB6:2BFD:TJTQ:TEKA:SGYJ:KF4I:ITOX:5AMV:OFXW","Containers":1,"ContainersRunning":1,"ContainersPaused":0,"ContainersStopped":0,"Images":128,"Driver":"overlay","DriverStatus":[["Backing
 
Filesystem","extfs"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["host","bridge","null","overlay"],"Authorization":null},"MemoryLimit":true,"SwapLimit":false,"KernelMemory":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":false,"NFd":18,"OomKillDisable":true,"NGoroutines":30,"SystemTime":"2017-07-12T03:49:57.73437607Z","ExecutionDriver":"","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-31-generic","OperatingSystem":"Ubuntu
 14.04.5 
LTS","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"172.17.0.
 
1:5000":{"Name":"172.17.0.1:5000","Mirrors":[],"Secure":false,"Official":false},"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":4,"MemTotal":8371515392,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"skg-faas-infra","Labels":null,"ExperimentalBuild":false,"ServerVersion":"1.12.0","ClusterStore":"","ClusterAdvertise":"","SecurityOptions":["apparmor"],"Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null,"Nodes":0,"Managers":0,"Cluster":{"ID":"","Version":{},"CreatedAt":"0001-01-01T00:00:00Z","UpdatedAt":"0001-01-01T00:00:00Z","Spec":{"Orchestration":{},"Raft":{},"Dispatcher":{},"CAConfig":{},"TaskDefaults":{}}}},"LiveRestoreEnabled":false}
   
   wget www.google.com is able to fetch index and is working..
   No proxy set.
   
   -> cat /etc/hosts looks like ==
   127.0.0.1 localhost
   ::1 ip6-localhost ip6-loopback
   fe00::0 ip6-localnet
   ff00::0 ip6-mcastprefix
   ff02::1 ip6-allnodes
   ff02::2 ip6-allrouters
   ff02::3 ip6-allhosts
   
   -> cat /etc/resolv.conf
   nameserver 8.8.8.8
   nameserver 8.8.4.4
   search openstacklocal
   
   ================
   I will try now openwhisk.yml deployment and update with latest.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to