Under OpenNebula 3.2 we used the RAW section to declare a serial
console in libvirt which could then be attached to on the hypervisor
via virsh console.

(this comes in very handy if you are dealing with windows or mac
desktops which don't have a very good X emulation for VNC viewers).

Template syntax looked like this:

RAW=[
  DATA="
                <devices>
                <serial type='pty'>
                        <target port='0'/>
                </serial>
                <console type='pty'>
                <target type='serial' port='0'/>
                </console>
                </devices>",
  TYPE=kvm ]

And this is what the corresponding xml in deployment.0 looks like.


                <devices>
                <serial type='pty'>
                        <target port='0'/>
                </serial>
                <console type='pty'>
                <target type='serial' port='0'/>
                </console>
                </devices>

-----------------

In OpenNebula 4.8 I have exactly the same syntax and according to
the docs it should work. the fields from the template show up in onevm show but they do not show up in deployment.0. That means this is not a libvirt error, it's an opennebula error and somehow the code that generates the kvm-based xml from the template isn't working right.

Steve Timm



------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Office:  Wilson Hall room 804
Fermilab Scientific Computing Division,
Currently transitioning from:
Scientific Computing Services Quadrant
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing

To:
Scientific Computing Facilities Quadrant.,
Experimental Computing Facilities Dept.,
Project Lead for Virtual Facility Project.


_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to