-
Notifications
You must be signed in to change notification settings - Fork 590
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
[BUG] Backing image is not deleted and recreated correctly #4256
Comments
@cchien816 Is this a feature bug or a test case bug like that the teardown of the test case needs to modify? |
I think its' feature bug because error message Also backing images created from URL did not hit this issue, thank you |
@shuo-wu Please check if this is a real issue. |
Root cause: A simpler reproducing step:
Workaround:
|
Pre Ready-For-Testing Checklist
|
There is no need to backport this to v1.2.5 since the implementation changes. |
Verified on longhorn-manager master-head
|
Describe the bug
From e2e
In fresh install environment, run
test_exporting_backing_image_from_volume
twice, first 1 will pass, but second run will always fail and getCan't find backing image, may have been deleted" backingImage=bi-test1 controller=longhorn-backing-image node=worker2
in longhorn-manager logAnd the backing image process will stuck as below
Backing image name were fixed in code. if modify the name to new one, test case will pass.
To Reproduce
Steps to reproduce the behavior:
test_exporting_backing_image_from_volume
twiceExpected behavior
Should have consistent result
Log or Support bundle
longhorn-support-bundle_8f0e407a-3c81-4daa-9f55-d4db8aa23fac_2022-07-20T06-55-14Z.zip
Environment
e61fc4
Additional context
#4248
The text was updated successfully, but these errors were encountered: