Re: [one-users] instantiating template for Debian xen
Hello, thanks Javier for the tip. I certainly lack knowledge how these disk images work. Theres not too much info about them. I noticed there are xen images in qcow2 format. What version of xen should i use to support those properly? As of file:, i renamed image format from raw: to file: and passed that problem as you suggested. Other issue was with sched-cred not being found. I uncommented line with sched-credit, ran 'onehost sync', but logs still complained about Error: Subcommand sched-cred not found!. I had to remove host completely from configuarion and recreate it. Now debian xen image is in running state. best regards, Antanas On 2014.03.19 20:04, Javier Fontan wrote: For Xen 4.x with xm use driver = file:. In Xen 3.x it works (and I think goes faster) with tap:aio: but I fear it is not the case with your version. On Wed, Mar 19, 2014 at 3:16 PM, Antanas Masevicius antanas.masevic...@ntt.lt wrote: Hello, been struggling to use Xen under Opennebula Version: 4.4.1-1, Host is Debian Wheezy. Xen version: Version: 4.1.4-3+deb7u1 /etc/default/xen: TOOLSTACK=xm Image: http://marketplace.c12g.com/appliance/4fec9fb28fb81d2ebc02 Template fails to instantiate: .Wed Mar 19 15:42:21 2014 [VMM][I]: Successfully execute network driver operation: pre. Wed Mar 19 15:42:23 2014 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/xen3/deploy '/var/lib/one//datastores/0/5/deployment.3' 'xen-host0' 5 xen-host0 Wed Mar 19 15:42:24 2014 [VMM][I]: Error: Block device type raw is invalid. Wed Mar 19 15:42:24 2014 [VMM][E]: Unable -- file '/var/lib/one//datastores/0/5/deployment.3' looks like: name = 'one-5' #O CPU_CREDITS = 256 memory = '512' vcpus = '1' bootloader = /usr/lib/xen-4.1/bin/pygrub disk = [ 'raw:/var/lib/one//datastores/0/5/disk.0,hda,w', 'raw:/var/lib/one//datastores/0/5/disk.1,hdb,r', ] vif = [ ' mac=02:00:c0:a8:00:65,ip=192.168.0.101,bridge=xenbr0', ] vfb = ['type=vnc,vnclisten=0.0.0.0,vncunused=0,vncdisplay=5'] - /etc/one/vmm_exec/vmm_exec_xen3.conf contains: CREDIT = 256 DISK = [ driver = raw: ] Maybe someone had similar problem? Any tips how to debug such issues? Also, maybe someone knows where i could get prepared guest images for debian wheezy for xen? -- Antanas Masevičius Technikos direktorius UAB Nacionalinis telekomunikaciju tinklas Tel. +370 5 2056000 Tel. +370 700 00031 (tiesioginis) Fax. +370 700 00034 el.p: antanas.masevic...@ntt.lt www.ntt.lt www.spykas.com ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Antanas Masevičius Technikos direktorius UAB Nacionalinis telekomunikaciju tinklas Tel. +370 5 2056000 Tel. +370 700 00031 (tiesioginis) Fax. +370 700 00034 el.p: antanas.masevic...@ntt.lt www.ntt.lt www.spykas.com ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] instantiating template for Debian xen
Hello, been struggling to use Xen under Opennebula Version: 4.4.1-1, Host is Debian Wheezy. Xen version: Version: 4.1.4-3+deb7u1 /etc/default/xen: TOOLSTACK=xm Image: http://marketplace.c12g.com/appliance/4fec9fb28fb81d2ebc02 Template fails to instantiate: .Wed Mar 19 15:42:21 2014 [VMM][I]: Successfully execute network driver operation: pre. Wed Mar 19 15:42:23 2014 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/xen3/deploy '/var/lib/one//datastores/0/5/deployment.3' 'xen-host0' 5 xen-host0 Wed Mar 19 15:42:24 2014 [VMM][I]: Error: Block device type raw is invalid. Wed Mar 19 15:42:24 2014 [VMM][E]: Unable -- file '/var/lib/one//datastores/0/5/deployment.3' looks like: name = 'one-5' #O CPU_CREDITS = 256 memory = '512' vcpus = '1' bootloader = /usr/lib/xen-4.1/bin/pygrub disk = [ 'raw:/var/lib/one//datastores/0/5/disk.0,hda,w', 'raw:/var/lib/one//datastores/0/5/disk.1,hdb,r', ] vif = [ ' mac=02:00:c0:a8:00:65,ip=192.168.0.101,bridge=xenbr0', ] vfb = ['type=vnc,vnclisten=0.0.0.0,vncunused=0,vncdisplay=5'] - /etc/one/vmm_exec/vmm_exec_xen3.conf contains: CREDIT = 256 DISK = [ driver = raw: ] Maybe someone had similar problem? Any tips how to debug such issues? Also, maybe someone knows where i could get prepared guest images for debian wheezy for xen? -- Antanas Masevičius Technikos direktorius UAB Nacionalinis telekomunikaciju tinklas Tel. +370 5 2056000 Tel. +370 700 00031 (tiesioginis) Fax. +370 700 00034 el.p: antanas.masevic...@ntt.lt www.ntt.lt www.spykas.com ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] instantiating template for Debian xen
For Xen 4.x with xm use driver = file:. In Xen 3.x it works (and I think goes faster) with tap:aio: but I fear it is not the case with your version. On Wed, Mar 19, 2014 at 3:16 PM, Antanas Masevicius antanas.masevic...@ntt.lt wrote: Hello, been struggling to use Xen under Opennebula Version: 4.4.1-1, Host is Debian Wheezy. Xen version: Version: 4.1.4-3+deb7u1 /etc/default/xen: TOOLSTACK=xm Image: http://marketplace.c12g.com/appliance/4fec9fb28fb81d2ebc02 Template fails to instantiate: .Wed Mar 19 15:42:21 2014 [VMM][I]: Successfully execute network driver operation: pre. Wed Mar 19 15:42:23 2014 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/xen3/deploy '/var/lib/one//datastores/0/5/deployment.3' 'xen-host0' 5 xen-host0 Wed Mar 19 15:42:24 2014 [VMM][I]: Error: Block device type raw is invalid. Wed Mar 19 15:42:24 2014 [VMM][E]: Unable -- file '/var/lib/one//datastores/0/5/deployment.3' looks like: name = 'one-5' #O CPU_CREDITS = 256 memory = '512' vcpus = '1' bootloader = /usr/lib/xen-4.1/bin/pygrub disk = [ 'raw:/var/lib/one//datastores/0/5/disk.0,hda,w', 'raw:/var/lib/one//datastores/0/5/disk.1,hdb,r', ] vif = [ ' mac=02:00:c0:a8:00:65,ip=192.168.0.101,bridge=xenbr0', ] vfb = ['type=vnc,vnclisten=0.0.0.0,vncunused=0,vncdisplay=5'] - /etc/one/vmm_exec/vmm_exec_xen3.conf contains: CREDIT = 256 DISK = [ driver = raw: ] Maybe someone had similar problem? Any tips how to debug such issues? Also, maybe someone knows where i could get prepared guest images for debian wheezy for xen? -- Antanas Masevičius Technikos direktorius UAB Nacionalinis telekomunikaciju tinklas Tel. +370 5 2056000 Tel. +370 700 00031 (tiesioginis) Fax. +370 700 00034 el.p: antanas.masevic...@ntt.lt www.ntt.lt www.spykas.com ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org