Re: [one-users] Default RAW section for all VMs
Daniel Dehennin daniel.dehen...@baby-gnu.org writes: Hello, Hello, We encounter an issue with Ubuntu 12.04: the display is frozen just after the boot. After some tests, I found that defining the following RAW section solve our issue: devicesvideomodel type='vga' heads='1'//video/devices I would like to add it for all VMs, so I modify /etc/one/vmm_exec/vmm_exec_kvm.conf: RAW = devicesvideomodel type='vga' heads='1'//video/devices But just modifying this file does not work, is it required to restart opennebula? I have my answer: - /etc/one/vmm_exec/vmm_exec_kvm.conf is applied this moring after restarting ONE that night - RAW section in /etc/one/vmm_exec/vmm_exec_kvm.conf is not overridden, resulting in multiple video cards: devices video model type='vga' heads='1'/ /video /devices devicesvideomodel type='vga' heads='1'//video/devices Is it the expected behaviour? According to the configuration file, defining a raw section in a VM template should be overridden: # Default configuration attributes for the KVM driver # (all domains will use these values as defaults). These values can # be overridden in each VM template. Valid atributes are: Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpjjlaW5mpZo.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Default RAW section for all VMs
Hi You are right, the values are overriden expect for RAW, which is appended. IMHO it is better to keep this behavior and change the comments on that file. This way, you can put basic needed RAW attributes for your setup and then add specific ones for each guest... Cheers Ruben On Tue, Jan 28, 2014 at 10:01 AM, Daniel Dehennin daniel.dehen...@baby-gnu.org wrote: Daniel Dehennin daniel.dehen...@baby-gnu.org writes: Hello, Hello, We encounter an issue with Ubuntu 12.04: the display is frozen just after the boot. After some tests, I found that defining the following RAW section solve our issue: devicesvideomodel type='vga' heads='1'//video/devices I would like to add it for all VMs, so I modify /etc/one/vmm_exec/vmm_exec_kvm.conf: RAW = devicesvideomodel type='vga' heads='1'//video/devices But just modifying this file does not work, is it required to restart opennebula? I have my answer: - /etc/one/vmm_exec/vmm_exec_kvm.conf is applied this moring after restarting ONE that night - RAW section in /etc/one/vmm_exec/vmm_exec_kvm.conf is not overridden, resulting in multiple video cards: devices video model type='vga' heads='1'/ /video /devices devicesvideomodel type='vga' heads='1'//video/devices Is it the expected behaviour? According to the configuration file, defining a raw section in a VM template should be overridden: # Default configuration attributes for the KVM driver # (all domains will use these values as defaults). These values can # be overridden in each VM template. Valid atributes are: Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Ruben S. Montero, PhD Project co-Lead and Chief Architecthttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org OpenNebula - Flexible Enterprise Cloud Made Simple http://lists.opennebula.org/listinfo.cgi/users-opennebula.org www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Default RAW section for all VMs
Ruben S. Montero rsmont...@opennebula.org writes: Hi Hello, You are right, the values are overriden expect for RAW, which is appended. IMHO it is better to keep this behavior and change the comments on that file. This way, you can put basic needed RAW attributes for your setup and then add specific ones for each guest... We will go this way for now, but some kind of template inheritance like in my comment on #2149[1]. Defining the RAW section in my /etc/one/vmm_exec/vmm_exec_kvm.conf prevent my SPICE VMs from booting since their template define the video model to “qxl”. For this specific issue, I just need to define the global RAW video to “qxl” which is compatible to “vga”[2]. Regards. Footnotes: [1] http://dev.opennebula.org/issues/2149 [2] vga for libvirt and std for qemu -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpEpSZEJWfvc.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Default RAW section for all VMs
Hello, We encounter an issue with Ubuntu 12.04: the display is frozen just after the boot. After some tests, I found that defining the following RAW section solve our issue: devicesvideomodel type='vga' heads='1'//video/devices I would like to add it for all VMs, so I modify /etc/one/vmm_exec/vmm_exec_kvm.conf: RAW = devicesvideomodel type='vga' heads='1'//video/devices But just modifying this file does not work, is it required to restart opennebula? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpR4lkMI2jXn.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org