Re: [one-users] Problem with ebtables OpenNebula

2011-04-12 Thread Leong Marco
Tino,

I have installed rubygems. However, it is able to run in root, not oneadmin.

Leong Marco
leong.chou@usj.edu.mo



On Apr 12, 2011, at 5:22 PM, Tino Vazquez wrote:

> Hi,
> 
> You need to install the rubygems dependency, the process varies
> depending on the linux distro used.
> 
> Regards,
> 
> -Tino
> 
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
> 
> 
> 
> On Tue, Apr 12, 2011 at 2:17 AM, Leong Marco  
> wrote:
>> [oneadmin@geek ~]$ ruby -dw /usr/lib/one/mads/one_auth_mad.rb
>> Exception `LoadError' at /usr/lib/one/mads/one_auth_mad.rb:33 - no such file
>> to load -- rubygems
>> /usr/lib/one/mads/one_auth_mad.rb:33:in `require': no such file to load --
>> rubygems (LoadError)
>> from /usr/lib/one/mads/one_auth_mad.rb:33
>> here is the output.
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 11:06 PM, Tino Vazquez wrote:
>> 
>> Ok, please try
>> 
>> $ ruby -dw $ONE_LOCATION/lib/mads/one_auth_mad.rb
>> 
>> and send the output
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 4:59 PM, Leong Marco 
>> wrote:
>> 
>> Hi,
>> 
>> It return the shell.
>> 
>> Best regards.
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote:
>> 
>> Hi,
>> 
>> What happens, does it return the shell, or does it wait for input?
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> 
>> Constantino Vázquez Blanco, MSc
>> 
>> OpenNebula Major Contributor
>> 
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco 
>> 
>> wrote:
>> 
>> Hi Tino,
>> 
>> Thank you for your reply.
>> 
>> This command doesn't produce any output.
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote:
>> 
>> Dear Leong,
>> 
>> Please try the following as oneadmin, and send the output:
>> 
>> # $ONE_LOCATION/lib/mads/one_auth_mad
>> 
>> Regards,
>> 
>> .Tino
>> 
>> 
>> --
>> 
>> Constantino Vázquez Blanco, MSc
>> 
>> OpenNebula Major Contributor
>> 
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco 
>> 
>> wrote:
>> 
>> Dear Tino,
>> 
>> Yes, I did have this error in the log.
>> 
>> Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> What is the problem happen here? Thank you for your help !
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:
>> 
>> Dear Leong, Marwen,
>> 
>> If you are experiencing the following in the logs
>> 
>> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> it may be due to a missing dependency, we can walk you on finding out which
>> 
>> one.
>> 
>> Otherwise, please say so and we will look at other possible causes.
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> 
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> 
>> Virtualization Technology Engineer / Researcher
>> 
>> OpenNebula Toolkit | opennebula.org
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco 
>> 
>> wrote:
>> 
>> Hi,
>> 
>> I have the same problem as Marwen. With this log message.
>> 
>> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>> 
>> /var/lib/one/2603e38607a144aef3bef07283d77095".
>> 
>> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>> 
>> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>> 
>> /var/lib/one/165/deployment.1
>> 
>> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>> 
>> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>> 
>> executed.
>> 
>> However, if I do a list to ebtables, it is empty.
>> 
>> [oneadmin@geek root]$ sudo ebtables --list
>> 
>&

Re: [one-users] Problem with ebtables OpenNebula

2011-04-11 Thread Leong Marco
[oneadmin@geek ~]$ ruby -dw /usr/lib/one/mads/one_auth_mad.rb
Exception `LoadError' at /usr/lib/one/mads/one_auth_mad.rb:33 - no such file to 
load -- rubygems
/usr/lib/one/mads/one_auth_mad.rb:33:in `require': no such file to load -- 
rubygems (LoadError)
from /usr/lib/one/mads/one_auth_mad.rb:33

here is the output.

Leong Marco
leong.chou@usj.edu.mo



On Apr 11, 2011, at 11:06 PM, Tino Vazquez wrote:

> Ok, please try
> 
> $ ruby -dw $ONE_LOCATION/lib/mads/one_auth_mad.rb
> 
> and send the output
> 
> Regards,
> 
> -Tino
> 
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
> 
> 
> 
> On Mon, Apr 11, 2011 at 4:59 PM, Leong Marco  
> wrote:
>> Hi,
>> It return the shell.
>> Best regards.
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote:
>> 
>> Hi,
>> 
>> What happens, does it return the shell, or does it wait for input?
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco 
>> wrote:
>> 
>> Hi Tino,
>> 
>> Thank you for your reply.
>> 
>> This command doesn't produce any output.
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote:
>> 
>> Dear Leong,
>> 
>> Please try the following as oneadmin, and send the output:
>> 
>> # $ONE_LOCATION/lib/mads/one_auth_mad
>> 
>> Regards,
>> 
>> .Tino
>> 
>> 
>> --
>> 
>> Constantino Vázquez Blanco, MSc
>> 
>> OpenNebula Major Contributor
>> 
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco 
>> 
>> wrote:
>> 
>> Dear Tino,
>> 
>> Yes, I did have this error in the log.
>> 
>> Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> What is the problem happen here? Thank you for your help !
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:
>> 
>> Dear Leong, Marwen,
>> 
>> If you are experiencing the following in the logs
>> 
>> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> it may be due to a missing dependency, we can walk you on finding out which
>> 
>> one.
>> 
>> Otherwise, please say so and we will look at other possible causes.
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> 
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> 
>> Virtualization Technology Engineer / Researcher
>> 
>> OpenNebula Toolkit | opennebula.org
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco 
>> 
>> wrote:
>> 
>> Hi,
>> 
>> I have the same problem as Marwen. With this log message.
>> 
>> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>> 
>> /var/lib/one/2603e38607a144aef3bef07283d77095".
>> 
>> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>> 
>> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>> 
>> /var/lib/one/165/deployment.1
>> 
>> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>> 
>> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>> 
>> executed.
>> 
>> However, if I do a list to ebtables, it is empty.
>> 
>> [oneadmin@geek root]$ sudo ebtables --list
>> 
>> Bridge table: filter
>> 
>> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>> 
>> When I run some ebtables command like this one, it works
>> 
>> sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
>> 
>> this does add the rules to the table.
>> 
>> What can I provide to help you to debug this problem?
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:
>> 
>> Hi Zaina
>> 
>> Yes I added oneadmin in the sudoers file of the physical host where the VM
>> 
>> is allocated.
>&

Re: [one-users] Problem with ebtables OpenNebula

2011-04-11 Thread Leong Marco
Hi,

It return the shell.

Best regards.

Leong Marco
leong.chou@usj.edu.mo



On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote:

> Hi,
> 
> What happens, does it return the shell, or does it wait for input?
> 
> Regards,
> 
> -Tino
> 
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
> 
> 
> 
> On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco  
> wrote:
>> Hi Tino,
>> Thank you for your reply.
>> This command doesn't produce any output.
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote:
>> 
>> Dear Leong,
>> 
>> Please try the following as oneadmin, and send the output:
>> 
>> # $ONE_LOCATION/lib/mads/one_auth_mad
>> 
>> Regards,
>> 
>> .Tino
>> 
>> 
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco 
>> wrote:
>> 
>> Dear Tino,
>> 
>> Yes, I did have this error in the log.
>> 
>> Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> What is the problem happen here? Thank you for your help !
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:
>> 
>> Dear Leong, Marwen,
>> 
>> If you are experiencing the following in the logs
>> 
>> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> it may be due to a missing dependency, we can walk you on finding out which
>> 
>> one.
>> 
>> Otherwise, please say so and we will look at other possible causes.
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> 
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> 
>> Virtualization Technology Engineer / Researcher
>> 
>> OpenNebula Toolkit | opennebula.org
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco 
>> 
>> wrote:
>> 
>> Hi,
>> 
>> I have the same problem as Marwen. With this log message.
>> 
>> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>> 
>> /var/lib/one/2603e38607a144aef3bef07283d77095".
>> 
>> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>> 
>> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>> 
>> /var/lib/one/165/deployment.1
>> 
>> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>> 
>> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>> 
>> executed.
>> 
>> However, if I do a list to ebtables, it is empty.
>> 
>> [oneadmin@geek root]$ sudo ebtables --list
>> 
>> Bridge table: filter
>> 
>> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>> 
>> When I run some ebtables command like this one, it works
>> 
>> sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
>> 
>> this does add the rules to the table.
>> 
>> What can I provide to help you to debug this problem?
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:
>> 
>> Hi Zaina
>> 
>> Yes I added oneadmin in the sudoers file of the physical host where the VM
>> 
>> is allocated.
>> 
>> And when I create the VM I specify the host where the VM will be allocated.
>> 
>> But the problem is not resolved.
>> 
>> Do you think that we must add this command in sudoers file of all cluster
>> 
>> nodes.
>> 
>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
>> 
>> Best regards
>> 
>> Marwen
>> 
>> From: Zaina AFOULKI 
>> 
>> To: users@lists.opennebula.org
>> 
>> Subject: Re: [one-users] Problem with ebtables OpenNebula
>> 
>> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
>> 
>> Content-Type: text/plain; charset=ISO-8859-1
>> 
>> Hi Marwen,
>> 
>> Did you make sure that oneadmin is added in the /etc/sudoers file with
>> 
>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
>> 
>> http://opennebula.org/documentation:archives:rel2.0:nm
>> 
>> --
>> 
>> Zaina
>> 
&g

