Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ec2_vol plugin v4.0.0 failed to run using ansible 2.9.6 #911

Closed
1 task done
RoieRMeta opened this issue Jul 3, 2022 · 3 comments
Closed
1 task done

ec2_vol plugin v4.0.0 failed to run using ansible 2.9.6 #911

RoieRMeta opened this issue Jul 3, 2022 · 3 comments
Labels
bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type) python3 traceback

Comments

@RoieRMeta
Copy link

Summary

Jul 03 12:26:20 ip-172-16-8-242 cloud-init[833]: fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "", line 102, in \n File "", line 94, in _ansiballz_main\n File "", line 40, in invoke_module\n File "/usr/lib/python3.8/runpy.py", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib/python3.8/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_amazon.aws.ec2_vol_payload_cb0oq7v2/ansible_amazon.aws.ec2_vol_payload.zip/ansible_collections/amazon/aws/plugins/modules/ec2_vol.py", line 869, in \n File "/tmp/ansible_amazon.aws.ec2_vol_payload_cb0oq7v2/ansible_amazon.aws.ec2_vol_payload.zip/ansible_collections/amazon/aws/plugins/modules/ec2_vol.py", line 743, in main\n File "/tmp/ansible_amazon.aws.ec2_vol_payload_cb0oq7v2/ansible_amazon.aws.ec2_vol_payload.zip/ansible_collections/amazon/aws/plugins/module_utils/modules.py", line 180, in deprecate\nTypeError: deprecate() got an unexpected keyword argument 'collection_name'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Issue Type

Bug Report

Component Name

ec2_vol

Ansible Version

$ ansible --version

2.9.6

Collection Versions

4.0.0

AWS SDK versions

$ pip show boto boto3 botocore

boto3 1.24.21
botocore 1.27.21

Configuration

$ ansible-config dump --only-changed

OS / Environment

Ubuntu 20.04

Steps to Reproduce

Expected Results

Expected module to instantiate successfully

Actual Results

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type) python3 traceback labels Jul 3, 2022
@tremble
Copy link
Contributor

tremble commented Jul 3, 2022

@RoieRMeta

Thanks for taking the time to open this issue.

The specific issue you're hitting is fixed by upgrading to at least Ansible 2.9.10. As such we won't be fixing this issue.

Please also note that upstream support for Ansible 2.9 has been dropped: ansible-community/community-topics#50 (comment).

@tremble tremble closed this as completed Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type) python3 traceback
Projects
None yet
Development

No branches or pull requests

3 participants