[one-users] Get Virtual network IP problem When it creates VM

2011-06-06 Thread liudewei
 
Hi,
Get Virtual network  IP problem When it creates VM

"onevnet list" command execute the belowing:

VIRTUAL NETWORK 127 INFORMATION 
ID:   : 127 
UID:  : 0   
VIRTUAL NETWORK TEMPLATE
BRIDGE=xenbr.eth0
NAME=10.100.23.0
NETWORK_ADDRESS=10.100.23.20
NETWORK_SIZE=5
TYPE=RANGED
LEASES INFORMATION  
LEASE=[ IP=10.100.23.17, MAC=00:03:0a:64:17:11, USED=1, VID=127 ]

after create the VM template
#onevm show 127
NIC=[
  BRIDGE=xenbr.eth0,
  IP=10.100.23.17,
  MAC=00:03:0a:64:17:11,
  NETWORK=10.100.23.0,
  VNID=127 ]

if it used TYPE=FIXED,the VM could allocate right IP from it(fixed).
Why?

regars
thanks!
2011-06-07 



david
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---
<><><><><><><><><><>___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] SVMSched (Smart Virtual Machine Scheduler) -- New contribution to OpenNebula ecosystem

2011-06-06 Thread Borja Sotomayor

Hi everyone,

We have a new contribution to the OpenNebula ecosystem: SVMSched (Smart 
Virtual Machine Scheduler), a tool to easily set up on-demand SaaS and 
PaaS cloud infrastructures on top of OpenNebula.


More details here:

http://www.opennebula.org/software:ecosystem:svmsched

Thanks to Rodrigue Chakode from INRIA (http://www.inria.fr/) for 
contributing this!


Cheers,
--
Borja Sotomayor

 Scientific Writer, Computation Institute
 Lecturer, Department of Computer Science
 University of Chicago
 http://people.cs.uchicago.edu/~borja/

 Community Manager, OpenNebula project
 http://www.opennebula.org/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] NIC model in a xen machine

2011-06-06 Thread Ruben Diez

Hi:

We are attempt to use an "e1000" network card in a virtual machine 
running in a xen virtualization node under OpenNebula control.


In a direct xen configuración file this is done by the line:

vif = 
['model=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',]


But when we use this line in the openebula template:


NIC=[ NETWORK="AA", IP=xxx.xxx.xxx.xxx, MODEL="e1000" ]

The generated line in the deployment.0 file is:

vif = 
['type=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',]


instead the correct one:

vif = 
['model=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',]



So: how can we do in order to force the xen "model" parameter from the 
opennebula machine template???


Note that a "model" parameter in the opennebula template correspond to a 
"type" parameter in the xen deployment.0, not to a "model" parameter...


Regards.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OCCI v 1.1

2011-06-06 Thread florian.feldhaus
Hi,

hard to say what's going wrong here. Did you switch back to OCCI 1.0 
implementation? Either way, please check the log files e.g. var/occi-server.log 
and var/one.log and send the information regarding the problem to the list.

Cheers,
Florian

Von: seb delta mailto:neg.sebast...@gmail.com>>
Datum: Thu, 2 Jun 2011 11:27:25 +0100
An: Florian Feldhaus 
mailto:florian.feldh...@tu-dortmund.de>>
Cc: mailto:users@lists.opennebula.org>>
Betreff: Re: [one-users] OCCI v 1.1

it works fine now, in fact i switched to the  official one distributed by 
opennebula.
 i am trying now to create a network:
occi-network --url http://occi.opennebula:1147 --username oneadmin --password 
oneadmin create rv.xml
with rv.xml http://www.fpaste.org/dhhf/
i have this error: Error trying to CREATE NET Can not update Virtual Network, 
id: 10.


On Thu, Jun 2, 2011 at 10:57 AM, seb delta 
mailto:neg.sebast...@gmail.com>> wrote:
hi, i have problem starting occi-server, can i have some help plz?
here is my occi-server.conf http://www.fpaste.org/RCTZ/
and my occi-one.conf http://www.fpaste.org/49JF/
when i launched occi-server start i have the following error:
Error executing /home/esprit/one/lib/ruby/cloud/occi/occi-server.rb
any suggestion?




On Mon, May 23, 2011 at 12:12 PM, 
mailto:florian.feldh...@tu-dortmund.de>> wrote:
Damn. The links to the files have changed since I wrote them into the Wiki. I 
searched for a Redmine machanism to dynamicly link to the files, but that's not 
yet supported by Redmine. So I changed the text to point to 
http://dev.opennebula.org/projects/ogf-occi/files and now one more click is 
required to download the file.

BTW: We are currently working on a big update for the OCCI 1.1 server based on 
the feedback we received during the last weeks. With the next version we will 
use Phusion Passenger to support either a standalone ruby webserver, Nginx or 
Apache. This improves authentication (e.g.all Apache/Nginx Auth modules like 
Shibboleth, OpenID, etc. should become available) and scalability a lot. Also 
we are using the new template mechanism of OpenNebula 2.4 to add more OCCI 
functionality (e.g. OS templates, full OCCI action support).

Cheers,
Florian

Von: seb delta mailto:neg.sebast...@gmail.com>>
Datum: Mon, 23 May 2011 11:55:51 +0100
An: Florian Feldhaus 
mailto:florian.feldh...@tu-dortmund.de>>
Cc: mailto:users@lists.opennebula.org>>
Betreff: Re: [one-users] OCCI v 1.1

Thanks,
Now it works for me. in fact I use the link in
http://dev.opennebula.org/projects/ogf-occi/wiki

On Mon, May 23, 2011 at 11:38 AM, 
mailto:florian.feldh...@tu-dortmund.de>> wrote:
Hi,

are you loading the files from 
http://dev.opennebula.org/projects/ogf-occi/files ? For me the download links 
are working. Could you tell me what error you get when trying to download the 
file?

Cheers,
Florian

Von: seb delta mailto:neg.sebast...@gmail.com>>
Datum: Mon, 23 May 2011 11:35:29 +0100
An: Opennebula mailto:users@lists.opennebula.org>>
Betreff: [one-users] OCCI v 1.1

Hi,
I can't download "ogf-occi-0.2" to implement OCCI v 1.1 on Opennebula 
installation.

___ Users mailing list 
Users@lists.opennebula.org 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Unable to Ping Migrated VM

2011-06-06 Thread Koushik Annapureddy
Hello Steffen,

 There is no firewall between front end , node1 and node2. Since I am trying
to ping from frontend.

1) Does ping work when you migrate back ?