Re: [one-users] Problem with ebtables OpenNebula

2011-04-11 Thread Leong Marco
Hi Tino,

Thank you for your reply.

This command doesn't produce any output.

Leong Marco
leong.chou@usj.edu.mo



On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote:

> Dear Leong,
> 
> Please try the following as oneadmin, and send the output:
> 
> # $ONE_LOCATION/lib/mads/one_auth_mad
> 
> Regards,
> 
> .Tino
> 
> 
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
> 
> 
> 
> On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco  
> wrote:
>> Dear Tino,
>> Yes, I did have this error in the log.
>> Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command
>> What is the problem happen here? Thank you for your help !
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:
>> 
>> Dear Leong, Marwen,
>> 
>> If you are experiencing the following in the logs
>> 
>> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> it may be due to a missing dependency, we can walk you on finding out which
>> one.
>> 
>> Otherwise, please say so and we will look at other possible causes.
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco 
>> wrote:
>> 
>> Hi,
>> 
>> I have the same problem as Marwen. With this log message.
>> 
>> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>> 
>> /var/lib/one/2603e38607a144aef3bef07283d77095".
>> 
>> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>> 
>> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>> 
>> /var/lib/one/165/deployment.1
>> 
>> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>> 
>> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>> 
>> executed.
>> 
>> However, if I do a list to ebtables, it is empty.
>> 
>> [oneadmin@geek root]$ sudo ebtables --list
>> 
>> Bridge table: filter
>> 
>> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>> 
>> When I run some ebtables command like this one, it works
>> 
>> sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
>> 
>> this does add the rules to the table.
>> 
>> What can I provide to help you to debug this problem?
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:
>> 
>> Hi Zaina
>> 
>> Yes I added oneadmin in the sudoers file of the physical host where the VM
>> 
>> is allocated.
>> 
>> And when I create the VM I specify the host where the VM will be allocated.
>> 
>> But the problem is not resolved.
>> 
>> Do you think that we must add this command in sudoers file of all cluster
>> 
>> nodes.
>> 
>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
>> 
>> Best regards
>> 
>> Marwen
>> 
>> From: Zaina AFOULKI 
>> 
>> To: users@lists.opennebula.org
>> 
>> Subject: Re: [one-users] Problem with ebtables OpenNebula
>> 
>> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
>> 
>> Content-Type: text/plain; charset=ISO-8859-1
>> 
>> Hi Marwen,
>> 
>> Did you make sure that oneadmin is added in the /etc/sudoers file with
>> 
>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
>> 
>> http://opennebula.org/documentation:archives:rel2.0:nm
>> 
>> --
>> 
>> Zaina
>> 
>> 
>> On 04/06/2011 06:40 PM, marwen marwen wrote:
>> 
>> Hi,
>> 
>> I'm using ebtables to isolate virtual network in OpenNebula.
>> 
>> I have a problem when OpenNebula execute ebtables-kvm script.
>> 
>> In fact, the log file mention no error "Wed Apr  6 18:22:02 2011
>> 
>> [HKM][D]:
>> 
>> Message received: EXECUTE SUCCESS 146 ebtables-start".
>> 
>> But there are no rule added to the list rules of ebtables in the
>> 
>> physical
>> 
>> host where the VM is allocated.
>> 
>> ###
>> 
>> sudo ebtables -L
>&

Re: [one-users] Problem with ebtables OpenNebula

2011-04-11 Thread Leong Marco
Dear Tino,

Yes, I did have this error in the log.
Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command

What is the problem happen here? Thank you for your help !

Leong Marco
leong.chou@usj.edu.mo



On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:

