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
get_all_groups returns invalid objects when any ASG is attached to a target group #3613
Comments
I've also encountered that problem, I'm about to post the merge request with the fix. |
Done: #3616 . I've also added some tests, hopefuly it's going to be merged soon. |
Any chance to get this fixed? |
@shaharmor I've sent that pull request 6w ago and no one picked it, Looking at 344 other unmerged patches, I'm fairly sure it's not going to be done soon, if ever. I honestly recommend switching to boto3, v2 does not seem to be actively maintained. |
I tried to look at the code, but couldn't figure out why it was breaking if startElement function returns None. I am just wondering, isn't the correct fix is to not make it error out when there is a new/unhandled property? Just adding another else condition is going to only handle this particular property I am just curious, Thanks. |
I can imagine, that some people would actually want to make use of that particular field. Anyway, boto3 is the way to go. We've migrated our stuff to it and works like a breeze. |
Faced with this as well while running Ansible ec2_elb module with latest version of boto. Any update on when the fix will be merged? |
I also ran into this issue. Is there a plan to fix it in boto2 ? I see this was filed quite a while ago... |
Any progress on that? |
Just encountered the same issue. This affects the boto_asg module of saltstack |
We recently started using Application Load Balancers, and many legacy Python scripts that still use boto 2.x started failing. Any ASG that's attached to a target group results in a malformed object coming back from the
get_all_groups
function, here is the__dict__
attribute from one such object (note the many missing values such asmin_size
,name
, anddesired_capacity
):It looks like boto has not been updated to handle a non-empty TargetGroupARNs element in the XML response (
boto/boto/ec2/autoscale/group.py
Lines 212 to 265 in 941346c
The text was updated successfully, but these errors were encountered: