{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/17132","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/17132/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/17132/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/17132/events","html_url":"https://github.com/ansible/ansible/issues/17132","id":171808833,"number":17132,"title":"django-celery run playbook_executor failed","user":{"login":"wordgod123","id":20762817,"avatar_url":"https://avatars.githubusercontent.com/u/20762817?v=3","gravatar_id":"","url":"https://api.github.com/users/wordgod123","html_url":"https://github.com/wordgod123","followers_url":"https://api.github.com/users/wordgod123/followers","following_url":"https://api.github.com/users/wordgod123/following{/other_user}","gists_url":"https://api.github.com/users/wordgod123/gists{/gist_id}","starred_url":"https://api.github.com/users/wordgod123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordgod123/subscriptions","organizations_url":"https://api.github.com/users/wordgod123/orgs","repos_url":"https://api.github.com/users/wordgod123/repos","events_url":"https://api.github.com/users/wordgod123/events{/privacy}","received_events_url":"https://api.github.com/users/wordgod123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-18T03:13:09Z","updated_at":"2016-10-08T08:24:43Z","closed_at":"2016-08-19T17:15:16Z","body":"<!---\r\nPlease do not report issues/requests related to Ansible modules here !!\r\n\r\nReport them to the appropriate modules-core or modules-extras project:\r\n  - https://github.com/ansible/ansible-modules-core/issues\r\n  - https://github.com/ansible/ansible-modules-extras/issues\r\n\r\nAlso verify first that your issue/request is not already reported in GitHub\r\n-->\r\n\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n - Feature Idea\r\n - Documentation Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/task/feature -->\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.1.0.0\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention the OS you are running Ansible from, and the OS you are\r\nmanaging, or say “N/A” for anything that is not platform-specific.\r\n-->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\n---\r\n\r\n- name: test playbook\r\n  hosts: all\r\n  gather_facts: no\r\n  #max_fail_percentage: 0\r\n  #serial: 2\r\n  any_errors_fatal: true\r\n  connection: local\r\n  roles:\r\n    - test\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\nI use django-clelery task to execute ansible, but have this error.\r\n\r\n  File \"/data/trunck/ansibleapp/tasks.py\", line 13, in executeTask\r\n    ansible.run_playbook(playbooks, host)\r\n  File \"/data/trunck/ansibleapp/ansbase.py\", line 83, in run_playbook\r\n    result = playbookExecutor.run()\r\n  File \"/usr/local/python27/lib/python2.7/site-packages/ansible/executor/playbook_executor.py\", line 213, in run\r\n    self._tqm.cleanup()\r\n  File \"/usr/local/python27/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py\", line 277, in cleanup\r\n    self._cleanup_processes()\r\n  File \"/usr/local/python27/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py\", line 281, in _cleanup_processes\r\n    self._result_prc.terminate()\r\n  File \"/usr/local/python27/lib/python2.7/site-packages/ansible/executor/process/result.py\", line 94, in terminate\r\n    super(ResultProcess, self).terminate()\r\n  File \"/usr/local/python27/lib/python2.7/multiprocessing/process.py\", line 137, in terminate\r\n    self._popen.terminate()\r\nAttributeError: 'NoneType' object has no attribute 'terminate'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/252411385","html_url":"https://github.com/ansible/ansible/issues/17132#issuecomment-252411385","issue_url":"https://api.github.com/repos/ansible/ansible/issues/17132","id":252411385,"user":{"login":"wordgod123","id":20762817,"avatar_url":"https://avatars.githubusercontent.com/u/20762817?v=3","gravatar_id":"","url":"https://api.github.com/users/wordgod123","html_url":"https://github.com/wordgod123","followers_url":"https://api.github.com/users/wordgod123/followers","following_url":"https://api.github.com/users/wordgod123/following{/other_user}","gists_url":"https://api.github.com/users/wordgod123/gists{/gist_id}","starred_url":"https://api.github.com/users/wordgod123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordgod123/subscriptions","organizations_url":"https://api.github.com/users/wordgod123/orgs","repos_url":"https://api.github.com/users/wordgod123/repos","events_url":"https://api.github.com/users/wordgod123/events{/privacy}","received_events_url":"https://api.github.com/users/wordgod123/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T08:24:43Z","updated_at":"2016-10-08T08:24:43Z","body":"@targetoyes yes"}}
{"actor":{"display_login":"wordgod123"}}