Skip to content
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

Mute common error when deleting VPC #404

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Mute common error when deleting VPC #404

merged 2 commits into from
Sep 17, 2024

Conversation

asmorodskyi
Copy link
Collaborator

@asmorodskyi asmorodskyi commented Sep 16, 2024

This PR contains 3 things :

  • remove flow which was sending emails about VMs which running too long
  • Tweak DB Schema with remove of Openstack flow ( was missing in Remove support for Openstack #403 )
  • mute most common error which happens on VPC deletion

@asmorodskyi asmorodskyi merged commit f90080c into master Sep 17, 2024
21 checks passed
@asmorodskyi asmorodskyi deleted the csp_leftovers branch September 17, 2024 08:50
Copy link
Collaborator

@ricardobranco777 ricardobranco777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion. LGTM.

@@ -325,7 +325,12 @@ def vpc_can_be_deleted(self, resource_vpc, vpc_id) -> bool:

def report_cleanup_results(self, vpc_errors: list, vpc_notify: list, vpc_locked: list) -> None:
if len(vpc_errors) > 0:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This if is redundant with the block below.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree with you but unfortunately I pressed merge button just before your comment popup 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants