The first option worked like a charm. <br><br>The generated deployment descriptor was:<br>&lt;domain type=&#39;kvm&#39;&gt;<br>    &lt;name&gt;one-33&lt;/name&gt;<br>    &lt;memory&gt;262144&lt;/memory&gt;<br>    &lt;os&gt;<br>
        &lt;type&gt;hvm&lt;/type&gt;<br>        &lt;boot dev=&#39;hd&#39;/&gt;<br>    &lt;/os&gt;<br>    &lt;devices&gt;<br>        &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>        &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
            &lt;source file=&#39;/opt/nebula/ONE/var//33/images/disk.0&#39;/&gt;<br>            &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>        &lt;/disk&gt;<br>        &lt;interface type=&#39;bridge&#39;&gt;<br>
            &lt;source bridge=&#39;br0&#39;/&gt;<br>            &lt;model type=&#39;virtio&#39;/&gt;<br>        &lt;/interface&gt;<br>        &lt;interface type=&#39;bridge&#39;&gt;<br>            &lt;source bridge=&#39;br0&#39;/&gt;<br>
            &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>            &lt;model type=&#39;virtio&#39;/&gt;<br>        &lt;/interface&gt;<br>    &lt;/devices&gt;<br>    &lt;features&gt;<br>        &lt;pae/&gt;<br>        &lt;acpi/&gt;<br>
    &lt;/features&gt;<br>    &lt;devices&gt;&lt;serial type=&quot;pty&quot;&gt;&lt;source path=&quot;/dev/pts/5&quot;/&gt;&lt;target port=&quot;0&quot;/&gt;&lt;/serial&gt;&lt;console type=&quot;pty&quot; tty=&quot;/dev/pts/5&quot;&gt;&lt;source path=&quot;/dev/pts/5&quot;/&gt;&lt;target port=&quot;0&quot;/&gt;&lt;/console&gt;&lt;/devices&gt;<br>
&lt;/domain&gt;<br><br>And the dumpxml reveals the correct configuration:<br>&lt;domain type=&#39;kvm&#39; id=&#39;16&#39;&gt;<br>  &lt;name&gt;one-33&lt;/name&gt;<br>  &lt;uuid&gt;f239ee68-f86a-6cfd-0f7c-87ccf0c8d57a&lt;/uuid&gt;<br>
  &lt;memory&gt;262144&lt;/memory&gt;<br>  &lt;currentMemory&gt;262144&lt;/currentMemory&gt;<br>  &lt;vcpu&gt;1&lt;/vcpu&gt;<br>  &lt;os&gt;<br>    &lt;type arch=&#39;i686&#39; machine=&#39;pc-0.11&#39;&gt;hvm&lt;/type&gt;<br>
    &lt;boot dev=&#39;hd&#39;/&gt;<br>  &lt;/os&gt;<br>  &lt;features&gt;<br>    &lt;acpi/&gt;<br>    &lt;pae/&gt;<br>  &lt;/features&gt;<br>  &lt;clock offset=&#39;utc&#39;/&gt;<br>  &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>
  &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>  &lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>  &lt;devices&gt;<br>    &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>    &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
      &lt;source file=&#39;/opt/nebula/ONE/var//33/images/disk.0&#39;/&gt;<br>      &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>    &lt;/disk&gt;<br>    &lt;interface type=&#39;bridge&#39;&gt;<br>      &lt;mac address=&#39;52:54:00:e8:39:7b&#39;/&gt;<br>
      &lt;source bridge=&#39;br0&#39;/&gt;<br>      &lt;target dev=&#39;vnet4&#39;/&gt;<br>      &lt;model type=&#39;virtio&#39;/&gt;<br>    &lt;/interface&gt;<br>    &lt;interface type=&#39;bridge&#39;&gt;<br>      &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>
      &lt;source bridge=&#39;br0&#39;/&gt;<br>      &lt;target dev=&#39;vnet5&#39;/&gt;<br>      &lt;model type=&#39;virtio&#39;/&gt;<br>    &lt;/interface&gt;<br>    &lt;serial type=&#39;pty&#39;&gt;<br>      &lt;source path=&#39;/dev/pts/6&#39;/&gt;<br>
      &lt;target port=&#39;0&#39;/&gt;<br>    &lt;/serial&gt;<br>    &lt;console type=&#39;pty&#39; tty=&#39;/dev/pts/6&#39;&gt;<br>      &lt;source path=&#39;/dev/pts/6&#39;/&gt;<br>      &lt;target port=&#39;0&#39;/&gt;<br>
    &lt;/console&gt;<br>  &lt;/devices&gt;<br>  &lt;seclabel type=&#39;dynamic&#39; model=&#39;apparmor&#39;&gt;<br>    &lt;label&gt;libvirt-f239ee68-f86a-6cfd-0f7c-87ccf0c8d57a&lt;/label&gt;<br>    &lt;imagelabel&gt;libvirt-f239ee68-f86a-6cfd-0f7c-87ccf0c8d57a&lt;/imagelabel&gt;<br>
  &lt;/seclabel&gt;<br>&lt;/domain&gt;<br><br>I do like option 2. Could you point me to the source code file where I can make your suggested change. I suppose I can browse through the source and figure out the right file....<br>
