Bug 839961 - Multiple VM jobs can use the same base image when KVM is used
Summary: Multiple VM jobs can use the same base image when KVM is used
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-vm-gahp
Version: 2.1.2
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: grid-maint-list
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-13 10:01 UTC by Luigi Toscano
Modified: 2016-05-26 20:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 20:22:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Luigi Toscano 2012-07-13 10:01:03 UTC
Description of problem:
If multiple VM jobs which specifies the same VM image file are executed, they are executed at the same time. Concurrent access to the same image file from multiple kvm processes is really problematic.
Only recently libvirt provided a solution to lock the VM image, see:
http://fedoraproject.org/wiki/Features/VirtLockManager
http://libvirt.org/locking.html

But this can be solved at vm-gahp level.

Version-Release number of selected component (if applicable):
condor-7.6.5-0.14
condor-vm-gahp-7.6.5-0.14

Reproduced with RHEL6/x86_64 KVM. Please note that, when  Xen is used (RHEL5 only), the hypervisor itself recognize that the image is already in use and returns an error, so that the job is moved to Hold state.

Comment 2 Anne-Louise Tangring 2016-05-26 20:22:40 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.


Note You need to log in before you can comment on or make changes to this bug.