Red Hat Bugzilla – Bug 802812
Need to split md operations from data ops and separate locking
Last modified: 2016-04-18 02:47:24 EDT
Created attachment 569695 [details]
Description of problem:
currently, when running any command that requires change in metadata we lock the whole domain and not just the metadata.
this means that if I am running a task which takes a long time I will get a lock timeout from vdsm (as described in bug 802806)
can we change the lock from domain to metadata?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. import vm's /templates to your setup
2. try to edit domain's name
after a few minutes we get a resource time out error from vdsm
we should only lock metadata of domain and not whole domain - that way, if we have a long task (such as import of vm with large preallocated disk) changes to metadata of domain can be performed.
Additional info:full logs
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.
note there is work to clean this one up, as part of the larger "remove pool/spm" feature.