dashton90 commented on PR #35839: URL: https://github.com/apache/airflow/pull/35839#issuecomment-1826082872
Huh, it looks like boto [fails the terminate waiter if the instance is in the stopping state](https://github.com/boto/botocore/blob/81c0e57059de3ed7a56bf183e322a83f7a9e80ec/botocore/data/ec2/2014-10-01/waiters-2.json#L230-L235). No idea if that is a bug or the intended behaviour since instances which are stopping should be able to be terminated [per the AWS docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) Easiest fix is probably to add `wait_for_completion=True` to both the Reboot and Hibernate operators. I can do that now -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