> Dear Leong, Marwen,
> 
> If you are experiencing the following in the logs
> 
> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
> 
> it may be due to a missing dependency, we can walk you on finding out which 
> one.
> 
> Otherwise, please say so and we will look at other possible causes.
> 
> Regards,
> 
> -Tino
> 
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org
> 
> 
> 
> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco  
> wrote:
>> Hi,
>> I have the same problem as Marwen. With this log message.
>> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>> /var/lib/one/2603e38607a144aef3bef07283d77095".
>> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>> /var/lib/one/165/deployment.1
>> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>> executed.
>> However, if I do a list to ebtables, it is empty.
>> [oneadmin@geek root]$ sudo ebtables --list
>> Bridge table: filter
>> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>> When I run some ebtables command like this one, it works
>> sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
>> this does add the rules to the table.
>> What can I provide to help you to debug this problem?
>> 
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:
>> 
>> Hi Zaina
>> Yes I added oneadmin in the sudoers file of the physical host where the VM
>> is allocated.
>> And when I create the VM I specify the host where the VM will be allocated.
>> But the problem is not resolved.
>> Do you think that we must add this command in sudoers file of all cluster
>> nodes.
>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
>> Best regards
>> Marwen
>> 
>>> From: Zaina AFOULKI 
>>> To: users@lists.opennebula.org
>>> Subject: Re: [one-users] Problem with ebtables OpenNebula
>>> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
>>> Content-Type: text/plain; charset=ISO-8859-1
>>> 
>>> Hi Marwen,
>>> 
>>> Did you make sure that oneadmin is added in the /etc/sudoers file with
>>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
>>> 
>>> http://opennebula.org/documentation:archives:rel2.0:nm
>>> 
>>> --
>>> Zaina
>>> 
>>> 
>>> On 04/06/2011 06:40 PM, marwen marwen wrote:
>>>> Hi,
>>>> 
>>>> I'm using ebtables to isolate virtual network in OpenNebula.
>>>> I have a problem when OpenNebula execute ebtables-kvm script.
>>>> In fact, the log file mention no error "Wed Apr  6 18:22:02 2011
>>>> [HKM][D]:
>>>> Message received: EXECUTE SUCCESS 146 ebtables-start".
>>>> But there are no rule added to the list rules of ebtables in the
>>>> physical
>>>> host where the VM is allocated.
>>>> 
>>>> ###
>>>> sudo ebtables -L
>>>> 
>>>> Bridge table: filter
>>>> 
>>>> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>>>> 
>>>> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>>>> 
>>>> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>>>> ###
>>>> 
>>>> And when I execute manually the script on the worker node, the rules are
>>>> added.
>>>> In the oned.conf we put this configuration
>>>> 
>>>> ###
>>>> VM_HOOK = [
>>>> name  = "ebtables-start",
>>>> on= "running",
>>>> command   = "ebtables-kvm", # or ebtables-xen
>>>> arguments = "one-$VMID",
>>>> remote= "yes" ]
>>>> 
>>>>

Re: [one-users] Problem with ebtables OpenNebula

2011-04-11 Thread Leong Marco
Hi,

I have the same problem as Marwen. With this log message.
Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf 
/var/lib/one/2603e38607a144aef3bef07283d77095".
Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file: 
/var/lib/one/165/deployment.1
Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully executed. 

However, if I do a list to ebtables, it is empty.

[oneadmin@geek root]$ sudo ebtables --list
Bridge table: filter

Bridge chain: INPUT, entries: 0, policy: ACCEPT

Bridge chain: FORWARD, entries: 0, policy: ACCEPT

Bridge chain: OUTPUT, entries: 0, policy: ACCEPT

When I run some ebtables command like this one, it works

sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
this does add the rules to the table.

What can I provide to help you to debug this problem?


Leong Marco
leong.chou@usj.edu.mo



On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:

> 
> Hi Zaina
> 
> Yes I added oneadmin in the sudoers file of the physical host where the VM is 
> allocated.
> And when I create the VM I specify the host where the VM will be allocated.
> But the problem is not resolved.
> Do you think that we must add this command in sudoers file of all cluster 
> nodes. 
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
> 
> Best regards
> Marwen
> 
> 
> From: Zaina AFOULKI 
> To: users@lists.opennebula.org
> Subject: Re: [one-users] Problem with ebtables OpenNebula
> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi Marwen,
> 
> Did you make sure that oneadmin is added in the /etc/sudoers file with
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
> 
> http://opennebula.org/documentation:archives:rel2.0:nm
> 
> --
> Zaina
> 
> 
> On 04/06/2011 06:40 PM, marwen marwen wrote:
> > Hi,
> >
> > I'm using ebtables to isolate virtual network in OpenNebula.
> > I have a problem when OpenNebula execute ebtables-kvm script.
> > In fact, the log file mention no error "Wed Apr  6 18:22:02 2011 [HKM][D]:
> > Message received: EXECUTE SUCCESS 146 ebtables-start".
> > But there are no rule added to the list rules of ebtables in the physical
> > host where the VM is allocated.
> >
> > ###
> > sudo ebtables -L
> >
> > Bridge table: filter
> >
> > Bridge chain: INPUT, entries: 0, policy: ACCEPT
> >
> > Bridge chain: FORWARD, entries: 0, policy: ACCEPT
> >
> > Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
> > ###
> >
> > And when I execute manually the script on the worker node, the rules are
> > added.
> > In the oned.conf we put this configuration
> >
> > ###
> > VM_HOOK = [
> > name  = "ebtables-start",
> > on= "running",
> > command   = "ebtables-kvm", # or ebtables-xen
> > arguments = "one-$VMID",
> > remote= "yes" ]
> >
> > VM_HOOK = [
> > name  = "ebtables-flush",
> > on= "done",
> > command   = "ebtables-flush",
> > arguments = "",
> > remote= "yes" ]
> > ###
> >
> > can you help me to fix this problem
> >
> > Best Regards
> > Marwen
> >
> >
> >
> >
> > ___
> > 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

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


