linuswagner opened a new issue, #749:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/749

   I am trying to run OpenWhisk on top of KubeEdge.  
   While the installation works well on top of Kubernetes, on the edge the job 
gen-certs is failing me.  
   Looking at the logs, I get
   ```
   The connection to the server localhost:8080 was refused - did you specify 
the right host or port?  
   Can't load /root/.rnd into RNG  
   139874024714688:error:2406F079:random number generator:RAND_load_file:Cannot 
open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd  
   generating new owdev-nginx secret  
   generating server certificate request  
   generating self-signed password-less server certificate  
   Signature ok  
   subject=C = US, ST = NY, L = Yorktown, O = OpenWhisk, CN = *.192.168.122.10  
   Getting Private key  
   generate keystore  
   The connection to the server localhost:8080 was refused - did you specify 
the right host or port?
   ```
   
   The important parts are the first and last line, where `kubectl` from the 
`ow-utils` image is telling me that it can not access the cluster (during the 
execution of [this 
script](https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/configMapFiles/genCerts/gencerts.sh)).
  
   I believe this is due to a missing cluster configuration.  
   
   This made me wonder: How is `ow-utils` able to access the cluster/get the 
cluster configuration? Looking at the helm-files of this project and the 
definition of `ow-utils`, it is not obvious to me how this happens.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to