Bug 765846
Summary: | Submit VM job - doesn't work | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Stanislav Graf <sgraf> |
Component: | cumin | Assignee: | Chad Roberts <croberts> |
Status: | CLOSED ERRATA | QA Contact: | Stanislav Graf <sgraf> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.1 | CC: | iboverma, ltoscano, matt, mkudlej, tmckay |
Target Milestone: | 2.1.1 | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cumin-0.1.5180-1 | Doc Type: | Bug Fix |
Doc Text: |
Consequence: Submitting a VM job from within cumin was appearing to succeed in cumin, but failing to start the VM.
Cause: The job classad produced by cumin was slightly outdated and still using VMPARAM_Kvm_Disk instead of VMPARAM_vm_Disk.
Fix: Cumin now builds the job classad with VMPARAM_vm_Disk
Result: VM jobs submitted from within cumin are working again.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-06 18:19:05 UTC | Type: | --- |
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: | 765607 |
Description
Stanislav Graf
2011-12-09 14:50:37 UTC
VMPARAM_Kvm_Disk was renamed as VMPARAM_vm_Disk at sometime before 2.0. I think I need some more info to go on here. I have not yet tried anything with a VM job. Is there any special condor setup that I'll need to reproduce this properly? Any chance that anyone has a file that I could run via condor_submit? Where can I find the img file described in /var/lib/libvirt/images/testvm.img? Better yet, what steps would I need to do to create an img of my own? Based on Luigi's comment #1, I think this may wind-up being a small fix, but it seems as though I will have some learning to do to get to the point of fixing it. Thanks (In reply to comment #2) > I think I need some more info to go on here. I have not yet tried anything > with a VM job. Is there any special condor setup that I'll need to reproduce > this properly? Basic configuration for virtualization support as documented here: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Grid_User_Guide/chap-Grid_User_Guide-The_Virtual_Machine_Universe.html > Any chance that anyone has a file that I could run via condor_submit? Something like: -------------------- Universe=vm Log=log.$(cluster) Executable=testvm VM_TYPE=kvm VM_MEMORY=512 VM_DISK=/var/lib/libvirt/images/testvm.job:vda:w Queue -------------------- > Where can I find the img file described in /var/lib/libvirt/images/testvm.img? > Better yet, what steps would I need to do to create an img of my own? Any valid (raw or qcow2) image will work. virt-manager or simply virt-install can help to install a machine. Fixed in revision 5178 on trunk. 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: Consequence: Submitting a VM job from within cumin was appearing to succeed in cumin, but failing to start the VM. Cause: The job classad produced by cumin was slightly outdated and still using VMPARAM_Kvm_Disk instead of VMPARAM_vm_Disk. Fix: Cumin now builds the job classad with VMPARAM_vm_Disk Result: VM jobs submitted from within cumin are working again. I was able to test cumin-0.1.5184-1.el6.noarch condor-vm-gahp-7.6.5-0.11.el6.x86_64 And it was working with submitting KVM guest job from cumin without extra parameters. Need to test on rhel 5/6, i386/x86_64 + XEN+KVM where supported. RHEL5 i386, cumin-0.1.5184-1.el5.noarch KVM job OK notes: I filled only job description and vm image location: /var/lib/libvirt/images/testvm.img XEN job OK notes: job description and vm image location: /var/lib/xen/images/testvm.img Probably I hit Bug 765894 So I needed to add extra params: Requirements = True JobVMType = xen VMPARAM_Xen_Kernel = included VMPARAM_vm_Disk = /var/lib/xen/images/testvm.img:xvda:w RHEL5 x86_64, cumin-0.1.5184-1.el5.noarch RHEL6 i386, cumin-0.1.5184-1.el6.noarch RHEL6 x86_64, cumin-0.1.5184-1.el6.noarch KVM job OK notes: I filled only job description and vm image location: /var/lib/libvirt/images/testvm.img XEN job OK notes: job description and vm image location: /var/lib/xen/images/testvm.img Probably I hit Bug 765894 So I needed to add extra params: Requirements = True JobVMType = xen VMPARAM_Xen_Kernel = included VMPARAM_vm_Disk = /var/lib/xen/images/testvm.img:xvda:w I also have a lot of "errors" in cumin web.log - Bug 782839 There were apparently only information from cumin that there were changes in the condor node. Web interface wasn't affected. (In reply to comment #10) > I was able to test > cumin-0.1.5184-1.el6.noarch > condor-vm-gahp-7.6.5-0.11.el6.x86_64 > > And it was working with submitting KVM guest job from cumin without extra > parameters. > > Need to test on rhel 5/6, i386/x86_64 + XEN+KVM where supported. I hit during this test on my laptop Bug 782054 . I did proper verification ( comment 11 and comment 15 ) and there was no such issue. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0100.html |