{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/37924","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/37924/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/37924/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/37924/events","html_url":"https://github.com/ansible/ansible/issues/37924","id":308549999,"number":37924,"title":"Ansible 2.5.0 - create encrypted efs share fails","user":{"login":"ReinerNippes","id":15212916,"avatar_url":"https://avatars0.githubusercontent.com/u/15212916?v=4","gravatar_id":"","url":"https://api.github.com/users/ReinerNippes","html_url":"https://github.com/ReinerNippes","followers_url":"https://api.github.com/users/ReinerNippes/followers","following_url":"https://api.github.com/users/ReinerNippes/following{/other_user}","gists_url":"https://api.github.com/users/ReinerNippes/gists{/gist_id}","starred_url":"https://api.github.com/users/ReinerNippes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReinerNippes/subscriptions","organizations_url":"https://api.github.com/users/ReinerNippes/orgs","repos_url":"https://api.github.com/users/ReinerNippes/repos","events_url":"https://api.github.com/users/ReinerNippes/events{/privacy}","received_events_url":"https://api.github.com/users/ReinerNippes/received_events","type":"User","site_admin":false},"labels":[{"id":686214011,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","color":"ededed","default":false},{"id":379680333,"url":"https://api.github.com/repos/ansible/ansible/labels/aws","name":"aws","color":"c5def5","default":false},{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":420038402,"url":"https://api.github.com/repos/ansible/ansible/labels/performance","name":"performance","color":"555555","default":false},{"id":669975544,"url":"https://api.github.com/repos/ansible/ansible/labels/support:certified","name":"support:certified","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-26T12:24:45Z","updated_at":"2018-03-28T01:34:48Z","closed_at":"2018-03-27T10:58:10Z","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\nefs module\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 = /home/centos/sap4cloud/ansible.cfg\r\n  configured module search path = [u'/home/centos/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/lib/python2.7/site-packages/ansible\r\n  executable location = /usr/bin/ansible\r\n  python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]\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\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\nCentOS7\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nTry to create a crypted efs share fails.\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\nUse the module \"efs\" \r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n  - name: create (if needed) efs\r\n    efs:\r\n      name: \"{{ item.key }}\"\r\n      state: \"{{ item.value.state }}\"\r\n      tags: \"{{ item.value.tags }}\"\r\n      encrypt: true\r\n      kms_key_id: arn:aws:kms:eu-central-1:<account-id>:key/<cmk key id>\r\n      region: \"{{ region }}\"\r\n      targets:\r\n        - subnet_id: \"{{ subnet_ids[0] }}\"\r\n          security_groups: \"{{ item.value.security_groups }}\"\r\n        - subnet_id: \"{{ subnet_ids[1] }}\"\r\n          security_groups: \"{{ item.value.security_groups }}\"\r\n    with_dict: \"{{ efs_list }}\"\r\n    register: efs\r\n\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\nA crypted efs share.\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\nThe task fails.\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n    \"exception\": \"Traceback (most recent call last):\r\n  File \\\"/tmp/ansible_N2H1Cs/ansible_module_efs.py\\\", line 379, in create_file_system\r\n    self.connection.create_file_system(**params)\r\n  File \\\"/usr/lib/python2.7/site-packages/botocore/client.py\\\", line 312, in _api_call\r\n    return self._make_api_call(operation_name, kwargs)\r\n  File \\\"/usr/lib/python2.7/site-packages/botocore/client.py\\\", line 575, in _make_api_call\r\n    api_params, operation_model, context=request_context)\r\n  File \\\"/usr/lib/python2.7/site-packages/botocore/client.py\\\", line 630, in _convert_to_request_dict\r\n    api_params, operation_model)\r\n  File \\\"/usr/lib/python2.7/site-packages/botocore/validate.py\\\", line 291, in serialize_to_request\r\n    raise ParamValidationError(report=report.generate_report())\r\nParamValidationError: Parameter validation failed:\r\nUnknown parameter in input: \\\"Encrypted\\\", must be one of: CreationToken, PerformanceMode\r\nUnknown parameter in input: \\\"KmsKeyId\\\", must be one of: CreationToken, PerformanceMode\r\n\", \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/376730445","html_url":"https://github.com/ansible/ansible/issues/37924#issuecomment-376730445","issue_url":"https://api.github.com/repos/ansible/ansible/issues/37924","id":376730445,"user":{"login":"willthames","id":391807,"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-03-28T01:34:48Z","updated_at":"2018-03-28T01:34:48Z","author_association":"CONTRIBUTOR","body":"@ReinerNippes I don't know how much we want to enforce the update of botocore - old versions typically work pretty well, until you want to use a newish feature. But it's worth thinking about."}}
{"actor":{"display_login":"willthames"}}