Bug 839961 - Multiple VM jobs can use the same base image when KVM is used
Multiple VM jobs can use the same base image when KVM is used
Status: CLOSED WONTFIX
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-vm-gahp (Show other bugs)
2.1.2
All Linux
low Severity low
: ---
: ---
Assigned To: grid-maint-list
MRG Quality Engineering
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-13 06:01 EDT by Luigi Toscano
Modified: 2016-05-26 16:22 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-26 16:22:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Luigi Toscano 2012-07-13 06:01:03 EDT
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 16:22:40 EDT
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.