{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/38299","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/38299/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/38299/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/38299/events","html_url":"https://github.com/ansible/ansible/issues/38299","id":311357059,"node_id":"MDU6SXNzdWUzMTEzNTcwNTk=","number":38299,"title":"elb_target_group Unknown parameter in input: \"TargetType\"","user":{"login":"ivanbaldo","id":9701633,"node_id":"MDQ6VXNlcjk3MDE2MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/9701633?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanbaldo","html_url":"https://github.com/ivanbaldo","followers_url":"https://api.github.com/users/ivanbaldo/followers","following_url":"https://api.github.com/users/ivanbaldo/following{/other_user}","gists_url":"https://api.github.com/users/ivanbaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbaldo/subscriptions","organizations_url":"https://api.github.com/users/ivanbaldo/orgs","repos_url":"https://api.github.com/users/ivanbaldo/repos","events_url":"https://api.github.com/users/ivanbaldo/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbaldo/received_events","type":"User","site_admin":false},"labels":[{"id":686214011,"node_id":"MDU6TGFiZWw2ODYyMTQwMTE=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","color":"ededed","default":false},{"id":379680333,"node_id":"MDU6TGFiZWwzNzk2ODAzMzM=","url":"https://api.github.com/repos/ansible/ansible/labels/aws","name":"aws","color":"c5def5","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":942378949,"node_id":"MDU6TGFiZWw5NDIzNzg5NDk=","url":"https://api.github.com/repos/ansible/ansible/labels/traceback","name":"traceback","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"ryansb","id":636610,"node_id":"MDQ6VXNlcjYzNjYxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/636610?v=4","gravatar_id":"","url":"https://api.github.com/users/ryansb","html_url":"https://github.com/ryansb","followers_url":"https://api.github.com/users/ryansb/followers","following_url":"https://api.github.com/users/ryansb/following{/other_user}","gists_url":"https://api.github.com/users/ryansb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryansb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryansb/subscriptions","organizations_url":"https://api.github.com/users/ryansb/orgs","repos_url":"https://api.github.com/users/ryansb/repos","events_url":"https://api.github.com/users/ryansb/events{/privacy}","received_events_url":"https://api.github.com/users/ryansb/received_events","type":"User","site_admin":false},"assignees":[{"login":"ryansb","id":636610,"node_id":"MDQ6VXNlcjYzNjYxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/636610?v=4","gravatar_id":"","url":"https://api.github.com/users/ryansb","html_url":"https://github.com/ryansb","followers_url":"https://api.github.com/users/ryansb/followers","following_url":"https://api.github.com/users/ryansb/following{/other_user}","gists_url":"https://api.github.com/users/ryansb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryansb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryansb/subscriptions","organizations_url":"https://api.github.com/users/ryansb/orgs","repos_url":"https://api.github.com/users/ryansb/repos","events_url":"https://api.github.com/users/ryansb/events{/privacy}","received_events_url":"https://api.github.com/users/ryansb/received_events","type":"User","site_admin":false},{"login":"s-hertel","id":19572925,"node_id":"MDQ6VXNlcjE5NTcyOTI1","avatar_url":"https://avatars2.githubusercontent.com/u/19572925?v=4","gravatar_id":"","url":"https://api.github.com/users/s-hertel","html_url":"https://github.com/s-hertel","followers_url":"https://api.github.com/users/s-hertel/followers","following_url":"https://api.github.com/users/s-hertel/following{/other_user}","gists_url":"https://api.github.com/users/s-hertel/gists{/gist_id}","starred_url":"https://api.github.com/users/s-hertel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-hertel/subscriptions","organizations_url":"https://api.github.com/users/s-hertel/orgs","repos_url":"https://api.github.com/users/s-hertel/repos","events_url":"https://api.github.com/users/s-hertel/events{/privacy}","received_events_url":"https://api.github.com/users/s-hertel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-04-04T19:17:50Z","updated_at":"2018-07-09T22:56:40Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release, and devel branch are affected too.\r\nAlways add information AFTER of these html comments.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!---\r\nInsert below this comment the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path\r\n-->\r\nelb_target_group\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.5.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/home/ibaldo/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/lib/python2.7/dist-packages/ansible\r\n  executable location = /usr/bin/ansible\r\n  python version = 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nIf using Ansible 2.4 or above, paste the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\nANSIBLE_PIPELINING(/etc/ansible/ansible.cfg) = True\r\nANSIBLE_SSH_ARGS(/etc/ansible/ansible.cfg) = -C -o ControlMaster=auto -o ControlPersist=7200s\r\nCOMMAND_WARNINGS(/etc/ansible/ansible.cfg) = True\r\nDEFAULT_FORKS(/etc/ansible/ansible.cfg) = 50\r\nDEFAULT_SQUASH_ACTIONS(/etc/ansible/ansible.cfg) = ['apk', 'apt', 'dnf', 'homebrew', 'pacman', 'pkgng', 'yum', 'zypper']\r\nDEFAULT_TIMEOUT(/etc/ansible/ansible.cfg) = 30\r\nERROR_ON_MISSING_HANDLER(/etc/ansible/ansible.cfg) = True\r\nPERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 7200\r\nRETRY_FILES_ENABLED(/etc/ansible/ansible.cfg) = False\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\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.\r\n-->\r\nUbuntu 16.04.4 LTS\r\npython-boto 2.38.0-1ubuntu1\r\npython-boto3 1.2.2-2\r\npython-botocore 1.4.70-1~16.04.0\r\npython3-boto3 1.2.2-2\r\npython3-botocore 1.4.70-1~16.04.0\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nCannot create target group, worked fine with Ansible 2.4.\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used.\r\n-->\r\nTry to create a target group with Ansible 2.5 in Ubuntu 16.04.\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n    - name: Target Group Web\r\n      elb_target_group:\r\n        name: devwebtg\r\n        state: present\r\n        tags: {Name: devwebtg}\r\n        deregistration_delay_timeout: 60\r\n        health_check_interval: 30\r\n        health_check_path: /myhealthcheck\r\n        health_check_port: 80\r\n        health_check_protocol: http\r\n        health_check_timeout: 20\r\n        healthy_threshold_count: 2\r\n        unhealthy_threshold_count: 3\r\n        successful_response_codes: 200\r\n        port: 80\r\n        protocol: http\r\n        stickiness_enabled: no\r\n        modify_targets: false\r\n        region: \"{{devregion}}\"\r\n        vpc_id: \"{{devvpcid}}\"\r\n        wait: yes\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\nTarget group created.\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\nTASK [Target Group Web] *************************************************************************************************************************\r\ntask path: /home/ibaldo/test.yml:241\r\nUsing module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/amazon/elb_target_group.py\r\n<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ibaldo\r\n<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'\r\nThe full traceback is:\r\nTraceback (most recent call last):\r\n  File \"/tmp/ansible_0o9Hdd/ansible_module_elb_target_group.py\", line 717, in <module>\r\n    main()\r\n  File \"/tmp/ansible_0o9Hdd/ansible_module_elb_target_group.py\", line 712, in main\r\n    create_or_update_target_group(connection, module)\r\n  File \"/tmp/ansible_0o9Hdd/ansible_module_elb_target_group.py\", line 561, in create_or_update_target_group\r\n    connection.create_target_group(**params)\r\n  File \"/usr/lib/python2.7/dist-packages/botocore/client.py\", line 251, in _api_call\r\n    return self._make_api_call(operation_name, kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/botocore/client.py\", line 513, in _make_api_call\r\n    api_params, operation_model, context=request_context)\r\n  File \"/usr/lib/python2.7/dist-packages/botocore/client.py\", line 566, in _convert_to_request_dict\r\n    api_params, operation_model)\r\n  File \"/usr/lib/python2.7/dist-packages/botocore/validate.py\", line 270, in serialize_to_request\r\n    raise ParamValidationError(report=report.generate_report())\r\nbotocore.exceptions.ParamValidationError: Parameter validation failed:\r\nUnknown parameter in input: \"TargetType\", must be one of: Name, Protocol, Port, VpcId, HealthCheckProtocol, HealthCheckPort, HealthCheckPath, HealthCheckIntervalSeconds, HealthCheckTimeoutSeconds, HealthyThresholdCount, UnhealthyThresholdCount, Matcher\r\n\r\nfatal: [localhost]: FAILED! => {\r\n    \"changed\": false, \r\n    \"module_stderr\": \"Traceback (most recent call last):\\n  File \\\"/tmp/ansible_0o9Hdd/ansible_module_elb_target_group.py\\\", line 717, in <module>\\n    main()\\n  File \\\"/tmp/ansible_0o9Hdd/ansible_module_elb_target_group.py\\\", line 712, in main\\n    create_or_update_target_group(connection, module)\\n  File \\\"/tmp/ansible_0o9Hdd/ansible_module_elb_target_group.py\\\", line 561, in create_or_update_target_group\\n    connection.create_target_group(**params)\\n  File \\\"/usr/lib/python2.7/dist-packages/botocore/client.py\\\", line 251, in _api_call\\n    return self._make_api_call(operation_name, kwargs)\\n  File \\\"/usr/lib/python2.7/dist-packages/botocore/client.py\\\", line 513, in _make_api_call\\n    api_params, operation_model, context=request_context)\\n  File \\\"/usr/lib/python2.7/dist-packages/botocore/client.py\\\", line 566, in _convert_to_request_dict\\n    api_params, operation_model)\\n  File \\\"/usr/lib/python2.7/dist-packages/botocore/validate.py\\\", line 270, in serialize_to_request\\n    raise ParamValidationError(report=report.generate_report())\\nbotocore.exceptions.ParamValidationError: Parameter validation failed:\\nUnknown parameter in input: \\\"TargetType\\\", must be one of: Name, Protocol, Port, VpcId, HealthCheckProtocol, HealthCheckPort, HealthCheckPath, HealthCheckIntervalSeconds, HealthCheckTimeoutSeconds, HealthyThresholdCount, UnhealthyThresholdCount, Matcher\\n\", \r\n    \"module_stdout\": \"\", \r\n    \"msg\": \"MODULE FAILURE\", \r\n    \"rc\": 1\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/403645521","html_url":"https://github.com/ansible/ansible/issues/38299#issuecomment-403645521","issue_url":"https://api.github.com/repos/ansible/ansible/issues/38299","id":403645521,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzY0NTUyMQ==","user":{"login":"willthames","id":391807,"node_id":"MDQ6VXNlcjM5MTgwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/391807?v=4","gravatar_id":"","url":"https://api.github.com/users/willthames","html_url":"https://github.com/willthames","followers_url":"https://api.github.com/users/willthames/followers","following_url":"https://api.github.com/users/willthames/following{/other_user}","gists_url":"https://api.github.com/users/willthames/gists{/gist_id}","starred_url":"https://api.github.com/users/willthames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willthames/subscriptions","organizations_url":"https://api.github.com/users/willthames/orgs","repos_url":"https://api.github.com/users/willthames/repos","events_url":"https://api.github.com/users/willthames/events{/privacy}","received_events_url":"https://api.github.com/users/willthames/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T22:56:40Z","updated_at":"2018-07-09T22:56:40Z","author_association":"CONTRIBUTOR","body":"@ivanbaldo still happening with which version of ansible?"}}
{"actor":{"display_login":"willthames"}}