mlangbehn commented on issue #17: Issues deploying with custom docker images
URL: 
https://github.com/apache/incubator-openwhisk-deploy-kube/issues/17#issuecomment-310688874
 
 
   Starting yesterday, my testing has been failing with an issue connecting to 
the controller. I'm working on debugging it now, but here are the logs.
   
   
   ```shell
   % kubectl -n openwhisk logs -f $(kubectl -n openwhisk get pods | awk 
'/configure/ { print $1 }')
   ...
   TASK [controller : wait until the Controller in this host is up and running] 
***
   Friday 23 June 2017  14:28:45 +0000 (0:00:00.062)       0:01:56.525 
*********** 
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(20 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(19 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(18 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(17 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(16 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(15 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(14 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(13 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(12 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(11 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(10 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(9 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(8 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(7 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(6 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(5 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(4 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(3 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(2 retries left).
   FAILED - RETRYING: wait until the Controller in this host is up and running 
(1 retries left).
   failed: [127.0.0.1] (item=[u'controller-4190656464-tsdd2']) => {"attempts": 
20, "changed": true, "cmd": "kubectl -n openwhisk exec 
controller-4190656464-tsdd2 -- bash -c 'curl -I http://0.0.0.0:8080/ping'", 
"delta": "0:00:01.024294", "end": "2017-06-23 14:32:32.662011", "failed": true, 
"item": ["controller-4190656464-tsdd2"], "rc": 7, "start": "2017-06-23 
14:32:31.637717", "stderr": "  % Total    % Received % Xferd  Average Speed   
Time    Time     Time  Current\n                                 Dload  Upload  
 Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 
--:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to 0.0.0.0 port 
8080: Connection refused", "stderr_lines": ["  % Total    % Received % Xferd  
Average Speed   Time    Time     Time  Current", "                              
   Dload  Upload   Total   Spent    Left  Speed", "", "  0     0    0     0    
0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to 
connect to 0.
 0.0.0 port 8080: Connection refused"], "stdout": "", "stdout_lines": []}
   ...
   ```
   
   ```shell
   % kubectl -n openwhisk logs -f $(kubectl -n openwhisk get pods | awk 
'/controller/ { print $1 }')                                            master=
   [2017-06-23T14:28:59.951Z] [INFO] Slf4jLogger started 
   [2017-06-23T14:29:00.669Z] [INFO] [??] [Config] environment set value for 
consulserver.host 
   [2017-06-23T14:29:00.679Z] [INFO] [??] [Config] environment set value for 
whisk.version.date 
   [2017-06-23T14:29:00.681Z] [INFO] [??] [Config] environment set value for 
whisk.version.buildno 
   [2017-06-23T14:29:00.682Z] [INFO] [??] [Config] environment set value for 
consul.host.port4 
   [2017-06-23T14:29:00.683Z] [INFO] [??] [Config] environment set value for 
port 
   [2017-06-23T14:29:00.686Z] [INFO] [??] [WhiskConfig] reading properties from 
consul at consul.openwhisk:8500 
   Exception in thread "main" java.lang.IllegalArgumentException: requirement 
failed: controller instance required
        at scala.Predef$.require(Predef.scala:224)
        at whisk.core.controller.Controller$.main(Controller.scala:193)
        at whisk.core.controller.Controller.main(Controller.scala)
   ```
 
----------------------------------------------------------------
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