Re: [one-users] onevm create fails
Hi Andrei, On 8 August 2012 22:46, Andrei Vakhnin andrey.a.vakh...@nasa.gov wrote: Carlos I am having similar problem with ttylinux when testing my new opennebula 3.6 deployment. VM is in pending state and no log file produced. Thanks in advance. If your VM stays in pending state, it could be due to one of the following reasons: http://wiki.opennebula.org/faq#my_machine_stays_in_pending_state_what_can_i_do Cheers NAME = ttylinux PATH = /data/images/ttylinux.img TYPE = OS NAME = ttylinux CPU= 0.1 MEMORY = 64 DISK = [ IMAGE_ID = 2 ] NIC= [ NETWORK_ID = 0 ] FEATURES=[ acpi=no ] #CONTEXT = [ #hostname= $NAME, #ip_public = PUBLIC_IP, #files = /path/to/init.sh /path/to/id_dsa.pub, #target = hdc, #root_pubkey = id_dsa.pub, #username= opennebula, #user_pubkey = id_dsa.pub #] NAME = Small network TYPE = FIXED #Now we'll use the cluster private network (physical) BRIDGE = br2 LEASES = [ IP=10.4.10.01] LEASES = [ IP=10.4.10.02] LEASES = [ IP=10.4.10.03] onevm list ID USER GROUPNAMESTAT UCPUUMEM HOST TIME 0 oneadmin oneadmin ttylinuxpend0 0K 0d 00h20 onevm show 0 VIRTUAL MACHINE 0 INFORMATION ID : 0 NAME: ttylinux USER: oneadmin GROUP : oneadmin STATE : PENDING LCM_STATE : LCM_INIT RESCHED : No START TIME : 08/08 16:29:45 END TIME: - DEPLOY ID : - VIRTUAL MACHINE MONITORING NET_TX : 0K NET_RX : 0K USED MEMORY : 0K USED CPU: 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- VIRTUAL MACHINE TEMPLATE CPU=0.1 DISK=[ CLONE=YES, DATASTORE=default, DATASTORE_ID=1, DEV_PREFIX=hd, DISK_ID=0, IMAGE=ttylinux, IMAGE_ID=2, READONLY=NO, SAVE=NO, SOURCE=/var/lib/one/datastores/1/4aae0eb7a037be69f2fceb14209eb986, TARGET=hda, TM_MAD=shared, TYPE=FILE ] FEATURES=[ ACPI=no ] MEMORY=64 NAME=ttylinux NIC=[ BRIDGE=br2, IP=10.4.10.1, MAC=02:00:0a:04:0a:01, NETWORK=Small network, NETWORK_ID=0, VLAN=NO ] VMID=0 On Jun 11, 2012, at 9:16 AM, Carlos Martín Sánchez wrote: Hi, oned.log should contain the error message, it will be marked as [E]. You also have the individual VM log file in /var/log/one/id.log or $ONE_LOCATION/var/datastores/0/id/vm.log Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Mon, Jun 11, 2012 at 10:54 AM, Massimo Canonico m...@di.unipmn.it wrote: Hi, I was trying to make a simple ttylinux working on my opennebula installation. I have downloaded the ttylinux xen image frome here: http://www.suse.de/~garloff/linux/xen/images/ttylinux/ then I have create two file, in order to add this image in the openenbula installation, image.one: NAME = ttylinux PATH = /home/oneadmin/images/ttylinux/ttylinux.img TYPE = OS ttylinux.one: [oneadmin@minicloud03 ttylinux]$ more ttylinux.one NAME = ttylinux CPU= 0.1 MEMORY = 64 DISK = [ IMAGE_ID = 8 ] NIC= [ NETWORK_ID = 0 ] FEATURES=[ acpi=no ] #CONTEXT = [ #hostname= $NAME, #ip_public = 130.10.0.10, #files = /home/oneadmin/images/ttylinux/init.sh /home/oneadmin/.ssh/id_rsa.pub, #target = hdc, #root_pubkey = id_rsa.pub, #username= opennebula, #user_pubkey = id_rsa.pub #] So, I'm sure that I'm missing something since the image becomes fail after few second. Here the ourput of onevm show: VIRTUAL MACHINE 6 INFORMATION ID : 6 NAME: ttylinux USER: oneadmin GROUP : oneadmin STATE : FAILED LCM_STATE : LCM_INIT START TIME : 06/11 11:16:43 END TIME: 06/11 11:17:12 DEPLOY ID : - VIRTUAL MACHINE MONITORING NET_RX : 0 USED CPU: 0 USED MEMORY : 0 NET_TX : 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- VIRTUAL MACHINE TEMPLATE CPU=0.1 DISK=[ CLONE=YES, DATASTORE=minicloudDS, DATASTORE_ID=100, DISK_ID=0, IMAGE=ttylinux, IMAGE_ID=8, READONLY=NO, SAVE=NO, SOURCE=/home/oneadmin/one-3.0/var/datastores/100/3c376e0cc8bef2f3bc8b43b22fe88a9a, TARGET=hda, TM_MAD=ssh, TYPE=DISK ] FEATURES=[ ACPI=no ] MEMORY=64 NAME=ttylinux NIC=[ BRIDGE=virbr0, IP=130.10.0.3, MAC=02:00:82:0a:00:03, NETWORK=Public, NETWORK_ID=0, VLAN=NO ] VMID=6 VIRTUAL MACHINE HISTORY SEQHOSTNAME REASON STARTTIME PTIME 0 minicloud.di.un erro 06/11 11:17:100d 00:000d 00:00 oned.log did not say anything useful:
Re: [one-users] libvirt error?
Hi Valerio, On 7 August 2012 11:17, Valerio Schiavoni valerio.schiav...@gmail.com wrote: Dear all, one of the hosts in my cluster is reported to be in state ERROR. I've looked through its sys log messages, and I found this: [1.847465] WARNING: at /build/buildd/linux-3.2.0/kernel/watchdog.c:241 watchdog_overflow_callback+0x9a/0xc0() [1.847465] Hardware name: SE1102 [1.847465] Watchdog detected hard LOCKUP on cpu 7 [1.847465] Modules linked in: [1.847465] Pid: 1, comm: swapper/0 Not tainted 3.2.0-27-generic #43-Ubuntu [1.847465] Call Trace: [1.847465] NMI [8106729f] warn_slowpath_common+0x7f/0xc0 [1.847465] [81067396] warn_slowpath_fmt+0x46/0x50 [1.847465] [810d837a] watchdog_overflow_callback+0x9a/0xc0 [1.847465] [8bb6] __perf_event_overflow+0x96/0x1e0 [1.847465] [8110f141] ? perf_event_update_userpage+0x11/0xc0 [1.847465] [81023aaa] ? x86_perf_event_set_period+0xda/0x150 [1.847465] [81112104] perf_event_overflow+0x14/0x20 [1.847465] [810281c3] intel_pmu_handle_irq+0x163/0x210 [1.847465] [8139c350] ? ghes_read_estatus+0x90/0x180 [1.847465] [8165b7c1] perf_event_nmi_handler+0x21/0x30 [1.847465] [8165b089] default_do_nmi+0x69/0x220 [1.847465] [8165b2c0] do_nmi+0x80/0x90 [1.847465] [8165a6b0] nmi+0x20/0x30 [1.847465] [814c84c2] ? __i8042_command.part.1+0xd2/0x200 [1.847465] EOE [814c8630] __i8042_command+0x40/0x60 [1.847465] [814c8689] i8042_command+0x39/0x60 [1.847465] [81d3447e] i8042_check_aux+0x24/0x201 [1.847465] [81d34cb1] i8042_setup_aux+0x16/0x12e [1.847465] [81d34dee] i8042_probe.part.10+0x25/0xbd [1.847465] [81d34eb1] i8042_probe+0x2b/0x2d [1.847465] [813f6e57] platform_drv_probe+0x17/0x20 [1.847465] [813f56b8] really_probe+0x68/0x190 [1.847465] [813f5945] driver_probe_device+0x45/0x70 [1.847465] [813f5a1b] __driver_attach+0xab/0xb0 [1.847465] [813f5970] ? driver_probe_device+0x70/0x70 [1.847465] [813f5970] ? driver_probe_device+0x70/0x70 [1.847465] [813f47ac] bus_for_each_dev+0x5c/0x90 [1.847465] [813f547e] driver_attach+0x1e/0x20 [1.847465] [813f50d0] bus_add_driver+0x1a0/0x270 [1.847465] [813f5f86] driver_register+0x76/0x140 [1.847465] [813f7416] platform_driver_register+0x46/0x50 [1.847465] [813f7448] platform_driver_probe+0x28/0xb0 [1.847465] [813f7be1] platform_create_bundle+0xc1/0xf0 [1.847465] [81d34e86] ? i8042_probe.part.10+0xbd/0xbd [1.847465] [81d349eb] ? i8042_platform_init+0xb1/0xb1 [1.847465] [81d34a47] i8042_init+0x5c/0x80 [1.847465] [81002040] do_one_initcall+0x40/0x180 [1.847465] [81cfbce9] kernel_init+0xd9/0x158 [1.847465] [816643f4] kernel_thread_helper+0x4/0x10 [1.847465] [81cfbc10] ? start_kernel+0x3bd/0x3bd [1.847465] [816643f0] ? gs_change+0x13/0x13 [1.847465] ---[ end trace ffc3668eca9f076b ]--- ... [ 60.721539] init: failsafe main process (734) killed by TERM signal [ 60.756219] type=1400 audit(1343661831.840:8): apparmor=STATUS operation=profile_replace name=/sbin/dhclient pid=877 comm=apparmor_parser [ 60.756574] type=1400 audit(1343661831.840:9): apparmor=STATUS operation=profile_replace name=/usr/lib/NetworkManager/nm-dhcp-client.action pid=877 comm=apparmor_parser [ 60.756777] type=1400 audit(1343661831.840:10): apparmor=STATUS operation=profile_replace name=/usr/lib/connman/scripts/dhclient-script pid=877 comm=apparmor_parser [ 60.762495] type=1400 audit(1343661831.844:11): apparmor=STATUS operation=profile_load name=/usr/sbin/libvirtd pid=879 comm=apparmor_parser [ 60.772471] type=1400 audit(1343661831.856:12): apparmor=STATUS operation=profile_load name=/usr/sbin/tcpdump pid=881 comm=apparmor_parser [ 60.772800] type=1400 audit(1343661831.856:13): apparmor=STATUS operation=profile_load name=/usr/lib/libvirt/virt-aa-helper pid=878 comm=apparmor_parser [ 60.837322] init: libvirt-bin main process (957) terminated with status 6 [ 60.837345] init: libvirt-bin main process ended, respawning [ 60.850389] init: libvirt-bin main process (973) terminated with status 6 [ 60.850411] init: libvirt-bin main process ended, respawning [ 60.863761] init: libvirt-bin main process (989) terminated with status 6 [ 60.863783] init: libvirt-bin main process ended, respawning [ 60.890572] init: libvirt-bin main process (1022) terminated with status 6 [ 60.890597] init: libvirt-bin main process ended, respawning [ 60.904526] init: libvirt-bin main process (1042) terminated with status 6 [ 60.904550] init:
Re: [one-users] occi-compute client ingnores the type, allways driver name='qemu' type='raw' cache='default'/
Hi Daniel, (adding user list in CC) Thanks, the first option is working right; the xml output of command line does not reflect the DRIVER attribute, but it is present on the deployment.0 and also on the sunstone portal, and the images are working ok. [root@one01 ~]# cat /var/lib/one/161/deployment.0 domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' nameone-161/name memory1048576/memory os type arch='x86_64'hvm/type boot dev='hd'/ /os devices emulator/usr/bin/kvm/emulator disk type='file' device='disk' source file='/var/lib/one//161/images/disk.0'/ target dev='hda'/ driver name='qemu' type='qcow2' cache='default'/ /disk cheers, Víctor 2012/8/6 Daniel Molina dmol...@opennebula.org Hi Victor, On 5 August 2012 15:04, Victor Mendez vmen...@pic.es wrote: Hi Daniel, We have a Opennebula 3.2 installed from scratch. I am using the OCCI attribute in occi-compute command line client, in a XML with: DRIVER type='qcow2'/ when I use the sunstone templates, like: DISK=[ BUS=ide, DRIVER=qcow2, FORMAT=ext3, IMAGE_ID=4, TARGET=hda, TYPE=fs ] ... to create a new VM from the sunstone portal, It works without problem, with a: [root@one01 ~]# cat /var/lib/one/97/deployment.0 domain type='kvm' xmlns:qemu=' http://libvirt.org/schemas/domain/qemu/1.0' nameone-97/name vcpu1/vcpu memory1048576/memory os type arch='x86_64'hvm/type boot dev='hd'/ /os devices emulator/usr/bin/kvm/emulator disk type='file' device='disk' source file='/var/lib/one//97/images/disk.0'/ target dev='hda' bus='ide'/ driver name='qemu' type='qcow2' cache='default'/ /disk . but wen I do a occi-compute create with the xml DRIVER type='qcow2'/ attribute, I get: [root@one01 ~]# cat /var/lib/one/156/deployment.0 domain type='kvm' xmlns:qemu=' http://libvirt.org/schemas/domain/qemu/1.0' nameone-156/name memory1048576/memory os type arch='x86_64'hvm/type boot dev='hd'/ /os devices emulator/usr/bin/kvm/emulator disk type='file' device='disk' source file='/var/lib/one//156/images/disk.0'/ target dev='hda'/ driver name='qemu' type='raw' cache='default'/ /disk ... instead of the expected type='qcow2', failing to boot the image raw wich actually is a qcow2 Is this a bug or something to be configured in the .erb? using a [root@one01 ~]# cat /etc/one/occi_templates/small-vmdirac.erb . DISK=[ BUS=ide, DRIVER=qcow2, FORMAT=ext3, IMAGE_ID=4, TARGET=hda, TYPE=fs ] as instance type in the xml occi-compute create, it is working ok, but this is breaking our dynamic configuration with the occi command line and appropiate IMAGE_ID, etc depending on changing conditions. What can we do to have the qcow2 functionality in occi command line, please? In order to achieve this, you can: a) Modify the common.erb file to include the driver attribute from the user xml, since this is not supported in the current implementation. diff --git a/src/cloud/occi/etc/templates/common.erb b/src/cloud/occi/etc/templates/comm index 4dd2fba..2f58bd8 100644 --- a/src/cloud/occi/etc/templates/common.erb +++ b/src/cloud/occi/etc/templates/common.erb @@ -11,6 +11,9 @@ % @vm_info.each('DISK') do |disk| % % if disk.attr('STORAGE','href') % DISK = [ IMAGE_ID = %= disk.attr('STORAGE','href').split('/').last % + % if disk['DRIVER'] % + ,DRIVER = %= disk['DRIVER'] % + % end % ] % end % % end % The user will specify the DRIVER in the DISK xml as follows: COMPUTE ... DISK STORAGE href=http://www.opennebula.org/storage/0/ DRIVERqcow2/DRIVER /DISK b) Instead of specifying the driver in the disk, you can specify it in the image, and the VM will use the image value if none is defined in the disk section. Therefore the driver depends on the image template and not on the VM. http://opennebula.org/documentation:rel3.6:img_template#template_attributes Hope this helps. BTW for this kind of questions please use the mailing list (http://lists.opennebula.org/listinfo.cgi/users-opennebula.org), so other users can benefit from it. Would you mind to forward it to the list if it works? Cheers -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- Víctor Méndez Muñoz LHCb Tier1 Contact Port d'Informació Científica (PIC) Tel: +34935813772 Web: http://www.pic.es PIC is maintained through a collaboration agreement between CIEMAT (Ministerio
[one-users] one 3.6, sunstone connect error
Hi, after upgrading to open nebula 3.6, I have some errors in sunstone I did not have before. When connecting as oneadmin, I see: Error connecting to server (Connection refused - connect(2)). Server: localhost:9292 though everything in the interface looks fine. When connecting as a user, I have errors: Action VM.monitor_all not defined (several times) Error connecting to server (Connection refused - connect(2)). Server: localhost:9292 and my dashboard keeps waiting to load VM status. I see no error in oned.log nor sunstone log. Olivier -- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] one 3.6, sunstone connect error
I could fix the issue by clearing the browser cache Le 8/9/12 11:36 AM, Olivier Sallou a écrit : Hi, after upgrading to open nebula 3.6, I have some errors in sunstone I did not have before. When connecting as oneadmin, I see: Error connecting to server (Connection refused - connect(2)). Server: localhost:9292 though everything in the interface looks fine. When connecting as a user, I have errors: Action VM.monitor_all not defined (several times) Error connecting to server (Connection refused - connect(2)). Server: localhost:9292 and my dashboard keeps waiting to load VM status. I see no error in oned.log nor sunstone log. Olivier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Hybrid Cloud with some instances of OpenNebula
Hello, There are some tutorials describing hybrid cloud setup of OpenNebula and Amazon AWS. As far I understand vmm and im ec2 drivers are implemented for compatibility with AWS EC2? I'm wondering what about compatibility of EC2 exposed by the OpenNebula. If ruby one_vmm_ec2.rb script is able to interact with OpenNebula Ec2? Maybe there are some tutorials describing hybrid cloud setup consisting of two OpenNebula installations. I suppose the the biggest challenge is to configure EC2 plugin and HTTPS connector including PKI? -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj 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 Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI user interface ( User not authorized)
Hi, It works now. Thanks, Best, Héctor From: Daniel Molina [dmol...@opennebula.org] Sent: Wednesday, 8 August 2012 6:24 PM To: Fernandez, H.J. Cc: opennebula users Subject: Re: [one-users] OCCI user interface ( User not authorized) Hi, On 8 August 2012 18:19, Fernandez, H.J. hector.fernan...@vu.nl wrote: Hi all, I just installed OpenNebula version 3.6.0.1 and KVM on my machine. Everything works well except the OCCI Server. When I write on my browser http://localhost:4567/, it show a blank page, no login, no attached image on it. So I checked the logs out and I found this error: Wed Aug 08 18:02:18 2012 [E]: User not authorized Wed Aug 08 18:02:18 2012 [I]: 127.0.0.1 - - [08/Aug/2012 18:02:18] GET / HTTP/1.1 401 - 0.0070 Use http://localhost:4567/ui instead of http://localhost:4567/ to access the Self Service GUI or use occi-compute/storate... commands to interact with the server through the CLI. Cheers I updated my occi-server.rb file and updated ´gem´ as you mentioned in a previous thread. But it doesn´t work. /usr/lib/one/ruby/cloud/occi/occi-server.rb My version of sinatra is 1.3.2, however I detected that opennebula has as well installed another version of sinatra 1.2.6. I tried to remove this old version of sinatra but it isn´t possible, cause it has dependencies with opennebula installation. Thanks in advance, Best, Héctor ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Problem in Running Virtual Machine
Hi, I am new user to open nebula we wanted to use open nebula as our cloud middleware i have HOST - Fedora 16 (i686) hypervisor- XEN (version provided by Fedora) The image i am using is created by the xen running on the host. but when i run i get Following error. this is my image info IMAGE 0 INFORMATION ID : 0 NAME : centOS USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 08/09 17:40:54 PERSISTENT : No SOURCE : /var/lib/one/datastores/1/ 1b4a602103806f276d7bfe73aa5bb3a3 PATH : /tmp/thin-body20120809-7003-e9h3mt-0 SIZE : 8192 - Ignored: STATE : rdy RUNNING_VMS: 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- IMAGE TEMPLATE BUS=ide DEV_PREFIX=xvd this is my template info TEMPLATE 0 INFORMATION ID : 0 NAME : CentOs-Temp USER : oneadmin GROUP : oneadmin REGISTER TIME : 08/09 18:14:41 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NAME=CentOs-Temp NIC=[ NETWORK=testNW, NETWORK_UNAME=oneadmin ] OS=[ BOOTLOADER=/usr/bin/pygrub ] RAW=[ TYPE=xen ] TEMPLATE_ID=0 VCPU=2 LOGs Thu Aug 9 18:53:01 2012 [DiM][I]: New VM state is ACTIVE. Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is PROLOG. Thu Aug 9 18:53:01 2012 [VM][I]: Virtual Machine has no context Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is BOOT Thu Aug 9 18:53:01 2012 [VMM][I]: Generating deployment file: /var/lib/one/3/deployment.0 Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 0 Thu Aug 9 18:53:02 2012 [VMM][I]: Successfully execute network driver operation: pre.Thu Aug 9 18:53:02 2012 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//datastores/0/3/deployment.0 shivay.cdacb.in 3 shivay.cdacb.inThu Aug 9 18:53:02 2012 [VMM][I]: Error: Had a bootloader specified, but no disks are bootableThu Aug 9 18:53:02 2012 [VMM][E]: Unable Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 1 Thu Aug 9 18:53:02 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.Thu Aug 9 18:53:02 2012 [VMM][E]: Error deploying virtual machine: Unable Thu Aug 9 18:53:03 2012 [DiM][I]: New VM state is FAILED Not able to understand what is it please tell me ASAP Thanks and Regards Shivay veer Sharma - Done. -- Forwarded message -- From: shivay veer sharma shivay.v...@gmail.com To: users-requ...@lists.opennebula.org Cc: Date: Thu, 9 Aug 2012 18:56:14 +0530 Subject: Problem In running Virtual Machine hi, I am new user to open nebula we wanted to use open nebula as our cloud middleware i have HOST - Fedora 16 (i686) hypervisor- XEN (version provided by Fedora) The image i am using is created by the xen running on the host. but when i run i get Following error. this is my image info IMAGE 0 INFORMATION ID : 0 NAME : centOS USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 08/09 17:40:54 PERSISTENT : No SOURCE : /var/lib/one/datastores/1/1b4a602103806f276d7bfe73aa5bb3a3 PATH : /tmp/thin-body20120809-7003-e9h3mt-0 SIZE : 8192 STATE : rdy RUNNING_VMS: 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- IMAGE TEMPLATE BUS=ide DEV_PREFIX=xvd this is my template info TEMPLATE 0 INFORMATION ID : 0 NAME : CentOs-Temp USER : oneadmin GROUP : oneadmin REGISTER TIME : 08/09 18:14:41 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NAME=CentOs-Temp NIC=[ NETWORK=testNW, NETWORK_UNAME=oneadmin ] OS=[ BOOTLOADER=/usr/bin/pygrub ] RAW=[ TYPE=xen ] TEMPLATE_ID=0 VCPU=2 LOGs Thu Aug 9 18:53:01 2012 [DiM][I]: New VM state is ACTIVE. Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is PROLOG. Thu Aug 9 18:53:01 2012 [VM][I]: Virtual Machine has no context Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is BOOT Thu Aug 9 18:53:01 2012 [VMM][I]: Generating deployment file: /var/lib/one/3/deployment.0 Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 0 Thu Aug 9 18:53:02 2012 [VMM][I]: Successfully execute network driver operation: pre.Thu Aug 9 18:53:02 2012 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//datastores/0/3/deployment.0 shivay.cdacb.in 3 shivay.cdacb.inThu Aug 9 18:53:02 2012 [VMM][I]: Error: Had a bootloader specified, but no disks
[one-users] Error when deploying a VM
Hi all, I just installed OpenNebula version 3.6.0.1 and KVM on my machine. I got a problem when deploying any virtual machine. Thu Aug 9 17:38:13 2012 [DiM][I]: New VM state is ACTIVE. Thu Aug 9 17:38:14 2012 [LCM][I]: New VM state is PROLOG. Thu Aug 9 17:39:44 2012 [TM][I]: clone: Cloning ../../1/69533769449991b8637bdf1d3c23e1dc in localhost:/var/lib/one//datastores/0/12/disk.0 Thu Aug 9 17:39:45 2012 [TM][I]: ExitCode: 0 Thu Aug 9 17:39:47 2012 [TM][I]: context: Generating context block device at localhost:/var/lib/one//datastores/0/12/disk.1 Thu Aug 9 17:39:47 2012 [TM][I]: ExitCode: 0 Thu Aug 9 17:39:47 2012 [LCM][I]: New VM state is BOOT Thu Aug 9 17:39:47 2012 [VMM][I]: Generating deployment file: /var/lib/one/12/deployment.0 Thu Aug 9 17:39:48 2012 [VMM][I]: ExitCode: 0 Thu Aug 9 17:39:48 2012 [VMM][I]: Successfully execute network driver operation: pre. Thu Aug 9 17:39:54 2012 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/12/deployment.0 localhost 12 localhost Thu Aug 9 17:39:54 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/12/deployment.0 Thu Aug 9 17:39:54 2012 [VMM][I]: error: Unable to read from monitor: Connection reset by peer Thu Aug 9 17:39:54 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/12/deployment.0 Thu Aug 9 17:39:54 2012 [VMM][I]: ExitCode: 255 Thu Aug 9 17:39:54 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy. Thu Aug 9 17:39:54 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/12/deployment.0 Thu Aug 9 17:39:55 2012 [DiM][I]: New VM state is FAILED I have rechecked all the configuration and I don´t find where I made a mistake. qemu.conf libvirtd.conf Thanks in advance, Best, Héctor ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Error when deploying a VM
Hi all, I add a bit more of information. I went to the directory with the deployment files and I typed ¨virsh create deployment.0¨ That is what I got: WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-8JpyUO/pkcs11: Permission denied error: Failed to create domain from deployment.0 error: internal error process exited while connecting to monitor: qemu: could not load kernel '/vmlinuz': Permission denied That is what causes my problem ? Kind regards, Héctor ¨ From: users-boun...@lists.opennebula.org [users-boun...@lists.opennebula.org] on behalf of Fernandez, H.J. [hector.fernan...@vu.nl] Sent: Thursday, 9 August 2012 5:46 PM To: opennebula users Subject: [one-users] Error when deploying a VM Hi all, I just installed OpenNebula version 3.6.0.1 and KVM on my machine. I got a problem when deploying any virtual machine. Thu Aug 9 17:38:13 2012 [DiM][I]: New VM state is ACTIVE. Thu Aug 9 17:38:14 2012 [LCM][I]: New VM state is PROLOG. Thu Aug 9 17:39:44 2012 [TM][I]: clone: Cloning ../../1/69533769449991b8637bdf1d3c23e1dc in localhost:/var/lib/one//datastores/0/12/disk.0 Thu Aug 9 17:39:45 2012 [TM][I]: ExitCode: 0 Thu Aug 9 17:39:47 2012 [TM][I]: context: Generating context block device at localhost:/var/lib/one//datastores/0/12/disk.1 Thu Aug 9 17:39:47 2012 [TM][I]: ExitCode: 0 Thu Aug 9 17:39:47 2012 [LCM][I]: New VM state is BOOT Thu Aug 9 17:39:47 2012 [VMM][I]: Generating deployment file: /var/lib/one/12/deployment.0 Thu Aug 9 17:39:48 2012 [VMM][I]: ExitCode: 0 Thu Aug 9 17:39:48 2012 [VMM][I]: Successfully execute network driver operation: pre. Thu Aug 9 17:39:54 2012 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/12/deployment.0 localhost 12 localhost Thu Aug 9 17:39:54 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/12/deployment.0 Thu Aug 9 17:39:54 2012 [VMM][I]: error: Unable to read from monitor: Connection reset by peer Thu Aug 9 17:39:54 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/12/deployment.0 Thu Aug 9 17:39:54 2012 [VMM][I]: ExitCode: 255 Thu Aug 9 17:39:54 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy. Thu Aug 9 17:39:54 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/12/deployment.0 Thu Aug 9 17:39:55 2012 [DiM][I]: New VM state is FAILED I have rechecked all the configuration and I don´t find where I made a mistake. qemu.conf libvirtd.conf Thanks in advance, Best, Héctor ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org