-
Notifications
You must be signed in to change notification settings - Fork 341
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
Exception in ec2_vol when ec2 instance doesn't supply 'platform' #305
Labels
Comments
Files identified in the description: If these files are inaccurate, please update the |
ansibullbot
added
bug
This issue/PR relates to a bug
needs_triage
python3
traceback
labels
Mar 14, 2021
!component ec2_vol |
I can confirm that #306 fixes the issue when I apply it locally. Thank you for your prompt response. |
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this issue
Sep 18, 2023
…ctions#305) * Added Tier as option * * added better description * added changelong Co-authored-by: Markus Bergholz <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this issue
Sep 18, 2023
…ctions#305) * Added Tier as option * * added better description * added changelong Co-authored-by: Markus Bergholz <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this issue
Oct 24, 2023
…ctions#305) * Added Tier as option * * added better description * added changelong Co-authored-by: Markus Bergholz <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
I'm seeing an exception when using
amazon.aws.ec2_vol
to attach an existing EBS volume to a running Debian 10 EC2 instance.At line 753 of
ec2_vol.py
, the code is expecting theinst
object to contain a key calledplatform
, which it's not finding. I dumped the value ofinst
and confirmed that theplatform
key was absent.I noticed a workaround was to set the
device_name
manually in the playbook, e.g.,ISSUE TYPE
COMPONENT NAME
amazon.aws.ec2_vol
ANSIBLE VERSION
CONFIGURATION
(empty)
OS / ENVIRONMENT
Host is Fedora 33 x86_64 with kernel 5.10.22-200 running on a 2011 MacBook Pro
The version of this galaxy collection I'm using is 1.4.1. I also tried with the HEAD of
develop
branch today and saw the same result.boto
details,boto3
details,STEPS TO REPRODUCE
Inventory file,
Playbook,
AWS_ACCESS_KEY
andAWS_SECRET_KEY
are set as environment variables.EXPECTED RESULTS
Should see,
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: