Red Hat Bugzilla – Bug 464645
[RFE] Allow virtual jobs to assign virtual cpus.
Last modified: 2010-10-23 00:49:38 EDT
Description of problem: Currently you can not set the amount of virtual cpus in a virtual job.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a virtual job.
2. Run Job.
3. Notice virtual machine has 1 vcpu.
any number of vcpus you select.
In the gahp config there is a line "+vcpus=1" This line just appends that after the xml which causes the job to fail. That should probably be removed. If you put the xml after the + it might work. But then all jobs have to have the same vcpus. This is something you should be able to specify with the job.
This change has been merged upstream. It is now possible to set the VCPUS for a VM job in the job description file, with the vm_vcpus parameter.
Tested on RHEL 5.3 i386 and x86_64 on condor 7.2.2-0.8.el5 ... OK
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.