<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Tino,<br>
<br>
Applying raw 'devices' section creates two XML devices tags. This
due the implementation of 'core' vmware driver.<span
class="moz-smiley-s1"><span> :-) </span></span><br>
I'm not sure about the exact problem but i'm getting following
error:<br>
-----------------------------------------------------------------------------------------------------------------------------------------------------<br>
on Oct 15 09:37:43 2012 [LCM][I]: New VM state is BOOT<br>
Mon Oct 15 09:37:43 2012 [VMM][I]: Generating deployment file:
/var/lib/one/52/deployment.0<br>
Mon Oct 15 09:37:43 2012 [VMM][I]: ExitCode: 0<br>
Mon Oct 15 09:37:43 2012 [VMM][I]: Successfully execute network
driver operation: pre.<br>
Mon Oct 15 09:37:48 2012 [VMM][I]: Command execution fail:
/var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/52/deployment.0
172.17.70.38 52 172.17.70.38<br>
Mon Oct 15 09:37:48 2012 [VMM][E]: deploy: Error executing: virsh -c
'esx://172.17.70.38/?no_verify=1&auto_answer=1' define
/var/lib/one/52/deployment.0 err: ExitCode: 1<br>
Mon Oct 15 09:37:48 2012 [VMM][I]: out:<br>
Mon Oct 15 09:37:48 2012 [VMM][I]: error: Failed to define domain
from /var/lib/one/52/deployment.0<br>
Mon Oct 15 09:37:48 2012 [VMM][I]: error: internal error Unknown
driver name 'file'<br>
---------------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>
The driver 'file" is not related to vga anyway.<br>
<br>
CPU="2"<br>
DISK=[<br>
BUS="scsi",<br>
IMAGE="Win2K8r2-TD-Image-v4",<br>
IMAGE_UNAME="oneadmin",<br>
TARGET="sda" ]<br>
GRAPHICS=[<br>
LISTEN="0.0.0.0",<br>
TYPE="vnc" ]<br>
MEMORY="3024"<br>
NAME="TD-Win2K8r2-VM-Template-vmxnet3"<br>
NIC=[<br>
MODEL="vmxnet3",<br>
NETWORK="SBvNet-td-reserved1-210_220",<br>
NETWORK_UNAME="oneadmin" ]<br>
OS=[<br>
ARCH="i686" ]<br>
<b>RAW=[<br>
DATA="<devices><video><model type='vmvga'
vram='16384000'/></video></devices>",<br>
TYPE="vmware" ]</b><br>
TEMPLATE_ID="7"<br>
VCPU="2" <br>
<b></b><br>
<b><br>
Libvirt domain config:</b><br>
-------------------------------------------------------------------------------------------------------------------------------------------<br>
<domain type='vmware'><br>
<name>one-52</name><br>
<vcpu>2</vcpu><br>
<memory>3096576</memory><br>
<os><br>
<type arch='i686'>hvm</type><br>
</os><br>
<devices><br>
<disk type='file' device='disk'><br>
<source file='[0]
52/disk.0/disk.vmdk'/><br>
<target dev='sda' bus='scsi'/><br>
<driver name='file'/><br>
</disk><br>
<disk type='file' device='cdrom'><br>
<source file='[0] 52/disk.1.iso'/><br>
<target dev='hdb'/><br>
<readonly/><br>
</disk><br>
<interface type='bridge'><br>
<source
bridge='usr-dsrg-td-reserved1'/><br>
<mac address='02:00:ac:11:4d:d4'/><br>
<model type='vmxnet3'/><br>
</interface><br>
<graphics type='vnc' listen='0.0.0.0'
port='5952'/><br>
</devices><br>
<devices><video><model type='vmvga'
vram='16384000'/></video></devices><br>
</domain><br>
-------------------------------------------------------------------------------------------------------------------------------------------<br>
<blockquote
cite="mid:CAHfKwc2LQ3F3U3CiZbA6OA4eO7tJFO4xuSY9SPZ2cZQxs8zAig@mail.gmail.com"
type="cite">
<pre wrap="">Hi,
The translation is not performed by a script but rather the OpenNebula
core. What you are looking for resides in
src/vmm/LibVirtDriverVMware.cc in the source core.
Regards,
-Tino
--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
<a class="moz-txt-link-abbreviated" href="http://www.OpenNebula.org">www.OpenNebula.org</a> | @tinova79 | @OpenNebula
On Wed, Sep 26, 2012 at 12:30 PM, Marcin Jarzab <a class="moz-txt-link-rfc2396E" href="mailto:mj@agh.edu.pl"><mj@agh.edu.pl></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Tino,
Could you provide the information about the ONE script which is responsible
for translation of the input data
and creation of domain xml file? In case of problem I want to get into the
source code:-)
</pre>
<blockquote type="cite">
<pre wrap="">Hi Marcin,
The RAW attribute will instruct OpenNebula to pass the information
down to libvirt, and this is true also for the VMware drivers. I
haven't tried this myself, but I think libvrit should pass this
correctly to the ESX, and thus it should work. I would be interested
in knowing if you succeeded with a template including the RAW
attribute you pasted, changing KVM for VMWARE.
Regards,
-Tino
--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
<a class="moz-txt-link-abbreviated" href="http://www.OpenNebula.org">www.OpenNebula.org</a> | @tinova79 | @OpenNebula
On Wed, Sep 26, 2012 at 12:47 AM, Marcin Jarzab<a class="moz-txt-link-rfc2396E" href="mailto:mj@agh.edu.pl"><mj@agh.edu.pl></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Hello,
I'm getting such an error:
error: Failed to start domain one-41
Tue Sep 25 15:45:27 2012 [VMM][I]: error: internal error Could not start
domain: GenericVmConfigFault - Insufficient video RAM. The maximum
resolution of the virtual machine will be limited to 1176x885. To use the
configured maximum resolution of 2560x1600, increase the amount of video
RAM
allocated to this virtual machine by setting svga.vramSize="16384000" in
the
virtual machine's configuration file.
In "google" (<a class="moz-txt-link-freetext" href="http://www.digipedia.pl/usenet/thread/11667/7791/">http://www.digipedia.pl/usenet/thread/11667/7791/</a>) I found
sth.
about the RAW section:
RAW = [ TYPE="KVM", DATA="<video><model type='cirrus' vram='16384'
heads='1'/><address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/></video>"]
Does it work for vmware?
--
Ph.D. Eng. Marcin Jarzab
<a class="moz-txt-link-abbreviated" href="mailto:mj@agh.edu.pl">mj@agh.edu.pl</a>
<a class="moz-txt-link-freetext" href="http://www.ics.agh.edu.pl/people/mj">http://www.ics.agh.edu.pl/people/mj</a>
Department of Computer Science
AGH University of Science and Technology
Kawiory 21, Building D17, 30-055 Krakow, POLAND
phone: +48 (12) 328 33 72
==========================================================================
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
--
Ph.D. Eng. Marcin Jarzab
<a class="moz-txt-link-abbreviated" href="mailto:mj@agh.edu.pl">mj@agh.edu.pl</a>
<a class="moz-txt-link-freetext" href="http://www.ics.agh.edu.pl/people/mj">http://www.ics.agh.edu.pl/people/mj</a>
Department of Computer Science
AGH University of Science and Technology
Kawiory 21, Building D17, 30-055 Krakow, POLAND
phone: +48 (12) 328 33 72
==========================================================================
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Ph.D. Eng. Marcin Jarzab
<a class="moz-txt-link-abbreviated" href="mailto:mj@agh.edu.pl">mj@agh.edu.pl</a>
<a class="moz-txt-link-freetext" href="http://www.ics.agh.edu.pl/people/mj">http://www.ics.agh.edu.pl/people/mj</a>
Department of Computer Science
AGH University of Science and Technology
Kawiory 21, Building D17, 30-055 Krakow, POLAND
phone: +48 (12) 328 33 72
========================================================================== </pre>
</body>
</html>