You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update an AWS RDS Instance without setting any storage parameters, results in a TypeError Exception.
"Traceback (most recent call last):\n File "/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py", line 107, in \n _ansiballz_main()\n File "/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.amazon.aws.plugins.modules.rds_instance', init_globals=dict(_module_fqn='ansible_collections.amazon.aws.plugins.modules.rds_instance', _modlib_path=modlib_path),\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 1476, in \n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 1433, in main\n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 977, in get_parameters\n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 1037, in get_options_with_changing_values\nTypeError: '>=' not supported between instances of 'NoneType' and 'int'\n",
AWS RDS Instance tag parking_exempt exists with the value "false"
Actual Results
{
"module_stdout": "",
"module_stderr": "Traceback (most recent call last):\n File \"/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py\", line 107, in <module>\n _ansiballz_main()\n File \"/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.amazon.aws.plugins.modules.rds_instance', init_globals=dict(_module_fqn='ansible_collections.amazon.aws.plugins.modules.rds_instance', _modlib_path=modlib_path),\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 1476, in <module>\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 1433, in main\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 977, in get_parameters\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 1037, in get_options_with_changing_values\nTypeError: '>=' not supported between instances of 'NoneType' and 'int'\n",
"exception": "Traceback (most recent call last):\n File \"/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py\", line 107, in <module>\n _ansiballz_main()\n File \"/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.amazon.aws.plugins.modules.rds_instance', init_globals=dict(_module_fqn='ansible_collections.amazon.aws.plugins.modules.rds_instance', _modlib_path=modlib_path),\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 1476, in <module>\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 1433, in main\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 977, in get_parameters\n File \"/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py\", line 1037, in get_options_with_changing_values\nTypeError: '>=' not supported between instances of 'NoneType' and 'int'\n",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1,
"_ansible_no_log": null,
"changed": false,
"_ansible_delegated_vars": {
"ansible_host": "localhost",
"ansible_port": null,
"ansible_user": "root",
"ansible_connection": "local"
}
}
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
amazon.aws 5.4.0 has just been released and is believed to fix this issue.
Please beware: the the output of ansible-galaxy list indicates that there are multiple copies of the collection installed. Under certain circumstances it's possible for the old version to be used by default.
Summary
When trying to update an AWS RDS Instance without setting any storage parameters, results in a TypeError Exception.
"Traceback (most recent call last):\n File "/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py", line 107, in \n _ansiballz_main()\n File "/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/runner/.ansible/tmp/ansible-tmp-1679518518.4951844-70-202176230274494/AnsiballZ_rds_instance.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.amazon.aws.plugins.modules.rds_instance', init_globals=dict(_module_fqn='ansible_collections.amazon.aws.plugins.modules.rds_instance', _modlib_path=modlib_path),\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 1476, in \n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 1433, in main\n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 977, in get_parameters\n File "/tmp/ansible_amazon.aws.rds_instance_payload_u6xcndjt/ansible_amazon.aws.rds_instance_payload.zip/ansible_collections/amazon/aws/plugins/modules/rds_instance.py", line 1037, in get_options_with_changing_values\nTypeError: '>=' not supported between instances of 'NoneType' and 'int'\n",
Issue Type
Bug Report
Component Name
rds_instance
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
No response
Steps to Reproduce
Expected Results
AWS RDS Instance tag parking_exempt exists with the value "false"
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: