redhat-cop / osia

Tool for reliable automated deployments of OpenShift Container Platform 4.x into OpenStack and AWS.
https://osia-python.rtfd.io
Apache License 2.0
12 stars 12 forks source link

Fix uncaught exception thrown by boto3 (fixes #16) #28

Closed mijaros closed 3 years ago

mijaros commented 3 years ago

While destroying clusters it might happen, that the DNS records are already removed from route53. This shouldn't prevent the osia from continuing in cluster deletion. In order to fix this, it is necessary to catch the exception thrown by boto3. It poses a bit of danger in case of cluster installation, but the message and the error is properly logged, so user should be informed that something bad happended with the DNS records.