Bug 1227046
Summary: | lvchange fails to activate thin snap when run quickly after creation | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Fabian Deutsch <fdeutsch> | ||||
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> | ||||
lvm2 sub component: | Thin Provisioning | QA Contact: | cluster-qe <cluster-qe> | ||||
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |||||
Severity: | unspecified | ||||||
Priority: | unspecified | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jbrassow, jonathan, lvm-team, mcsontos, msnitzer, prajnoha, prockai, thornber, zkabelac | ||||
Version: | 7.0 | ||||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | lvm2-2.02.130-1.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-07 12:22:06 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1189117 | ||||||
Attachments: |
|
Description
Fabian Deutsch
2015-06-01 19:38:50 UTC
This is also reproducible on RHEL 7. Created attachment 1037334 [details]
Experimental patch
Adding initial version of patch to fight with ordering of messaging to thin-pool.
It has in fact appeared to be a more complex problem how to deal with error states.
Current proposal moves message sending from 'resume' phase to 'suspend' phase.
Resume always resume thin-pool 'as-is' and only validates transaction_id.
The patch itself does not yet improve of error paths and possible automatic fixing of 'easy-to-fix issues' - will follow later possibly, but with this switched order it will get fairly easier since it will not leave thin-pool suspend when we detect some error in the middle of message creation.
Updated patch is now upstream (lvm 2.02.124) https://www.redhat.com/archives/lvm-devel/2015-July/msg00015.html But it still left couple issue for resolving. Complexity with some pool online renaming for external users got a bit more complicated so still some further patches are needed and are under development and testing. Fixed upstream for a while. Surely a member of 2.02.130. |