-
Notifications
You must be signed in to change notification settings - Fork 343
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 passes null iops to boto when changing type w/ existing iops value #605
Comments
lowlydba
changed the title
ec2_vol passes null iops when changing io1 to io2
ec2_vol passes null iops to boto when changing type w/ existing iops value
Jan 8, 2022
This was referenced Jan 8, 2022
ansible-zuul bot
pushed a commit
that referenced
this issue
Jan 12, 2022
ec2_vol: set iops even if unchanged for boto req SUMMARY Set the iops value in req_obj even if the target iops is the same as the existing. This is a required parameter for boto's modify_volume. Fixes #605 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_vol Reviewed-by: None <None> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None>
patchback bot
pushed a commit
that referenced
this issue
Jan 12, 2022
ec2_vol: set iops even if unchanged for boto req SUMMARY Set the iops value in req_obj even if the target iops is the same as the existing. This is a required parameter for boto's modify_volume. Fixes #605 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_vol Reviewed-by: None <None> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None> (cherry picked from commit 038c047)
patchback bot
pushed a commit
that referenced
this issue
Jan 14, 2022
ec2_vol: set iops even if unchanged for boto req SUMMARY Set the iops value in req_obj even if the target iops is the same as the existing. This is a required parameter for boto's modify_volume. Fixes #605 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_vol Reviewed-by: None <None> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None> (cherry picked from commit 038c047)
ansible-zuul bot
pushed a commit
that referenced
this issue
Jan 14, 2022
[PR #606/038c0474 backport][stable-2] ec2_vol: set iops even if unchanged for boto req This is a backport of PR #606 as merged into main (038c047). SUMMARY Set the iops value in req_obj even if the target iops is the same as the existing. This is a required parameter for boto's modify_volume. Fixes #605 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_vol Reviewed-by: Jill R <None> Reviewed-by: None <None>
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Apr 12, 2022
…hanged for boto req (#614) [PR #606/038c0474 backport][stable-1.5] ec2_vol: set iops even if unchanged for boto req Depends-On: #753 This is a backport of PR #606 as merged into main (038c047). SUMMARY Set the iops value in req_obj even if the target iops is the same as the existing. This is a required parameter for boto's modify_volume. Fixes #605 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_vol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When attempting to modify an existing io1 volume to io2 and supplying the existing iops value, the iops in req_obj is never set and boto rejects it due to the missing required parameter.
amazon.aws/plugins/modules/ec2_vol.py
Lines 382 to 386 in 7bdad10
The following fixes it:
I'd like to open a PR with this change to both main and stable-1.5.
Issue Type
Bug Report
Component Name
ec2_vol
Ansible Version
ansible [core 2.11.6]
Collection Versions
AWS SDK versions
Configuration
No response
OS / Environment
MacOSX
Steps to Reproduce
Expected Results
I expect the existing io1 volume to change to io2, but it errors out with the below.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: