Closed gygitlab closed 1 year ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
community.aws 3.6.0
Does this also happen when you're using the latest community.aws 5.1.0
version?
What linux distribution is the target host?
I wonder if this is related to https://github.com/ansible-collections/community.aws/pull/1597 and https://github.com/ansible-collections/community.aws/pull/948
yeah, maybe one of those mentioned above might fix it. Or a combination of both, as mentioned here: https://github.com/ansible-collections/community.aws/pull/948#pullrequestreview-1187226989
unfortunately, both PR has stallen.
@gygitlab do you have a chance to update your community.aws collection to the latest and patch it like in the PR to see if it fixes your issue?
Oh interesting, I didn't go there as we get the collection as part of the main ansible
package. Surprised to see quite a difference there.
I'll look at trying the latest version soon thanks.
Edit: To add we've seen this on Ubuntu and AL2
Interesting, this looks to work fine with 5.0.0
even without the PR! Thanks for the tip.
Summary
Bit of a headscratcher this one.
Basically when we run the
community.general.filesystem
module to create anext4
filesystem for an EBS mount it always seems to fail as follows:Thing is this works absolutely fine when connecting over SSH and when I run the command directly when manually signed into the box with
aws ssm
. Can only assume that there's some weird quirk happening, maybe trying to run the command twice? Any help would be greatly appreciated.Issue Type
Bug Report
Component Name
community.aws.aws_ssm
,community.general.filesystem
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Host - Mac OS 13 Target - Amazon Linux 2
Steps to Reproduce
Try running the following module over AWS SSM to create a filesystem on a new disk:
Expected Results
Filesystem gets created without issue
Actual Results
Filesystem fails to create due to "device busy" even though it works fine directly and / or via SSH.
Code of Conduct