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

roachprod: azure destroy cluster returns error if no resource group was found #128969

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

DarrylWong
Copy link
Contributor

Fixes: none
Release note: none
Epic: none

@DarrylWong DarrylWong requested a review from a team as a code owner August 14, 2024 14:48
@DarrylWong DarrylWong requested review from srosenberg and renatolabs and removed request for a team August 14, 2024 14:48
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@@ -495,6 +495,10 @@ func (p *Provider) DeleteCluster(l *logger.Logger, name string) error {
}
}

if len(futures) == 0 {
return errors.Newf("DeleteCluster: Found no azure resource groups with tag cluster: %s", name)
Copy link
Member

Choose a reason for hiding this comment

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

How will this error show up in the slack channel? E.g., will it be lots of flashing red signs, so we won't miss it? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can add a **** MANUAL INTERVENTION REQUIRED **** banner here so it's harder to miss. My understanding is that this error would be printed every hour, so there's a good chance we would notice soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Done.

@DarrylWong
Copy link
Contributor Author

TFTRs!

bors r=renatolabs, srosenberg

@craig craig bot merged commit b903b22 into cockroachdb:master Aug 14, 2024
22 of 23 checks passed
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.

4 participants