Open jorotenev opened 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Thank you for updating this issue. It is no longer marked as stale.
hi :)
Description of Issue
The root cause of the issue is with the boto library https://github.com/boto/boto/issues/3613 It happens if Autoscaling groups in the AWS account have Target Groups attached to an ASG. The boto's xml parsing fails as the Target Group is not an expected attribute (happens here). I debugged a request to get_all_groups and saw that the XML returned by the raw AWS HTTP API returns correct data but the dict returned by the get_all_groups is malformed - full of None values and invalid structure altogether.
The invalid structure of the dict returned by boto to salt's boto_asg leads to the exception shown below. Since boto seems to be pretty much abandoned a possible solution would be to remove dependencies from boto_asg module to boto.
Setup
Steps to Reproduce Issue
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)