When I tried to migrate back the VM from node2 to node1 .. It got stuck in
SAVE_MIGRATE state and from the virsh list (node1) its empty.. while in
node2 (virsh list) its showing vm as running.

2) 2) Can you deploy a VM directly to node2 ?
  (You may have to disable node1 so that subsequent onevm create
   go directly to node2)

I tried to deploy another VM directly on node2 ( by disabling node1) and the
deployed VM got stuck in BOOT mode in node2.



On Mon, Jun 6, 2011 at 1:19 PM, Steffen Neumann wrote:

> Hi,
>
> On Mon, 2011-06-06 at 11:59 +0300, Koushik Annapureddy wrote:
> > Can any one help in debugging this problem.
>
> First idea is bridge setup, or maybe firewall rules.
>
> 1) Does ping work when you migrate back ?
>
> 2) Can you deploy a VM directly to node2 ?
>   (You may have to disable node1 so that subsequent onevm create
>go directly to node2)
>
> Yours,
> Steffen
>
> --
> IPB HalleAG Massenspektrometrie & Bioinformatik
> Dr. Steffen Neumann  http://www.IPB-Halle.DE
> Weinberg 3   http://msbi.bic-gh.de
> 06120 Halle  Tel. +49 (0) 345 5582 - 1470
>  +49 (0) 345 5582 - 0
> sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409
>
>
>


-- 
Thanks
Koushik Annapureddy
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Unable to Ping Migrated VM

2011-06-06 Thread Steffen Neumann
Hi,

On Mon, 2011-06-06 at 11:59 +0300, Koushik Annapureddy wrote:
> Can any one help in debugging this problem.

First idea is bridge setup, or maybe firewall rules.

1) Does ping work when you migrate back ?

2) Can you deploy a VM directly to node2 ?
   (You may have to disable node1 so that subsequent onevm create 
go directly to node2)

Yours,
Steffen

-- 
IPB HalleAG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann  http://www.IPB-Halle.DE
Weinberg 3   http://msbi.bic-gh.de
06120 Halle  Tel. +49 (0) 345 5582 - 1470
  +49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Yet another problem with connecting to ttylinux via ssh

2011-06-06 Thread Adnan Pasic

Hi,
sorry for the late response! Here are the config-infos you wanted:

nebula@nebula2:~$ brctl show
bridge name bridge id   STP enabled interfaces
virbr0  8000.fe00c0a80005   yes vnet0


