zhy989 commented on issue #21: issue about couchdb 
URL: 
https://github.com/apache/incubator-openwhisk-deploy-kube/issues/21#issuecomment-312983329
 
 
   @DanLavine 
   
   Is couchdb deployed successfully ?
   
   - kubectl get svc --all-namespaces
   NAMESPACE     NAME         CLUSTER-IP   EXTERNAL-IP   PORT(S)                
                                                            AGE
   default       kubernetes   10.0.0.1     <none>        443/TCP                
                                                            1d
   kube-system   kube-dns     10.0.0.10    <none>        53/UDP,53/TCP          
                                                            1d
   openwhisk     consul       10.0.0.169   <none>        
8300/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8400/TCP,8500/TCP,8600/TCP,8600/UDP
   18h
   openwhisk     controller   10.0.0.70    <none>        10001/TCP              
                                                            18h
   **openwhisk     couchdb      10.0.0.50    <none>        5984/TCP             
                                                              18h**
   openwhisk     invoker      None         <none>        8080/TCP               
                                                            18h
   openwhisk     kafka        10.0.0.150   <none>        9092/TCP               
                                                            18h
   openwhisk     nginx        10.0.0.107   <nodes>       
80:30435/TCP,443:30521/TCP,8443:32685/TCP                                       
   18h
   openwhisk     zookeeper    10.0.0.2     <none>        
2181/TCP,2888/TCP,3888/TCP                                                      
   18h
   
   - kubectl get po --all-namespaces
   NAMESPACE     NAME                        READY     STATUS              
RESTARTS   AGE
   kube-system   kube-dns-2185667875-sd506   4/4       Running             1    
      1d
   openwhisk     consul-57995027-4ngbf       0/2       ContainerCreating   0    
      18h
   **openwhisk     couchdb-109298327-rstgl     1/1       Running             2  
        22h**
   
   but when I run "ansible-playbook -i environments/kube couchdb.yml" , there 
is also "time out" like this: 
   
   - TASK [couchdb : wait until the CouchDB in this host is up and running] 
************************************************************************
   Wednesday 05 July 2017  02:04:44 +0000 (0:00:00.303)       0:00:00.761 
******** 
   fatal: [172.17.0.1]: FAILED! => {"changed": false, "elapsed": 129, "failed": 
true, "msg": "Timeout when waiting for couchdb.openwhisk:5984"}
   
   when I run "ansible-playbook -i environments/kube initdb.yml", the error is 
as below:
   - TASK [check if openwhisk_kube_subjects with CouchDB exists] 
***********************************************************************************
   Wednesday 05 July 2017  02:37:15 +0000 (0:00:00.421)       0:00:00.445 
******** 
   fatal: [ansible]: FAILED! => {"changed": false, "content": "", "failed": 
true, "msg": "Status code was not [200, 404]: Request failed: <urlopen error 
[Errno -2] Name or service not known>", "redirected": false, "status": -1, 
"url": "http://couchdb.openwhisk:5984/openwhisk_kube_subjects"}
 
----------------------------------------------------------------
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