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

[ARO-9582] Increase storage suffix length #4019

Merged
merged 1 commit into from
Jan 6, 2025
Merged

[ARO-9582] Increase storage suffix length #4019

merged 1 commit into from
Jan 6, 2025

Conversation

bitoku
Copy link
Collaborator

@bitoku bitoku commented Dec 17, 2024

Increased the length of the storage suffix generated from 5 to 10 characters for improved uniqueness.

Which issue this PR addresses:

https://issues.redhat.com/browse/ARO-9582

What this PR does / why we need it:

We sometimes see CIF with the error "StorageAccountAlreadyTaken".
According to the document https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview storage account is unique within Azure, and our random storage account suffix is now 31^5 kinds.
Considering the number of clusters, it's too small.

This PR increases the length of suffix to 10 and lower the probability of collision.

Test plan for issue:

e2e

Is there any documentation that needs to be updated for this PR?

N/A

How do you know this will function as expected in production?

cluster creation

@bitoku bitoku changed the title [ARO-9582] Modify storage suffix length [ARO-9582] Increase storage suffix length Dec 17, 2024
@hlipsig
Copy link
Contributor

hlipsig commented Dec 20, 2024

/azp run ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Increased the length of the storage suffix generated from 5 to 10 characters for improved uniqueness.
@kimorris27 kimorris27 merged commit 00b9c6f into master Jan 6, 2025
22 checks passed
@kimorris27 kimorris27 deleted the ARO-9582 branch January 6, 2025 13:52
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