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 2021/05/21 03:15:19 UTC

[GitHub] [openwhisk] Thompson-Liu opened a new issue #5114: Ansible error when executing openwhisk.yml with ansible-playbook

Thompson-Liu opened a new issue #5114:
URL: https://github.com/apache/openwhisk/issues/5114


   <!--
   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/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:
   
   Ubuntu 18 with docker version 20.10.2
   
   ## Steps to reproduce the issue:
   
   1.  Deployed openwhisk locally using CouchDB and Ansible. I changed CouchDB's IP address to node's public ip 
   2. ansible-playbook openwhisk.yml
   
   
   ## Provide the expected results and outputs:
   
   ```
   Expect to finish without error and bring up a docker of controller successfully. Currently "docker ps" only shows zookeeper, couchDB and wurstmeister/kafka:2.13-2.7.0
   ```
   
   
   ## Provide the actual results and outputs:
   
   ```
   TASK [controller : (re)start controller] ***********************************************************************************************************************************************************************
   Thursday 20 May 2021  20:55:41 -0600 (0:00:00.054)       0:00:53.128 **********
   An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: Invalid value for pid_mode param:
   fatal: [controller0]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1621565741.1902359-30361-232552429440293/AnsiballZ_docker_container.py\", line 100, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1621565741.1902359-30361-232552429440293/AnsiballZ_docker_container.py\", line 92, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1621565741.1902359-30361-232552429440293/AnsiballZ_docker_container.py\", line 41, in invoke_module\n    run_name='__main__', alter_sys=True)\n  File \"/usr/lib/python3.6/runpy.py\", line 205, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.6/runpy.py\", line 96, in _run_module_code\n    mod_name, mod_spec, pkg_name, script_name)\n  File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\
 n  File \"/tmp/ansible_docker_container_payload_orbo9kyd/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/modules/docker_container.py\", line 3619, in <module>\n  File \"/tmp/ansible_docker_container_payload_orbo9kyd/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/modules/docker_container.py\", line 3608, in main\n  File \"/tmp/ansible_docker_container_payload_orbo9kyd/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/modules/docker_container.py\", line 2763, in __init__\n  File \"/tmp/ansible_docker_container_payload_orbo9kyd/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/modules/docker_container.py\", line 2836, in present\n  File \"/tmp/ansible_docker_container_payload_orbo9kyd/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/modules/docker_container.py\", line 1570, in create_parameters\n  File \"/tmp/ansible_docke
 r_container_payload_orbo9kyd/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/modules/docker_container.py\", line 1713, in _host_config\n  File \"/usr/local/lib/python3.6/dist-packages/docker/api/container.py\", line 157, in create_host_config\n    return utils.create_host_config(*args, **kwargs)\n  File \"/usr/local/lib/python3.6/dist-packages/docker/utils/utils.py\", line 658, in create_host_config\n    raise host_config_value_error('pid_mode', pid_mode)\nValueError: Invalid value for pid_mode param: \n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
   ```
   
   ## Additional information you deem important:
   * issue happens only occasionally or under certain circumstances   
   * changes you did or observed in the environment
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk] jiangpengcheng commented on issue #5114: Ansible error when executing openwhisk.yml with ansible-playbook

Posted by GitBox <gi...@apache.org>.
jiangpengcheng commented on issue #5114:
URL: https://github.com/apache/openwhisk/issues/5114#issuecomment-855654172


   what's the version of ansible do you use?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org