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 2019/02/26 09:09:05 UTC

[GitHub] josyAnne opened a new issue #4306: kafka : (re)start kafka using 'wurstmeister/kafka:0.11.0.1'

josyAnne opened a new issue #4306: kafka : (re)start kafka using 'wurstmeister/kafka:0.11.0.1'
URL: https://github.com/apache/incubator-openwhisk/issues/4306
 
 
   <!--
   We use the issue tracker for bugs and feature requests. For general questions and discussion please use http://slack.openwhisk.org/ or https://openwhisk.apache.org/contact.html instead.
   
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   * local deployment, ubuntu VM (16.04 LTS - 64 bit Memory 8GB , Disk 200GB)   
   * version of docker
   Docker version 18.06.1-ce, build e68fc7a
   
   
   ## Deploying using CouchDB:
   
   The command `ansible-playbook  openwhisk.yml` produces error.
   
   
   ## Provide the actual results and outputs:
   
   ```
   TASK [controller : (re)start controller] ***************************************
   Tuesday 26 February 2019  09:39:54 +0100 (0:00:00.027)       0:07:41.054 ****** 
   An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: create_host_config() got an unexpected keyword argument 'userns_mode'
   fatal: [controller0]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_Uj28Io/ansible_module_docker_container.py\", line 2162, in <module>\n    main()\n  File \"/tmp/ansible_Uj28Io/ansible_module_docker_container.py\", line 2157, in main\n    cm = ContainerManager(client)\n  File \"/tmp/ansible_Uj28Io/ansible_module_docker_container.py\", line 1785, in __init__\n    self.present(state)\n  File \"/tmp/ansible_Uj28Io/ansible_module_docker_container.py\", line 1805, in present\n    new_container = self.container_create(self.parameters.image, self.parameters.create_parameters)\n  File \"/tmp/ansible_Uj28Io/ansible_module_docker_container.py\", line 908, in create_parameters\n    host_config=self._host_config(),\n  File \"/tmp/ansible_Uj28Io/ansible_module_docker_container.py\", line 1013, in _host_config\n    return self.client.create_host_config(**params)\n  File \"/usr/lib/python2.7/dist-packages/docker/api/container.py\", line 142, in create_host_config\n    return utils.create_host_config(*args, **kwargs)\nTypeError: create_host_config() got an unexpected keyword argument 'userns_mode'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
   
   MODULE FAILURE
   
   PLAY RECAP *********************************************************************
   controller0                : ok=23   changed=6    unreachable=0    failed=1   
   kafka0                     : ok=11   changed=6    unreachable=0    failed=0   
   
   Tuesday 26 February 2019  09:39:55 +0100 (0:00:00.396)       0:07:41.451 ****** 
   =============================================================================== 
   kafka : (re)start kafka using 'wurstmeister/kafka:0.11.0.1'  ---------- 216.00s
   zookeeper : pull the zookeeper:3.4 image ------------------------------ 211.89s
   kafka : wait until the kafka server started up -------------------------- 7.98s
   zookeeper : wait until the Zookeeper in this host is up and running ----- 7.41s
   zookeeper : (re)start zookeeper ----------------------------------------- 6.51s
   controller : copy certificates ------------------------------------------ 1.07s
   Gathering Facts --------------------------------------------------------- 0.77s
   controller : copy jmxremote password file ------------------------------- 0.73s
   controller : copy nginx certificate keystore ---------------------------- 0.71s
   Gathering Facts --------------------------------------------------------- 0.57s
   controller : populate environment variables for controller -------------- 0.56s
   Gathering Facts --------------------------------------------------------- 0.55s
   controller : copy jmxremote access file --------------------------------- 0.53s
   controller : ensure controller config directory is created with permissions --- 0.45s
   controller : check if whisk_local_whisks with CouchDB exists ------------ 0.43s
   kafka : add kafka default env vars -------------------------------------- 0.42s
   kafka : create kafka certificate directory ------------------------------ 0.41s
   controller : (re)start controller --------------------------------------- 0.40s
   controller : add seed nodes to controller environment ------------------- 0.33s
   controller : check if whisk_local_subjects with CouchDB exists ---------- 0.33s
   ```
   
   ## Additional information you deem important:
   * The command `docker ps --format "{{.Names}} - {{.Image}}"` provide the following output.
   kafka0 - wurstmeister/kafka:0.11.0.1
   zookeeper0 - zookeeper:3.4
   

----------------------------------------------------------------
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