nebula@nebula2:~$ netstat -nr
Kernel-IP-Routentabelle
ZielRouter  Genmask Flags   MSS Fenster 
irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  
0 eth0
192.168.122.0   0.0.0.0 255.255.255.0   U 0 0  
0 virbr0
0.0.0.0 192.168.0.1 0.0.0.0 UG0 0  
0 eth0



Any idea? I would like my VM to have the IP from the same subnet as the 
original PC...

Regards



On Wed, 1 Jun 2011 17:45:26 +0200, Javier Fontan wrote:

Can you send us the configuration of bridges and routes from your
physical host?

brctl show
netstat -nr

On Tue, May 31, 2011 at 3:18 PM, Adnan Pasic  wrote:
OK, the problem with the vncviewer was yet another beginners' 
mistake. I am
now able to log into the ttylinux-VM and perform a "ifconfig". 
Here's what I

get:
eth0  Link encap:Ethernet  Hardware Adresse 02:00:C0:A8:00:05
  inet Adresse:192.168.0.5  Bcast:192.168.0.255  
Maske:255.255.255.0

  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:321 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:1000
  RX bytes:0 (0.0 B)  TX bytes:19260 (18.8 KB)
  Interrupt:11 Basisadresse: 0xc100

lo    Link encap:Lokale Schleife
  inet Adresse:127.0.0.1  Maske:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metrik:1
  RX packets:320 errors:0 dropped:0 overruns:0 frame:0
  TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:0
  RX bytes:35840 (35.0 KB)  TX bytes:35840 (35.0 KB)
And still I can't ping whether the host PC (192.168.0.3), nor the
ONE-frontend (192.168.0.1). Obviously it's some kind of 
virtual-network
configuration issue. However, strangely the migration and 
suspend/resume

etc. are working, but only the ping won't do!


Von: Adnan Pasic 
An: "users@lists.opennebula.org" 
Gesendet: 12:13 Dienstag, 31.Mai 2011
Betreff: [one-users] Yet another problem with connecting to ttylinux 
via ssh


Hello,
I've been trying to enter my ttylinux-VM from the tutorial, but 
somehow the
connection just cant be established. Every time I get a "no route to 
host"
error, when I try the various IP's. First of all, here are my 
ifconfig data,

after the VM has been created:
eth0  Link encap:Ethernet  Hardware Adresse 00:19:99:03:b0:3e
  inet Adresse:192.168.0.3  Bcast:192.168.0.255  
Maske:255.255.255.0

  inet6-Adresse: fe80::219:99ff:fe03:b03e/64
Gültigkeitsbereich:Verbindng
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
  RX packets:21659 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10582 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:1000
  RX bytes:31304320 (31.3 MB)  TX bytes:776923 (776.9 KB)
  Interrupt:17

lo    Link encap:Lokale Schleife
  inet Adresse:127.0.0.1  Maske:255.0.0.0
  inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
  UP LOOPBACK RUNNING  MTU:16436  Metrik:1
  RX packets:70 errors:0 dropped:0 overruns:0 frame:0
  TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:0
  RX bytes:5584 (5.5 KB)  TX bytes:5584 (5.5 KB)

virbr0    Link encap:Ethernet  Hardware Adresse fe:00:c0:a8:00:06
  inet Adresse:192.168.122.1  Bcast:192.168.122.255
Maske:255.255.255.0
  inet6-Adresse: fe80::a8e2:ff:fe60:a424/64
Gültigkeitsbereich:Verbindugn
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
  RX packets:5 errors:0 dropped:0 overruns:0 frame:0
  TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:0
  RX bytes:230 (230.0 B)  TX bytes:5750 (5.7 KB)

vnet0 Link encap:Ethernet  Hardware Adresse fe:00:c0:a8:00:06
  inet6-Adresse: fe80::fc00:c0ff:fea8:6/64
Gültigkeitsbereich:Verbindun  UP BROADCAST RUNNING 
MULTICAST

MTU:1500  Metrik:1
  RX packets:5 errors:0 dropped:0 overruns:0 frame:0
  TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:500
  RX bytes:300 (300.0 B)  TX bytes:1040 (1.0 KB)


The VM has been created with the IP 192.168.0.5, but when I try to 
ssh onto
it, I get the above mentioned error. Strangely, when I perform a 
"sudo
vncviewer localhost:6789" I get the screen of the VM, but can't also 
do
anything in it. I try to type in the password, but no keystrokes get 
taken
over and the vncviewer screen looks more l