Re: [one-users] Problem with ebtables OpenNebula

2011-04-07 Thread Leong Marco
Hi all,

I'm not able to setup the ebtables too. I'm running both node and frontend on 
the same machine. I have this line in /etc/sudoers file.
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
This doesn't work on my case either.
Can anybody help plz. :)

Some time I have this log in oned.log, does this help?
Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command


Leong Marco
leong.chou@usj.edu.mo



On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:

> 
> Hi Zaina
> 
> Yes I added oneadmin in the sudoers file of the physical host where the VM is 
> allocated.
> And when I create the VM I specify the host where the VM will be allocated.
> But the problem is not resolved.
> Do you think that we must add this command in sudoers file of all cluster 
> nodes. 
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
> 
> Best regards
> Marwen
> 
> 
> From: Zaina AFOULKI 
> To: users@lists.opennebula.org
> Subject: Re: [one-users] Problem with ebtables OpenNebula
> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi Marwen,
> 
> Did you make sure that oneadmin is added in the /etc/sudoers file with
> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ?
> 
> http://opennebula.org/documentation:archives:rel2.0:nm
> 
> --
> Zaina
> 
> 
> On 04/06/2011 06:40 PM, marwen marwen wrote:
> > Hi,
> >
> > I'm using ebtables to isolate virtual network in OpenNebula.
> > I have a problem when OpenNebula execute ebtables-kvm script.
> > In fact, the log file mention no error "Wed Apr  6 18:22:02 2011 [HKM][D]:
> > Message received: EXECUTE SUCCESS 146 ebtables-start".
> > But there are no rule added to the list rules of ebtables in the physical
> > host where the VM is allocated.
> >
> > ###
> > sudo ebtables -L
> >
> > Bridge table: filter
> >
> > Bridge chain: INPUT, entries: 0, policy: ACCEPT
> >
> > Bridge chain: FORWARD, entries: 0, policy: ACCEPT
> >
> > Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
> > ###
> >
> > And when I execute manually the script on the worker node, the rules are
> > added.
> > In the oned.conf we put this configuration
> >
> > ###
> > VM_HOOK = [
> > name  = "ebtables-start",
> > on= "running",
> > command   = "ebtables-kvm", # or ebtables-xen
> > arguments = "one-$VMID",
> > remote= "yes" ]
> >
> > VM_HOOK = [
> > name  = "ebtables-flush",
> > on= "done",
> > command   = "ebtables-flush",
> > arguments = "",
> > remote= "yes" ]
> > ###
> >
> > can you help me to fix this problem
> >
> > Best Regards
> > Marwen
> >
> >
> >
> >
> > ___
> > 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

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


[one-users] Is it possible alter the virtual machines definitions after it was created?

2011-03-05 Thread Leong Marco
Hi,

Inside the opennebula environment. Is there any method to alter the virtual 
machines definition after it was created. For example, I can set-mem in xen. 
Attach or detach network interfaces.

Thanks,

Leong Marco
leong.chou@usj.edu.mo



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


Re: [one-users] KVM Qemu does not mount DATABLOCK.

2011-03-04 Thread Leong Marco
Steven,

It works, Great Thanks.

I used virtio to all device.
 /dev/vda as OS image
/dev/vdb as swap
/dev/vdc as my Datablock.

As you have mentioned, it might be some kind of kernel issue which work with 
vde driver. Very appreciate for you help. 

Besides, is it possible to make the disk available at the time it create ?

Inside the VM, I see that those disk does not have valid partition, fdisk -l 
message as follows:


# fdisk -l

Disk /dev/vda: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/vda1   *   1  13  104391   83  Linux
/dev/vda2  14 261 1992060   8e  Linux LVM

Disk /dev/vdb: 1073 MB, 1073741824 bytes
16 heads, 63 sectors/track, 2080 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/vdb doesn't contain a valid partition table

Disk /dev/vdc: 5368 MB, 5368709120 bytes
16 heads, 63 sectors/track, 10402 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/vdc doesn't contain a valid partition table


