Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Fix exception handling preventing instance destroy #690

Conversation

cdosborn
Copy link
Contributor

@cdosborn cdosborn commented Oct 2, 2018

Description

When an instance was missing a floating ip, Nova would report "floating IP not found", we attempted to handle that case, by checking if the string matched "floating ip not found". They don't match so the exception would surface.

Rather than performing frail checks, just try and give up.

Checklist before merging Pull Requests

  • Add an entry in the changelog
  • Reviewed and approved by at least one other contributor.

@cdosborn cdosborn self-assigned this Oct 2, 2018
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 38.036% when pulling b054910 on cdosborn:permit-instance-destroy-when-floating-ip-is-missing into 6966093 on cyverse:master.

@coveralls
Copy link

coveralls commented Oct 2, 2018

Coverage Status

Coverage increased (+0.004%) to 38.043% when pulling b054910 on cdosborn:permit-instance-destroy-when-floating-ip-is-missing into 6966093 on cyverse:master.

When an instance was missing a floating ip, Nova would report "floating IP not
found", we attempted to handle that case, by checking if the string matched
"floating ip not found". They don't match so the exception would surface.
Rather than performing frail checks, just try and give up.
@cdosborn cdosborn force-pushed the permit-instance-destroy-when-floating-ip-is-missing branch from b054910 to f1a062d Compare October 5, 2018 23:17
@cdosborn cdosborn merged commit 739c318 into cyverse:master Oct 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants