[21.05] restore-single-files: reduce chance of UUID collision #1083
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@flyingcircusio/release-managers
Release process
Impact:
none
Changelog:
Our restore-single-file utility now handles situations better where multiple disks happen to have the same filesystem UUID, which can happen in image or cloning cases. (PL-132849)
To avoid the issue of duplicate filesystem UUIDs (as is happening when VMs are or have been bootstrapped from the same base image) we now regenerate the XFS UUID upon every cold boot. (PL-132849)
Full KVM host migrations use shorter lock retry intervals to reduce long tail finishing times. The maximum delay has been reduced from 80 seconds to 20 seconds. The average delay is expected to be around 10 seconds.
PR release workflow (internal)
Design notes
on
oroff
. Example: rate limiting.Security implications
This affects restore reliability and improves our capacity of restoring backups without encountering roadblocks.
restore script: manually tested
fc.qemu integration: covered with automated tests and manually tested