Bug 671451 - condor supports only "raw" VM images for VM jobs with newer libvirt
Summary: condor supports only "raw" VM images for VM jobs with newer libvirt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-vm-gahp
Version: 1.3
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: 2.0
: ---
Assignee: Timothy St. Clair
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks: 693778
TreeView+ depends on / blocked
 
Reported: 2011-01-21 15:06 UTC by Luigi Toscano
Modified: 2011-06-23 15:37 UTC (History)
3 users (show)

Fixed In Version: condor-7.6.0-0.2
Doc Type: Bug Fix
Doc Text:
C: Submit a non-raw image which is supported by libvirt C: Can not startup image F: Add submission support for optional :image_format at the end of vm_disk R: Allows users to submit multiple formats which are supported by kvm
Clone Of:
Environment:
Last Closed: 2011-06-23 15:37:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0889 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Grid 2.0 Release 2011-06-23 15:35:53 UTC

Description Luigi Toscano 2011-01-21 15:06:53 UTC
Description of problem:
Recent version of libvirt disabled detection of image type (see RHBZ444583). When no image format is specified, raw format is used. 
Condor used to rely on image autodetection, and it does not allow to specify the format; at this point, only raw images work.

It should be possible to specify the format of disk image(s).

Version-Release number of selected component (if applicable):
RHEL 5.6 (libvirt-0.8.2-15.el5_6.1)
condor-7.4.4-0.17.el5 (and later)

How reproducible:
Submit a job which uses a qcow (or !=raw) image.

Comment 1 Timothy St. Clair 2011-03-11 14:53:35 UTC
Resolution is to append a format to the end.  

VM_DISK=<file>:<drive>:<mode>:<format>

Comment 3 Timothy St. Clair 2011-05-04 16:18:18 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: Submit a non-raw image which is supported by libvirt
C: Can not startup image 
F: Add submission support for optional :image_format at the end of vm_disk 
R: Allows users to submit multiple formats which are supported by kvm

Comment 4 Luigi Toscano 2011-05-17 16:34:05 UTC
The 4th parameter for VM_DISK is now considered. At this time, the only supported format (apart from raw) is qcow2 for KVM systems.

Verified on RHEL5.6/6.1 KVM x86_64.
condor-7.6.1-0.4
condor-vm-gahp-7.6.1-0.4

Comment 5 errata-xmlrpc 2011-06-23 15:37:15 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0889.html


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