[one-users] instantiating template for Debian xen
Javier Fontan
jfontan at opennebula.org
Wed Mar 19 11:04:15 PDT 2014
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.masevicius at 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/4fec9fb28fb81d2ebc000002
>
> 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.masevicius at ntt.lt
> www.ntt.lt
> www.spykas.com
>
> _______________________________________________
> Users mailing list
> Users at 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
More information about the Users
mailing list