<br>Thanks,<br>RS<br><br><br><div class="gmail_quote">On Thu, Feb 4, 2010 at 3:15 PM, Ruben S. Montero <span dir="ltr">&lt;<a href="mailto:rubensm@dacya.ucm.es">rubensm@dacya.ucm.es</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
It seems that the console attribute needs to be defined within the<br>
devices element. We can try a couple of things:<br>
<br>
1. Let see if libvirt can deal with two devices elements. Try to add:<br>
RAW = [ type = &quot;kvm&quot;,<br>
              data = &quot;&lt;/devices&gt;&lt;serial type=\&quot;pty\&quot;&gt;&lt;source<br>
<div class="im"> path=\&quot;/dev/pts/5\&quot;/&gt;&lt;target port=\&quot;0\&quot;/&gt;&lt;/serial&gt;&lt;console type=\&quot;pty\&quot;<br>
 tty=\&quot;/dev/pts/5\&quot;&gt;&lt;source path=\&quot;/dev/pts/5\&quot;/&gt;&lt;target<br>
</div> port=\&quot;0\&quot;/&gt;&lt;/console&gt;&lt;/devices&gt;&quot; ]<br>
<br>
That is the same you have but within a device element<br>
<br>
2. We can modify the KVM driver so the RAW attributes are generated<br>
within the devices section. Or at least add an option to tell<br>
OpenNebula where to put the RAW attributes.<br>
<br>
3. If you need this for debugging purposes, you can always connect to<br>
the VM through VNC with the GRAPHICS attribute...<br>
<br>
Cheers<br>
<br>
Ruben<br>
<div><div></div><div class="h5"><br>
On Thu, Feb 4, 2010 at 7:16 PM, Jack Jill &lt;<a href="mailto:jacknjill111@gmail.com">jacknjill111@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;m attempting to configure a console for my vm so I can connect to it via<br>
&gt; &quot;virsh&quot;, but I believe I am screwing up the declaration in the template.<br>
&gt;<br>
&gt; &lt;quote&gt;<br>
&gt; RAW = [ type = &quot;kvm&quot;, data = &quot;&lt;console type=\&quot;stdio\&quot;&gt;&lt;target<br>
&gt; port=\&quot;1\&quot;/&gt;&lt;/console&gt;&quot; ]<br>
&gt; &lt;/quote&gt;<br>
&gt;<br>
&gt; results in the following deployment descriptor:<br>
&gt;<br>
&gt; &lt;domain type=&#39;kvm&#39;&gt;<br>
&gt;     &lt;name&gt;one-31&lt;/name&gt;<br>
&gt;     &lt;memory&gt;262144&lt;/memory&gt;<br>
&gt;     &lt;os&gt;<br>
&gt;         &lt;type&gt;hvm&lt;/type&gt;<br>
&gt;         &lt;boot dev=&#39;hd&#39;/&gt;<br>
&gt;     &lt;/os&gt;<br>
&gt;     &lt;devices&gt;<br>
&gt;         &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>
&gt;         &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
&gt;             &lt;source file=&#39;/opt/nebula/ONE/var//31/images/disk.0&#39;/&gt;<br>
&gt;             &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>
&gt;         &lt;/disk&gt;<br>
&gt;         &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;             &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;             &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;         &lt;/interface&gt;<br>
&gt;         &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;             &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;             &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>
&gt;             &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;         &lt;/interface&gt;<br>
&gt;     &lt;/devices&gt;<br>
&gt;     &lt;features&gt;<br>
&gt;         &lt;pae/&gt;<br>
&gt;         &lt;acpi/&gt;<br>
&gt;     &lt;/features&gt;<br>
&gt;     &lt;console type=&quot;stdio&quot;&gt;&lt;target port=&quot;1&quot;/&gt;&lt;/console&gt;<br>
&gt; &lt;/domain&gt;<br>
&gt;<br>
&gt; But when I attempt to connect to the console I get the following error:<br>
&gt;<br>
&gt; &lt;quote&gt;<br>
&gt; sudo virsh console one-31<br>
&gt; [sudo] password for xxxx:<br>
&gt; Connecting to uri: qemu:///system<br>
&gt; No console available for domain<br>
&gt; &lt;/quote&gt;<br>
&gt;<br>
&gt; virsh dumpxml shows the following:<br>
&gt;<br>
&gt; &lt;domain type=&#39;kvm&#39; id=&#39;13&#39;&gt;<br>
&gt;   &lt;name&gt;one-31&lt;/name&gt;<br>
&gt;   &lt;uuid&gt;89e69209-ba37-8ccf-832f-f637ab753710&lt;/uuid&gt;<br>
&gt;   &lt;memory&gt;262144&lt;/memory&gt;<br>
&gt;   &lt;currentMemory&gt;262144&lt;/currentMemory&gt;<br>
&gt;   &lt;vcpu&gt;1&lt;/vcpu&gt;<br>
&gt;   &lt;os&gt;<br>
&gt;     &lt;type arch=&#39;i686&#39; machine=&#39;pc-0.11&#39;&gt;hvm&lt;/type&gt;<br>
&gt;     &lt;boot dev=&#39;hd&#39;/&gt;<br>
&gt;   &lt;/os&gt;<br>
&gt;   &lt;features&gt;<br>
&gt;     &lt;acpi/&gt;<br>
&gt;     &lt;pae/&gt;<br>
&gt;   &lt;/features&gt;<br>
&gt;   &lt;clock offset=&#39;utc&#39;/&gt;<br>
&gt;   &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>
&gt;   &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>
&gt;   &lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>
&gt;   &lt;devices&gt;<br>
&gt;     &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>
&gt;     &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
&gt;       &lt;source file=&#39;/opt/nebula/ONE/var//31/images/disk.0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/disk&gt;<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;52:54:00:9c:c1:cb&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet4&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet5&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;   &lt;/devices&gt;<br>
&gt;   &lt;seclabel type=&#39;dynamic&#39; model=&#39;apparmor&#39;&gt;<br>
&gt;     &lt;label&gt;libvirt-89e69209-ba37-8ccf-832f-f637ab753710&lt;/label&gt;<br>
&gt;     &lt;imagelabel&gt;libvirt-89e69209-ba37-8ccf-832f-f637ab753710&lt;/imagelabel&gt;<br>
&gt;   &lt;/seclabel&gt;<br>
&gt; &lt;/domain&gt;<br>
&gt;<br>
&gt; As you can see no console element.<br>
&gt;<br>
&gt; If I redefine the domain and add the following (via virsh), I can connect<br>
&gt; successfully.<br>
&gt;<br>
&gt; &lt;domain type=&#39;kvm&#39;&gt;<br>
&gt;   &lt;name&gt;one-31&lt;/name&gt;<br>
&gt;   &lt;uuid&gt;89e69209-ba37-8ccf-832f-f637ab753710&lt;/uuid&gt;<br>
&gt;   &lt;memory&gt;262144&lt;/memory&gt;<br>
&gt;   &lt;currentMemory&gt;262144&lt;/currentMemory&gt;<br>
&gt;   &lt;vcpu&gt;1&lt;/vcpu&gt;<br>
&gt;   &lt;os&gt;<br>
&gt;     &lt;type arch=&#39;i686&#39; machine=&#39;pc-0.11&#39;&gt;hvm&lt;/type&gt;<br>
&gt;     &lt;boot dev=&#39;hd&#39;/&gt;<br>
&gt;   &lt;/os&gt;<br>
&gt;   &lt;features&gt;<br>
&gt;     &lt;acpi/&gt;<br>
&gt;     &lt;pae/&gt;<br>
&gt;   &lt;/features&gt;<br>
&gt;   &lt;clock offset=&#39;utc&#39;/&gt;<br>
&gt;   &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>
&gt;   &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>
&gt;   &lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>
&gt;   &lt;devices&gt;<br>
&gt;     &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>
&gt;     &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
&gt;       &lt;source file=&#39;/opt/nebula/ONE/var//31/images/disk.0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/disk&gt;<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;52:54:00:9c:c1:cb&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet4&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet5&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;     &lt;serial type=&#39;pty&#39;&gt;<br>
&gt;       &lt;source path=&#39;/dev/pts/5&#39;/&gt;<br>
&gt;       &lt;target port=&#39;0&#39;/&gt;<br>
&gt;     &lt;/serial&gt;<br>
&gt;     &lt;console type=&#39;pty&#39; tty=&#39;/dev/pts/5&#39;&gt;<br>
&gt;       &lt;source path=&#39;/dev/pts/5&#39;/&gt;<br>
&gt;       &lt;target port=&#39;0&#39;/&gt;<br>
&gt;     &lt;/console&gt;<br>
&gt;   &lt;/devices&gt;<br>
&gt; &lt;/domain&gt;<br>
&gt;<br>
&gt; So I tried passing in the following as RAW attributes:<br>
&gt;<br>
&gt; RAW = [ type = &quot;kvm&quot;,<br>
&gt;               data = &quot;&lt;serial type=\&quot;pty\&quot;&gt;&lt;source<br>
&gt; path=\&quot;/dev/pts/5\&quot;/&gt;&lt;target port=\&quot;0\&quot;/&gt;&lt;/serial&gt;&lt;console type=\&quot;pty\&quot;<br>
&gt; tty=\&quot;/dev/pts/5\&quot;&gt;&lt;source path=\&quot;/dev/pts/5\&quot;/&gt;&lt;target<br>
&gt; port=\&quot;0\&quot;/&gt;&lt;/console&gt;&quot; ]<br>
&gt;<br>
&gt; The above results in the following deployment descriptor being generated:<br>
&gt;<br>
&gt; &lt;domain type=&#39;kvm&#39;&gt;<br>
&gt;     &lt;name&gt;one-32&lt;/name&gt;<br>
&gt;     &lt;memory&gt;262144&lt;/memory&gt;<br>
&gt;     &lt;os&gt;<br>
&gt;         &lt;type&gt;hvm&lt;/type&gt;<br>
&gt;         &lt;boot dev=&#39;hd&#39;/&gt;<br>
&gt;     &lt;/os&gt;<br>
&gt;     &lt;devices&gt;<br>
&gt;         &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>
&gt;         &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
&gt;             &lt;source file=&#39;/opt/nebula/ONE/var//32/images/disk.0&#39;/&gt;<br>
&gt;             &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>
&gt;         &lt;/disk&gt;<br>
&gt;         &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;             &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;             &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;         &lt;/interface&gt;<br>
&gt;         &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;             &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;             &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>
&gt;             &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;         &lt;/interface&gt;<br>
&gt;     &lt;/devices&gt;<br>
&gt;     &lt;features&gt;<br>
&gt;         &lt;pae/&gt;<br>
&gt;         &lt;acpi/&gt;<br>
&gt;     &lt;/features&gt;<br>
&gt;     &lt;serial type=&quot;pty&quot;&gt;&lt;source path=&quot;/dev/pts/5&quot;/&gt;&lt;target<br>
&gt; port=&quot;0&quot;/&gt;&lt;/serial&gt;&lt;console type=&quot;pty&quot; tty=&quot;/dev/pts/5&quot;&gt;&lt;source<br>
&gt; path=&quot;/dev/pts/5&quot;/&gt;&lt;target port=&quot;0&quot;/&gt;&lt;/console&gt;<br>
&gt; &lt;/domain&gt;<br>
&gt;<br>
&gt; But still cannot connect to the console. The dumpxml (via virsh) reveals the<br>
&gt; following:<br>
&gt;<br>
&gt; oneadmin@uecB:~/domainTemplates$ virsh dumpxml one-32<br>
&gt; Connecting to uri: qemu:///system<br>
&gt; &lt;domain type=&#39;kvm&#39; id=&#39;15&#39;&gt;<br>
&gt;   &lt;name&gt;one-32&lt;/name&gt;<br>
&gt;   &lt;uuid&gt;c51c3deb-7685-3722-9df1-10600d3f2df0&lt;/uuid&gt;<br>
&gt;   &lt;memory&gt;262144&lt;/memory&gt;<br>
&gt;   &lt;currentMemory&gt;262144&lt;/currentMemory&gt;<br>
&gt;   &lt;vcpu&gt;1&lt;/vcpu&gt;<br>
&gt;   &lt;os&gt;<br>
&gt;     &lt;type arch=&#39;i686&#39; machine=&#39;pc-0.11&#39;&gt;hvm&lt;/type&gt;<br>
&gt;     &lt;boot dev=&#39;hd&#39;/&gt;<br>
&gt;   &lt;/os&gt;<br>
&gt;   &lt;features&gt;<br>
&gt;     &lt;acpi/&gt;<br>
&gt;     &lt;pae/&gt;<br>
&gt;   &lt;/features&gt;<br>
&gt;   &lt;clock offset=&#39;utc&#39;/&gt;<br>
&gt;   &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>
&gt;   &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>
&gt;   &lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>
&gt;   &lt;devices&gt;<br>
&gt;     &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;<br>
&gt;     &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
&gt;       &lt;source file=&#39;/opt/nebula/ONE/var//32/images/disk.0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vda&#39; bus=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/disk&gt;<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;52:54:00:9c:1f:76&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet4&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;00:03:0a:00:01:04&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;br0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet5&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;   &lt;/devices&gt;<br>
&gt;   &lt;seclabel type=&#39;dynamic&#39; model=&#39;apparmor&#39;&gt;<br>
&gt;     &lt;label&gt;libvirt-c51c3deb-7685-3722-9df1-10600d3f2df0&lt;/label&gt;<br>
&gt;     &lt;imagelabel&gt;libvirt-c51c3deb-7685-3722-9df1-10600d3f2df0&lt;/imagelabel&gt;<br>
&gt;   &lt;/seclabel&gt;<br>
&gt; &lt;/domain&gt;<br>
&gt;<br>
&gt; As you can see, the RAW attributes did not get generated here. Any idea what<br>
&gt; is going on and how I can get this resolved.<br>
&gt;<br>
&gt;<br>
&gt; Also, the documentation at<br>
&gt; <a href="http://opennebula.org/doku.php?id=documentation:rel1.4:kvmg" target="_blank">http://opennebula.org/doku.php?id=documentation:rel1.4:kvmg</a><br>
&gt;<br>
&gt; &lt;quote&gt;<br>
&gt;<br>
&gt;   RAW = [ type = &quot;kvm&quot;,<br>
&gt;<br>
&gt;<br>
&gt;           data = &quot;&lt;console type=\&quot;stdio\&quot;&gt;&lt;target port=\&quot;1\&quot;&gt;&lt;/console&gt;&quot; ]<br>
&gt;<br>
&gt; &lt;/quote&gt;<br>
&gt;<br>
&gt; causes the deployment to fail with the following error in the vm.log<br>
&gt;<br>
&gt; Thu Feb  4 11:37:59 2010 [VMM][I]: error: Failed to create domain from<br>
&gt; /opt/nebula/ONE/var//30/images/deployment.0<br>
&gt; Thu Feb  4 11:37:59 2010 [VMM][I]: error: at line 28: Opening and ending tag<br>
&gt; mismatch: target line 28 and console<br>
&gt; Thu Feb  4 11:37:59 2010 [VMM][I]:<br>
&gt; Thu Feb  4 11:37:59 2010 [VMM][I]: ExitCode: 1<br>
&gt; Thu Feb  4 11:37:59 2010 [VMM][E]: Error deploying virtual machine<br>
&gt;<br>
&gt; Therefore please update the documentation.<br>
&gt;<br>
&gt; Front Controller:<br>
&gt; ---------------------<br>
&gt; Ubuntu Karmic<br>
&gt; Open Nebula 1.4<br>
&gt;<br>
&gt; Node:<br>
&gt; -------<br>
&gt; Ubuntu Karmic<br>
&gt; KVM hypervisor<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt; RS<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
&gt; <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Dr. Ruben Santiago Montero<br>
Associate Professor, Complutense University of Madrid<br>
<br>
URL:    <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
</font></blockquote></div><br>