Cheers,

Leong Marco
leong.chou@usj.edu.mo



On Mar 4, 2011, at 11:21 PM, Steven Timm wrote:

> I've made something like this work, but I couldn't make the datablock as 
> virtio.  If you call for a virtio datablock by default it comes up as 
> /dev/vde, for which many kernels don't have the drivers.
> 
> So on mine, I declared OS image to be virtio / dev/vda,
> swap to be virtio /dev/vdb
> datablock to be ide /dev/hda
> iso disk to be ide /dev/hdc.
> 
> Steve Timm
> 
> 
> 
> On Fri, 4 Mar 2011, Leong Marco wrote:
> 
>> Hi all,
>> 
>> I have created a CentOS which is sized 2GB. I would like to add a DATABLOCK 
>> to it. However, the DATABLOCK cannot be found with fdisk -l (in the VM). It 
>> was able to mount the swap, but no the DATABLOCK.
>> 
>> Here is the config file that I have. Via
>> dumpxml in virsh:
>> 
>> one-103
>> 61d4e005-8fd1-c0b5-43f4-1f75596a8451
>> 1048576
>> 1048576
>> 1
>> 
>>   hvm
>>   
>> 
>> 
>>   
>> 
>> 
>> destroy
>> restart
>> destroy
>> 
>>   /usr/bin/kvm
>>   
>> 
>> 
>> 
>>   
>>   
>> 
>> 
>> 
>>   
>>   
>> 
>> 
>> 
>>   
>>   
>> 
>> 
>> 
>>   
>> 
>> 
>> 
>> The definition file.
>> 
>> CPU  = 1
>> MEMORY   = 1024
>> NAME = "Web Server"
>> 
>> OS = [ ARCH = x86_64, ROOT=hda ]
>> 
>> DISK = [ IMAGE = "base-centos-5.5-x86_64", bus = virtio, target = hda]
>> 
>> DISK = [IMAGE = "5gb-image", bus = virtio]
>> 
>> DISK = [TYPE = swap, SIZE= 1024,  target = hdd]
>> 
>> FEATURES = [ACPI = yes]
>> 
>> NIC = [  NETWORK = "Network", IP=172.25.4.12]
>> 
>> Please, could anyone help one this. Since I have to prepare several VM on 
>> next week for other students to play inside it.
>> 
>> 
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> 
>> 
> 
> -- 
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Computing Division, Scientific Computing Facilities,
> Grid Facilities Department, FermiGrid Services Group, Group Leader.
> Lead of FermiCloud project.

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


Re: [one-users] KVM Qemu does not mount DATABLOCK.

2011-03-04 Thread Leong Marco
Hi Ruben,

Very appreciate for your reply.

Unfortunately, even I have put all three disk to VIRTIO. It still not working. 
If I use ide, it seems that it is not able to have more than one IDE device. 
And SCSI was not supported by CentOS 5.5's kernel. 

Any idea to get around this?

Thank You !

Leong Marco
leong.chou@usj.edu.mo



On Mar 4, 2011, at 6:30 PM, Ruben S. Montero wrote:

> Hi,
> 
> This seems more a KVM/libvirt issue than an OpenNebula one as the
> three devices are listed in the deployment file. There has been some
> problems reported when mixing ide and virtio disks, that may be cause
> of the problem. You may try to put the three disks under virtio to
> check if that's the problem.
> 
> Cheers
> 
> Ruben
> 
> 
> 
> On Fri, Mar 4, 2011 at 10:31 AM, Leong Marco  
> wrote:
>> Hi all,
>> I have created a CentOS which is sized 2GB. I would like to add a DATABLOCK
>> to it. However, the DATABLOCK cannot be found with fdisk -l (in the VM). It
>> was able to mount the swap, but no the DATABLOCK.
>> Here is the config file that I have. Via
>> dumpxml in virsh:
>> 
>>   one-103
>>   61d4e005-8fd1-c0b5-43f4-1f75596a8451
>>   1048576
>>   1048576
>>   1
>>   
>> hvm
>> 
>>   
>>   
>> 
>>   
>>   
>>   destroy
>>   restart
>>   destroy
>>   
>> /usr/bin/kvm
>> 
>>   
>>   
>>   
>> 
>> 
>>   
>>   
>>   
>> 
>> 
>>   
>>   
>>   
>> 
>> 
>>   
>>   
>>   
>> 
>>   
>> 
>> The definition file.
>> CPU = 1
>> MEMORY = 1024
>> NAME = "Web Server"
>> OS = [ ARCH = x86_64, ROOT=hda ]
>> DISK = [ IMAGE = "base-centos-5.5-x86_64", bus = virtio, target = hda]
>> DISK = [IMAGE = "5gb-image", bus = virtio]
>> DISK = [TYPE = swap, SIZE= 1024,  target = hdd]
>> FEATURES = [ACPI = yes]
>> NIC = [ NETWORK = "Network", IP=172.25.4.12]
>> Please, could anyone help one this. Since I have to prepare several VM on
>> next week for other students to play inside it.
>> 
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> 
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
>> 
> 
> 
> 
> -- 
> Dr. Ruben Santiago Montero
> Associate Professor (Profesor Titular), Complutense University of Madrid
> 
> URL: http://dsa-research.org/doku.php?id=people:ruben
> Weblog: http://blog.dsa-research.org/?author=7

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


