-
Notifications
You must be signed in to change notification settings - Fork 342
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
Fix AttributeError when running ec2_metadata_facts #1138
Merged
softwarefactory-project-zuul
merged 1 commit into
ansible-collections:main
from
tremble:issues/1134
Oct 8, 2022
Merged
Fix AttributeError when running ec2_metadata_facts #1138
softwarefactory-project-zuul
merged 1 commit into
ansible-collections:main
from
tremble:issues/1134
Oct 8, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
ansibullbot
added
bug
This issue/PR relates to a bug
community_review
has_issue
module
module
needs_triage
owner_pr
PR created by owner/maintainer
plugins
plugin (any type)
small_patch
Hopefully easy to review
labels
Oct 7, 2022
recheck |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #1141 🤖 @patchback |
patchback bot
pushed a commit
that referenced
this pull request
Oct 10, 2022
Fix AttributeError when running ec2_metadata_facts SUMMARY Prior to 5.0.0 we caught "Exception" within fetch, this was limited to json.JSONDecodeError, however it looks like we also needed to catch AttributeError for non-dict JSON ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_metadata_facts ADDITIONAL INFORMATION fixes: #1134 (cherry picked from commit c269898)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this pull request
Oct 10, 2022
[PR #1138/c269898a backport][stable-5] Fix AttributeError when running ec2_metadata_facts This is a backport of PR #1138 as merged into main (c269898). SUMMARY Prior to 5.0.0 we caught "Exception" within fetch, this was limited to json.JSONDecodeError, however it looks like we also needed to catch AttributeError for non-dict JSON ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_metadata_facts ADDITIONAL INFORMATION fixes: #1134 Reviewed-by: Mark Chappell <None>
softwarefactory-project-zuul bot
pushed a commit
that referenced
this pull request
Oct 10, 2022
Enable ec2_metadata integration tests SUMMARY Enable ec2_metadata_facts integration tests ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_metadata_facts ADDITIONAL INFORMATION As shown by #1138 we should try to ensure that the integration tests are enabled Reviewed-by: Alina Buzachis <None>
patchback bot
pushed a commit
that referenced
this pull request
Oct 10, 2022
Enable ec2_metadata integration tests SUMMARY Enable ec2_metadata_facts integration tests ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_metadata_facts ADDITIONAL INFORMATION As shown by #1138 we should try to ensure that the integration tests are enabled Reviewed-by: Alina Buzachis <None> (cherry picked from commit 7b0d964)
tremble
pushed a commit
that referenced
this pull request
Oct 11, 2022
Enable ec2_metadata integration tests SUMMARY Enable ec2_metadata_facts integration tests ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_metadata_facts ADDITIONAL INFORMATION As shown by #1138 we should try to ensure that the integration tests are enabled Reviewed-by: Alina Buzachis <None> (cherry picked from commit 7b0d964) Co-authored-by: Mark Chappell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-5
PR should be backported to the stable-5 branch
bug
This issue/PR relates to a bug
community_review
has_issue
mergeit
Merge the PR (SoftwareFactory)
module
module
needs_triage
owner_pr
PR created by owner/maintainer
plugins
plugin (any type)
small_patch
Hopefully easy to review
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Prior to 5.0.0 we caught "Exception" within fetch, this was limited to json.JSONDecodeError, however it looks like we also needed to catch AttributeError for non-dict JSON
ISSUE TYPE
COMPONENT NAME
ec2_metadata_facts
ADDITIONAL INFORMATION
fixes: #1134