Re: [one-users] mkdir: cannot create directory /var/lib/one: Permission denied

2011-06-06 Thread Jaime Melis
Hi Amber,

apparently something went wrong during the installation. Could you create in
your worker node /var/lib/one and give ownership to oneadmin?

regards,
Jaime

On Fri, Jun 3, 2011 at 4:14 PM, Amber Jain  wrote:

> Also, here is output of "onevm show 0":
> http://pastebin.com/Mu07UQ63
>
> Output of "onehost show 1":
> http://pastebin.com/UzDNGjDr
>
> There are 2 machines in this setup (as I mentioned in my previous mail).
> Frontend server is 'useraj2', while worker node is 'useraj1'. I can do
> password-less SSH from 'oneadmin' on 'useraj2' to 'oneadmin' on 'useraj1'
> (i.e. I can SSH worker node from frontend server).
>
>
>
> On Fri, Jun 3, 2011 at 7:39 PM, Amber Jain  wrote:
>
>> Hello,
>>
>> I'm trying to setup opennebula express 2.2.0 on clean install of Ubuntu
>> 10.04.1.
>> My network topology consists of 1 frontend server and 1 worker node.
>> install.sh and node-install.sh are both installed successfully.
>>
>> When I try to deploy ttylinux VM (as instructed at
>> http://opennebula.org/documentation:rel2.2:vmg), the VM stat shows "fail"
>> (http://pastebin.com/phG4xrnX).
>>
>> When I tried searching google, this thread sounds very similar. I tried
>> many combinations of permissions but couldnot get it working. Can anyone
>> please elaborate as to how do I resolve this permission(s) issue?
>>
>> I'm attaching relevant configuration and log files with this mail.
>> The output of onehost list: http://pastebin.com/gt58WUkx
>>
>> Thanks in advance...
>>
>> --
>> Amber Jain
>> http://amberj.devio.us/
>>
>>
>
>
> --
> Amber Jain
> http://amberj.devio.us/
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Unable to Ping Migrated VM

2011-06-06 Thread Koushik Annapureddy
Hello All,

I am having an set up with Front End and 2 Host nodes. When I issue a
migrate command for running ubuntu VM from one physical node to other. I am
able to see the onevm list result as it is migrated to other physical host
and it is in running status. I am migrating from node1 to node2

>From virsh list command in migrated physical host(node2) i am able to see
details of migrated VM as running.In the node1 using virsh list i am getting
an empty list (as expected).  But when I tried ping for migrated vm i am
unable to connect.

Can any one help in debugging this problem.
-- 
Thanks
Koushik Annapureddy
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Cannot start VM with XEN

2011-06-06 Thread anthony garnier

Hi,

Yes I'm running oned as root and I already used the "no root squash" option. 
Why root would create issues ?



> Date: Wed, 1 Jun 2011 17:55:33 +0200
> Subject: Re: [one-users] Cannot start VM with XEN
> From: jfon...@gmail.com
> To: sokar6...@hotmail.com
> CC: users@lists.opennebula.org
> 
> Are you running oned as root? If you are doing so take into account
> that nfs can give you some problems with nfs mounts and root
> ownership. Maybe you can solve those problems adding no_root_squash to
> export/mount options.
> 
> Anyway, the recommended way to run opennebula is with its own user and
> having that same user/id in all the nodes.
> 
> On Fri, May 27, 2011 at 3:18 PM, anthony garnier  
> wrote:
> > Hi,
> >
> > I've just installed openebula  and I can't create a VM.
> > I use Xen hypervisor 3.1.2
> >
> > Frontend : one
> > CentOS 5.5 64bits
> >
> > Node in cluster : node01
> > CentOS 5.5 64bits for Dom0
> > Debian lenny i386 for DomU
> >
> > I can directly create a fully running Debian VM with xm cmd but when I use
> >  # onevm create debian.one
> >
> > # onevm list
> >  ID USER NAMESTAT   CPU MEMHOSTNAMETIME
> >  17 rootdebian fail 00K
> > node01  00 00:01:04
> >
> >
> > content of debian.one :
> >
> > NAME   = debian
> > CPU= 1
> > MEMORY = 512
> >
> > OS = [
> >kernel   = "/boot/vmlinuz-2.6.26-2-686-bigmem",
> >initrd   = "/boot/initrd.img-2.6.26-2-686-bigmem",
> >root = "xvda1" ]
> > #OS = [BOOTLOADER  = /usr/bin/pygrub]
> >
> > DISK   = [
> >source   = "/opt/nebula/repo/debian.img",
> >target   = "xvda1",
> >readonly = "no",
> >driver   = "file:"   ] # already tried to change into tap:aio
> >
> > DISK   = [
> >type = "swap",
> >size = 1024,
> >target   = "xvda2"]
> >
> > NIC= [ NETWORK = network ]
> >
> >
> > Content of deployment0
> >
> > name = 'one-14'
> > #O CPU_CREDITS = 256
> > memory  = '512'
> > kernel = '/boot/vmlinuz-2.6.26-2-686-bigmem'
> > ramdisk = '/boot/initrd.img-2.6.26-2-686-bigmem'
> > root = '/dev/xvda1'
> > disk = [
> > 'file:/opt/nebula/images/14/images/disk.0,xvda1,w',
> > 'tap:aio:/opt/nebula/images/14/images/disk.1,xvda2,w',
> > ]
> > vif = [
> > ' mac=02:00:c0:a8:00:10,ip=192.168.0.16,bridge=xenbr0',
> > ]
> >
> > Logfile :
> > cat /var/log/one/14.log
> > Fri May 27 11:25:00 2011 [DiM][I]: New VM state is ACTIVE.
> > Fri May 27 11:25:00 2011 [LCM][I]: New VM state is PROLOG.
> > Fri May 27 11:25:00 2011 [VM][I]: Virtual Machine has no context
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh:
> > one:/opt/nebula/repo/debian.img node01:/opt/nebula/images/14/images/disk.0
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: DST:
> > /var/lib/one/14/images/disk.0
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Creating directory
> > /var/lib/one/14/images
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
> > /var/lib/one/14/images".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
> > /var/lib/one/14/images".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Cloning
> > /opt/nebula/repo/debian.img
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "cp -r
> > /opt/nebula/repo/debian.img /var/lib/one/14/images/disk.0".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> > /var/lib/one/14/images/disk.0".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Creating directory
> > /var/lib/one/14/images
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "mkdir -p
> > /var/lib/one/14/images".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "chmod a+w
> > /var/lib/one/14/images".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in
> > /var/lib/one/14/images/disk.1
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "/bin/dd
> > if=/dev/zero of=/var/lib/one/14/images/disk.1 bs=1 count=1 seek=1024M".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Initializing swap space
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "/sbin/mkswap
> > /var/lib/one/14/images/disk.1".
> > Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "chmod a+w
> > /var/lib/one/14/images/disk.1".
> > Fri May 27 11:25:42 2011 [LCM][I]: New VM state is BOOT
> > Fri May 27 11:25:42 2011 [VMM][I]: Generating deployment file:
> > /var/lib/one/14/deployment.0
> > Fri May 27 11:25:45 2011 [VMM][I]: Command execution fail: 'if [ -x
> > "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy
> > /opt/nebula/images/14/images/deployment.0; else
> > exit 42; fi'
> > Fri May 27 11:25:45 2011 [VMM][I]: STDERR follows.
> > Fri May 27 11:25:45 2011 [VMM][I]: Error: Device 51713 (vbd) could not be
> > connected.
> > Fri May 27 11:25:45 2011 [VMM][I]: File /opt/nebula/images/14/images/disk.0
> > is read-only, and so I will not
> > Fri May 27 11:25:45 2011 [

Re: [one-users] Booting VM with xen

2011-06-06 Thread anthony garnier

Hi,

Here is the VM template : 

NAME   = debian
CPU= 1
MEMORY = 512

OS = [
   kernel   = "/boot/vmlinuz-2.6.26-2-xen-686",
   initrd   = "/boot/initrd.img-2.6.26-2-xen-686",
   root = "xvda1",
   boot = "xvda"]


DISK   = [
   source   = "/opt/nebula/repo/debian.img",
   target   = "xvda1",
   readonly = "no",
   driver   = "file:"   ]

#DISK   = [
#   type = "swap",
#   size = 1024,
#   readonly = "no"]

#NIC= [ NETWORK = network ]

FEATURES=[ acpi="no" ]


From: jme...@opennebula.org
Date: Fri, 3 Jun 2011 15:03:01 +0200
Subject: Re: [one-users] Booting VM with xen
To: sokar6...@hotmail.com
CC: users@lists.opennebula.org

Hi,
I noticed a typo in deployment.0
disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]
note the missing semicolon after "file". Can you send us OpenNebula's VM 
template?


regards,Jaime 

On Wed, Jun 1, 2011 at 3:41 PM, anthony garnier  wrote:


disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]

-- 


Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org