[one-users] W2008 in VM boot failed

cloud.b.lab cloud.b.lab at zoho.com
Mon Jul 16 22:57:51 PDT 2012


Jan,
Myself an OpenNebula user,
Can you please paste the contents of /var/lib/one//datastores/0/0/deployment.0 file.
regards,
Anil

---- On Sun, 15 Jul 2012 23:14:42 -0700 Jan Benadik <jan.benadik at atos.net> wrote ---- 


  Thanks for reply, but I have another problem with virtio drivers.
 If I set this driver (from the same web page) in my template (or image), VM boot crashed with:
 Fri Jul 13 16:02:05 2012 [VMM][D]: Message received: LOG I 0 Successfully execute network driver operation: pre.
 Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/0/deployment.0 myto 0 myto
 Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0 error: Failed to create domain from /var/lib/one//datastores/0/0/deployment.0
 Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0 error: internal error cannot load AppArmor profile 'libvirt-2680a394-85af-399d-2d6d-93b300446bf0'
 Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG E 0 Could not create domain from /var/lib/one//datastores/0/0/deployment.0
 Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0 ExitCode: 255
 
 Doesn't matter if AppArmor is loaded or not ... (Ubuntu 12.04 Server on frontend and node). 
 The same image / template without virtio driver booted correctly.
 
 Jan
 
 Dňa 13.07.2012 15:46, André Monteiro wrote / napísal(a):
 
  Hello,
  
 I had a problem like that, you have to install in your Windows the Virtio drivers: http://kahdev.wordpress.com/2011/05/30/using-virtio-drivers-in-a-kvm-windows-guest-vm/, in my case it were Red Hat Virtio controllers.
  
 Hope it helps,
 
 --
 André Monteiro
 
 
 
 
 
 On Fri, Jul 13, 2012 at 2:31 PM, Jan Benadik <jan.benadik at atos.net> wrote:
   Hi all,
 
 I have prepared w2008 image in virt-manager and installed Win 2008 R2 Server into. Image was prepared without virtio drivers and is working inside of virt-manager (see pict-vm.png).
 BUT - if I try to run that same image in Opennebula 3.6, boot failed - see attached pict2.png.
 
 My template in OpenNebula:
 CPU="1"
 DISK=[
   IMAGE="w2008",
   IMAGE_UNAME="test",
   TARGET="hda" ]
 FEATURES=[
   ACPI="yes" ]
 GRAPHICS=[
   LISTEN="0.0.0.0",
   TYPE="vnc" ]
 MEMORY="2048"
 NAME="w2008-prep"
 NIC=[
   MODEL="e1000",
   NETWORK="test_net",
   NETWORK_UNAME="oneadmin" ]
 OS=[
   ARCH="x86_64",
   BOOT="hd" ]
 RAW=[
   TYPE="kvm" ]
 TEMPLATE_ID="2"
 VCPU="2"
 
 Why it doesn't work? Can somebody help me?
 
 Jan
 -- 
  
 Ján Beňadik
  Managed Services - Solution Design Architect
 +421 46 5151 332
 +421 903 691 634
 jan.benadik at atos.net
 Vinohradnícka 6, 971 01 Prievidza
 www.sk.atos.net
 __________________________________
 
 
  
 
 
 _______________________________________________
 Users mailing list
 Users at lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
  
 
  
 -- 
  
 Ján Beňadik
  Managed Services - Solution Design Architect
 +421 46 5151 332
 +421 903 691 634
 jan.benadik at atos.net
 Vinohradnícka 6, 971 01 Prievidza
 www.sk.atos.net
 __________________________________
 
 
  
 
 
 _______________________________________________ 
Users mailing list 
Users at lists.opennebula.org 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120716/0fee3e2d/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.gif
Type: image/gif
Size: 281 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120716/0fee3e2d/attachment-0012.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.gif
Type: image/gif
Size: 1723 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120716/0fee3e2d/attachment-0013.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.gif
Type: image/gif
Size: 1723 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120716/0fee3e2d/attachment-0014.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.gif
Type: image/gif
Size: 281 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120716/0fee3e2d/attachment-0015.gif>


More information about the Users mailing list