Bug 782054

Summary: VM without VNC console doesn't start
Product: Red Hat Enterprise MRG Reporter: Stanislav Graf <sgraf>
Component: condor-vm-gahpAssignee: Timothy St. Clair <tstclair>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: medium Docs Contact:
Priority: high    
Version: 2.0CC: ltoscano, matt, mkudlej, tstclair
Target Milestone: 2.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-7.8.2-0.1 Doc Type: Bug Fix
Doc Text:
C: Submit a VM universe job which was prepared with VNC console enabled. C: After using this image for VM Universe jobs, it doesn't start because missing VNC console. F: Add a submission parameter which enables VNC settings. R: Images with VNC console enabled run correctly under condor.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 18:40:41 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:

Description Stanislav Graf 2012-01-16 12:27:09 UTC
Description of problem:
I have prepared RHEL5 VM guest (kvm) with VNC console enabled.
After using this image for VM Universe jobs, it doesn't start because missing VNC console.

My problem solved patch proposed in Condor Ticket #2404

Version-Release number of selected component (if applicable):
condor-vm-gahp-7.6.3-0.3.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. prepared RHEL5 VM guest (kvm) with VNC console enabled
2. After using this image for VM Universe jobs, it doesn't start because missing VNC console.
3. Try patch from Ticket #2404
4. VM works without problem
  
Actual results:
src/condor_vm-gahp/libvirt_simple_script.awk currently enables the textual console only for VMs

Expected results:
it would be useful to have a new optional parameter to enable also VNC console (disabled by default)

Additional info:

Comment 2 Timothy St. Clair 2012-03-19 16:17:17 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 VM universe job which was prepared with VNC console enabled. 
C: After using this image for VM Universe jobs, it doesn't start because missing VNC console.
F: Add a submission parameter which enables VNC settings.
R: Images with VNC console enabled run correctly under condor.

Comment 6 Luigi Toscano 2013-02-12 12:21:31 UTC
The required patch has been applied and can be used by specifying VM_VNC=true.

Verified on RHEL5.9/x86_64 (Xen/KVM), RHEL6.4beta/x86_64 (KVM).
condor-7.8.8-0.4.1
condor-vm-gahp-7.8.8-0.4.1

However, I would like to point out that not all the VM images shows this issue. Enabling the VNC console in the XML also enables the graphic card for the VM, which is the element that allows the VM to run. This could show some problem somewhere else, but anyway outside HTCondor.

Comment 8 errata-xmlrpc 2013-03-06 18:40:41 UTC
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-2013-0564.html