You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/08/01 10:55:55 UTC

[GitHub] fmaschler commented on issue #139: Meet minio file access denied when waiting for the controller

fmaschler commented on issue #139: Meet minio file access denied when waiting for the controller
URL: https://github.com/apache/incubator-openwhisk-devtools/issues/139#issuecomment-409535738
 
 
   I had the same issue with a waiting controller and of the following log:
   ```
   [2018-07-31T12:54:59.314Z] [INFO] [#tid_sid_unknown] [Config] environment set value for port
   Exception in thread "main" org.apache.kafka.common.KafkaException: Failed create new KafkaAdminClient
           at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:322)
           at org.apache.kafka.clients.admin.AdminClient.create(AdminClient.java:50)
           at whisk.connector.kafka.KafkaMessagingProvider$.ensureTopic(KafkaMessagingProvider.scala:56)
           at whisk.core.controller.Controller$$anonfun$main$3.apply(Controller.scala:251)
           at whisk.core.controller.Controller$$anonfun$main$3.apply(Controller.scala:249)
           at scala.collection.immutable.Map$Map4.foreach(Map.scala:188)
           at whisk.core.controller.Controller$.main(Controller.scala:249)
           at whisk.core.controller.Controller.main(Controller.scala)
   Caused by: org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls given in bootstrap.servers
           at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:64)
           at org.apache.kafka.clients.admin.KafkaAdminClient.<init>(KafkaAdminClient.java:345)
           at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:315)
           ... 7 more
   ```
   
   Updading minio as suggested in #140 didn't help but by increasing memory the controller started. Though "Access denied" still shows but seems to be ignored.
   ```
   Creating openwhisk_minio_1 ... done
   <?xml version="1.0" encoding="UTF-8"?>
   <Error><Code>AccessDenied</Code><Message>Access Denied.</Message><Key></Key><BucketName></BucketName><Resource>/</Resource><RequestId>3L137</RequestId><HostId>3L137</HostId></Error>generating server certificate request
   ```
   
   Now the invoker won't start with the following log message:
   ```
   Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
   [2018-08-01T10:47:34.406Z] [INFO] Slf4jLogger started
   [2018-08-01T10:47:35.428Z] [INFO] [#tid_sid_unknown] [Config] environment set value for whisk.api.host.name
   [2018-08-01T10:47:35.432Z] [INFO] [#tid_sid_unknown] [Config] environment set value for zookeeper.hosts
   [2018-08-01T10:47:35.434Z] [INFO] [#tid_sid_unknown] [Config] environment set value for runtimes.manifest
   [2018-08-01T10:47:35.436Z] [INFO] [#tid_sid_unknown] [Config] environment set value for kafka.hosts
   [2018-08-01T10:47:35.437Z] [INFO] [#tid_sid_unknown] [Config] environment set value for port
   [2018-08-01T10:47:37.376Z] [ERROR] [#tid_sid_invoker] [Invoker] Error processing command line arguments List(0)
   ```
   
   Any ideas on that?
   
   @gazben On Ubuntu 14.04. conflicting docker and docker-compose versions caused problems. Instead of fixing those I would rather run the newer system.
   
   @edwardstudy I also tried several restarts without success.
   
   System:
   * Ubuntu 18.04.
   * Docker 18.03.1-ce
   * docker-compose 1.22.0

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services