[one-users] KVM Qemu does not mount DATABLOCK.

2011-03-04 Thread Leong Marco
Hi all,

I have created a CentOS which is sized 2GB. I would like to add a DATABLOCK to 
it. However, the DATABLOCK cannot be found with fdisk -l (in the VM). It was 
able to mount the swap, but no the DATABLOCK.

Here is the config file that I have. Via 
dumpxml in virsh:

  one-103
  61d4e005-8fd1-c0b5-43f4-1f75596a8451
  1048576
  1048576
  1
  
hvm

  
  

  
  
  destroy
  restart
  destroy
  
/usr/bin/kvm

  
  
  


  
  
  


  
  
  


  
  
  

  


The definition file.

CPU = 1
MEMORY  = 1024
NAME= "Web Server"

OS = [ ARCH = x86_64, ROOT=hda ]

DISK = [ IMAGE = "base-centos-5.5-x86_64", bus = virtio, target = hda]

DISK = [IMAGE = "5gb-image", bus = virtio]

DISK = [TYPE = swap, SIZE= 1024,  target = hdd]

FEATURES = [ACPI = yes]

NIC = [ NETWORK = "Network", IP=172.25.4.12]

Please, could anyone help one this. Since I have to prepare several VM on next 
week for other students to play inside it.


Leong Marco
leong.chou@usj.edu.mo



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


Re: [one-users] [SOLVED] Wrong target value in DISK : during prolog state.

2011-02-14 Thread Leong Marco
Hi,

It is solved. The problem causing this error message that Target was not set in 
cdrom session.

Besides,


one-14.log
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ /usr/bin/kvm -S -M rhel5.4.0 
-cpu qemu32 -m 1024 -smp 1 -name one-15 -uuid 
cd4bcf0e-3a56-2e42-c74c-094575d6bada -no-kvm-pit-reinjection -monitor pty 
-pidfile /var/run/libvirt/qemu//one-15.pid -boot d -drive 
file=/srv/cloud/one/var/15/images/disk.0,if=virtio,index=0,format=raw -drive 
file=/srv/cloud/one/var/15/images/disk.1,if=virtio,index=4,format=raw -drive 
file=/srv/cloud/one/var/15/images/disk.2,if=ide,media=cdrom,index=2,format=raw 
-net none -serial none -parallel none -usb -vnc 127.0.0.1:0 
char device redirected to /dev/pts/1

Does anyone knows that can I choose 64bit CPU instead of qemu32 ?

Leong Marco
leong.chou@usj.edu.mo



On Feb 15, 2011, at 1:32 PM, Leong Marco wrote:

> Log file:
> 
> Tue Feb 15 13:26:01 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp 
> geek:/home/oneadmin/iso/CentOS-5.5-x86_64-bin-DVD-1of2.iso 
> geek:/srv/cloud/one/var/7/images/disk.3".
> Tue Feb 15 13:26:01 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh geek 
> chmod a+rw /srv/cloud/one/var/7/images/disk.3".
> Tue Feb 15 13:26:02 2011 [LCM][I]: New VM state is BOOT
> Tue Feb 15 13:26:02 2011 [VMM][I]: Generating deployment file: 
> /var/lib/one/7/deployment.0
> Tue Feb 15 13:26:02 2011 [VMM][E]: Wrong target value in DISK.
> Tue Feb 15 13:26:02 2011 [VMM][E]: deploy_action, error generating deployment 
> file: /var/lib/one/7/deployment.0
> Tue Feb 15 13:26:02 2011 [DiM][I]: New VM state is FAILED
> Tue Feb 15 13:26:03 2011 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Deleting 
> /srv/cloud/one/var/7/images
> 
> Tue Feb 15 13:26:03 2011 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Executed 
> "/usr/bin/ssh geek rm -rf /srv/cloud/one/var/7/images".
> 
> Tue Feb 15 13:26:03 2011 [TM][W]: Ignored: TRANSFER SUCCESS 7 -
> 
> CPU   = 1
> MEMORY= 1024
> NAME  = "CentOS Installation"
> 
> OS   = [ ARCH = i686,
>BOOT = cdrom]
> 
> DISK = [ IMAGE = "OS image" ]
> 
> DISK = [ IMAGE = "Empty Datablock" ]
> 
> DISK = [ TYPE = swap,
>  SIZE = 1024,
>  READONLY = "no" ]
> 
> DISK = [ TYPE   = cdrom,
>SOURCE = /home/oneadmin/iso/CentOS-5.5-x86_64-bin-DVD-1of2.iso,
>READONLY = yes]
> 
> GRAPHICS = [ type= "vnc",  
>listen  = "127.0.0.1",
>port= "5900"  ]
> 
> 
> 
> Leong Marco
> leong.chou@usj.edu.mo
> 
> 
> 

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


