-
Notifications
You must be signed in to change notification settings - Fork 660
Closed
Labels
area/backing-imageBacking image relatedBacking image relatedbackport/1.7.4Require to backport to 1.7.4 release branchRequire to backport to 1.7.4 release branchbackport/1.8.2Require to backport to 1.8.2 release branchRequire to backport to 1.8.2 release branchkind/bugpriority/1Highly recommended to implement or fix in this release (managed by PO)Highly recommended to implement or fix in this release (managed by PO)reproduce/rare< 50% reproducible< 50% reproduciblerequire/auto-e2e-testRequire adding/updating auto e2e test cases if they can be automatedRequire adding/updating auto e2e test cases if they can be automatedrequire/backportRequire backport. Only used when the specific versions to backport have not been definied.Require backport. Only used when the specific versions to backport have not been definied.severity/3Function working but has a major or UI issue w/ workaroundFunction working but has a major or UI issue w/ workaround
Milestone
Description
Describe the Bug
The name of the backing image manager will be backing-image-manager-<first-4-characters-of-backing-image-checksum>-<first-4-characters-of-disk-uuid>
: link code
This could cause naming collision for example when both of the backing image manager are having:
- Same
first-4-characters-of-backing-image-checksum
isSHA-512("longhornio/backing-image-manager:v1.7.2")
which is5ae6
- And same
<first-4-characters-of-disk-uuid>
isc4d3
. Even though the full disk UUIDs are different
As the consequence, the 2nd backing image manager can never be created so replica using that backing image can never be started
To Reproduce
Very rare. the chance of naming collision would be 1/36^4 which is around 0.00006%
Difficult to reproduce
Expected Behavior
Do not have naming collision
Support Bundle for Troubleshooting
NA
Environment
- Longhorn version: v1.7.2
Additional context
No response
Workaround and Mitigation
No response
Metadata
Metadata
Labels
area/backing-imageBacking image relatedBacking image relatedbackport/1.7.4Require to backport to 1.7.4 release branchRequire to backport to 1.7.4 release branchbackport/1.8.2Require to backport to 1.8.2 release branchRequire to backport to 1.8.2 release branchkind/bugpriority/1Highly recommended to implement or fix in this release (managed by PO)Highly recommended to implement or fix in this release (managed by PO)reproduce/rare< 50% reproducible< 50% reproduciblerequire/auto-e2e-testRequire adding/updating auto e2e test cases if they can be automatedRequire adding/updating auto e2e test cases if they can be automatedrequire/backportRequire backport. Only used when the specific versions to backport have not been definied.Require backport. Only used when the specific versions to backport have not been definied.severity/3Function working but has a major or UI issue w/ workaroundFunction working but has a major or UI issue w/ workaround
Type
Projects
Status
Closed