Describe the bug
The lifecycle.yml playbook will attempt to shutdown or start all instances that match a guid. We need to avoid trying to start or stop terminated instances.
To Reproduce
Steps to reproduce the behavior, ex:
Install an OpenShift cluster, cluster bootstrap machine will be terminated at the end of install.
Try to stop the cluster with the ocp4-workshop/lifecycle.yml and AWS will report that it cannot stop the terminated instance causing the AgnosticD job to fail.
Expected behavior
No AWS terminated instances will be included in the start/stop logic.
Screenshots / logs
None.
Versions (please complete the following information):
OS - any
AAD version (git log --pretty=oneline -2)
Ansible (ansible --version) - any
cloud provider CLI (aws-cli, azure, ..) - aws-cli
Additional context
So far this is noted in the ocp4-workshop config...could be a bug in others that include a lifecycle play.
Describe the bug The lifecycle.yml playbook will attempt to shutdown or start all instances that match a guid. We need to avoid trying to start or stop terminated instances.
To Reproduce Steps to reproduce the behavior, ex:
Expected behavior No AWS terminated instances will be included in the start/stop logic.
Screenshots / logs None.
Versions (please complete the following information):
git log --pretty=oneline -2
)ansible --version
) - anyAdditional context So far this is noted in the ocp4-workshop config...could be a bug in others that include a lifecycle play.