[one-users] Wrong target value in DISK : during prolog state.

2011-02-14 Thread Leong Marco
Log file:

Tue Feb 15 13:26:01 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp 
geek:/home/oneadmin/iso/CentOS-5.5-x86_64-bin-DVD-1of2.iso 
geek:/srv/cloud/one/var/7/images/disk.3".
Tue Feb 15 13:26:01 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh geek 
chmod a+rw /srv/cloud/one/var/7/images/disk.3".
Tue Feb 15 13:26:02 2011 [LCM][I]: New VM state is BOOT
Tue Feb 15 13:26:02 2011 [VMM][I]: Generating deployment file: 
/var/lib/one/7/deployment.0
Tue Feb 15 13:26:02 2011 [VMM][E]: Wrong target value in DISK.
Tue Feb 15 13:26:02 2011 [VMM][E]: deploy_action, error generating deployment 
file: /var/lib/one/7/deployment.0
Tue Feb 15 13:26:02 2011 [DiM][I]: New VM state is FAILED
Tue Feb 15 13:26:03 2011 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Deleting 
/srv/cloud/one/var/7/images

Tue Feb 15 13:26:03 2011 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Executed 
"/usr/bin/ssh geek rm -rf /srv/cloud/one/var/7/images".

Tue Feb 15 13:26:03 2011 [TM][W]: Ignored: TRANSFER SUCCESS 7 -

CPU = 1
MEMORY  = 1024
NAME= "CentOS Installation"

OS   = [ ARCH = i686,
 BOOT = cdrom]

DISK = [ IMAGE = "OS image" ]

DISK = [ IMAGE = "Empty Datablock" ]

DISK = [ TYPE = swap,
 SIZE = 1024,
 READONLY = "no" ]

DISK = [ TYPE   = cdrom,
 SOURCE = /home/oneadmin/iso/CentOS-5.5-x86_64-bin-DVD-1of2.iso,
 READONLY = yes]

GRAPHICS = [ type= "vnc",      
     listen  = "127.0.0.1",
 port= "5900"  ]



Leong Marco
leong.chou@usj.edu.mo



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


Re: [one-users] sha1.so Issue

2011-02-09 Thread Leong Marco
Isn't the documentation recommend to use oneadmin to manage?

Leong Marco
leong.chou@usj.edu.mo



On Feb 10, 2011, at 1:56 AM, Ivan Bronsky wrote:

> Hi,
> 
> I installed OpenNebula 2.0.1 on Centos 5.5. from rpm. I can start the deamon 
> with  $ one start.
> But after oneuser, onehost, onevm etc. commands, I have message like this:
> 
> [root@nebula home]# oneuser list
> /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so: 
> /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so: undefined symbol: 
> rb_Digest_SHA1_Init - /usr/local/lib/ruby/1.8/x86_64-linux/digest/sha1.so 
> (LoadError)
>   from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
> `require'
>   from /usr/lib/one/ruby/OpenNebula.rb:7
>   from /usr/bin/oneuser:30:in `require'
>   from /usr/bin/oneuser:30
> 
> I suppose that this could be related with the ONE_AUTH variable. I created 
> /root/.one7one_auth file which contains "oneadmin:" where password 
> is those which I created for oneadmin user prior the software installation. 
> Anyway, this detail is not clear from the documentation.
> 
> Thanks,
> Ivan
> ___
> 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


[one-users] Using LVM as storage option.

2011-02-09 Thread Leong Marco
Hi all,

I'm new to OpenNebula, and I does not get a clear idea from official 
documentation about LVM deployment. I have a few questions that I would like to 
be answered.
How do I register an virtual machine image template in LVM?
Is it possible to add existing virtual machine which is currently using LVM as 
storage into OpenNebula, and how could I do that?


Thank You !!

Best regards,
Leong Marco




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