Re: [one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

2012-03-05 Thread 張德勤
Dear all

I solve the problem by ...
export ONE_LOCATION=/srv/cloud/one
export ONE_AUTH=$ONE_LOCATION/.one/one_auth
export ONE_XMLRPC=http://localhost:2633/RPC2
export PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:$PATH
echo "oneadmin:oneadmin" > /srv/cloud/one/.one/one_auth
Thank you~


張德勤  於 2012年3月5日下午2:12 寫道:

> Dear all:
>
> I am new in OpenNEbula.
>
> I have two machines, one is server, and the other one is client1.
> 1. server :CentOS 6 + Opennebula 3.0.0
> 2. client1:CentOS 6 + XEN-kernel(2.6.32.56-1.el6xen.x86_64) +XEN
>
> I have a problem about running onehost list
> the error message is below
>
> [oneadmin@server ~]$ tail /var/log/one/oned.log
> Mon Mar  5 13:57:28 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 13:57:28 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing xen.rb
>
> Mon Mar  5 13:57:43 2012 [InM][I]: Monitoring host client1 (8)
> Mon Mar  5 13:57:43 2012 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 8
> client1; else  exit 42; fi'
> Mon Mar  5 13:57:43 2012 [InM][I]: sudo: no tty present and no askpass
> program specified
> Mon Mar  5 13:57:43 2012 [InM][E]: Error executing xen.rb
> Mon Mar  5 13:57:43 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 13:57:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing xen.rb
>
>
>
> [oneadmin@server ~]$ tail /var/log/one/oned.log
> Mon Mar  5 14:05:43 2012 [InM][I]: sudo: no valid sudoers sources found,
> quitting
> Mon Mar  5 14:05:43 2012 [InM][E]: Error executing xen.rb
> Mon Mar  5 14:05:43 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 14:05:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing xen.rb
>
> Mon Mar  5 14:05:44 2012 [ReM][D]: HostPoolInfo method invoked
> Mon Mar  5 14:05:44 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE
> 1213 Authentication protocol 'plain' not available
>
> Mon Mar  5 14:05:44 2012 [AuM][E]: Auth Error: Authentication protocol
> 'plain' not available
> Mon Mar  5 14:05:44 2012 [ReM][E]: [HostPoolInfo] User couldn't be
> authenticated, aborting call.
>
> And should I uncomment the Defaults requiretty in /etc/sudoers file??
> Because I uncomment that line.
> And should I add oneadmin in my sudoers file??
> Because I added oneadmin in my sudoers file.
> So, Why are these errors happened??
> Please Help!!!
>
>
>
> --
> Regards,
>
> Te - Chin, Chang (張德勤), +886-3-4227151 #57968
> Networklab, Computer Science & Information Engineering,
> National Central University, Jhongli, Taiwan, R.O.C
>



-- 
Regards,

Te - Chin, Chang (張德勤), +886-3-4227151 #57968
Networklab, Computer Science & Information Engineering,
National Central University, Jhongli, Taiwan, R.O.C
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

2012-03-05 Thread Carlos Martín Sánchez
Hi,

Looks like you have installed two opennebulas, one in system-wide mode and
another in self-contained inside /srv/cloud/one. I strongly advise you to
choose one and uninstall the other.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula



2012/3/5 張德勤 

> Dear all
>
> I solve the problem by ...
> export ONE_LOCATION=/srv/cloud/one
> export ONE_AUTH=$ONE_LOCATION/.one/one_auth
> export ONE_XMLRPC=http://localhost:2633/RPC2
> export PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:$PATH
> echo "oneadmin:oneadmin" > /srv/cloud/one/.one/one_auth
> Thank you~
>
>
> 張德勤  於 2012年3月5日下午2:12 寫道:
>
> Dear all:
>>
>> I am new in OpenNEbula.
>>
>> I have two machines, one is server, and the other one is client1.
>> 1. server :CentOS 6 + Opennebula 3.0.0
>> 2. client1:CentOS 6 + XEN-kernel(2.6.32.56-1.el6xen.x86_64) +XEN
>>
>> I have a problem about running onehost list
>> the error message is below
>>
>> [oneadmin@server ~]$ tail /var/log/one/oned.log
>> Mon Mar  5 13:57:28 2012 [InM][I]: ExitCode: 255
>> Mon Mar  5 13:57:28 2012 [InM][E]: Error monitoring host 8 : MONITOR
>> FAILURE 8 Error executing xen.rb
>>
>> Mon Mar  5 13:57:43 2012 [InM][I]: Monitoring host client1 (8)
>> Mon Mar  5 13:57:43 2012 [InM][I]: Command execution fail: 'if [ -x
>> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 8
>> client1; else  exit 42; fi'
>> Mon Mar  5 13:57:43 2012 [InM][I]: sudo: no tty present and no askpass
>> program specified
>> Mon Mar  5 13:57:43 2012 [InM][E]: Error executing xen.rb
>> Mon Mar  5 13:57:43 2012 [InM][I]: ExitCode: 255
>> Mon Mar  5 13:57:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
>> FAILURE 8 Error executing xen.rb
>>
>>
>>
>> [oneadmin@server ~]$ tail /var/log/one/oned.log
>> Mon Mar  5 14:05:43 2012 [InM][I]: sudo: no valid sudoers sources found,
>> quitting
>> Mon Mar  5 14:05:43 2012 [InM][E]: Error executing xen.rb
>> Mon Mar  5 14:05:43 2012 [InM][I]: ExitCode: 255
>> Mon Mar  5 14:05:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
>> FAILURE 8 Error executing xen.rb
>>
>> Mon Mar  5 14:05:44 2012 [ReM][D]: HostPoolInfo method invoked
>> Mon Mar  5 14:05:44 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE
>> 1213 Authentication protocol 'plain' not available
>>
>> Mon Mar  5 14:05:44 2012 [AuM][E]: Auth Error: Authentication protocol
>> 'plain' not available
>> Mon Mar  5 14:05:44 2012 [ReM][E]: [HostPoolInfo] User couldn't be
>> authenticated, aborting call.
>>
>> And should I uncomment the Defaults requiretty in /etc/sudoers file??
>> Because I uncomment that line.
>> And should I add oneadmin in my sudoers file??
>> Because I added oneadmin in my sudoers file.
>> So, Why are these errors happened??
>> Please Help!!!
>>
>>
>>
>> --
>> Regards,
>>
>> Te - Chin, Chang (張德勤), +886-3-4227151 #57968
>> Networklab, Computer Science & Information Engineering,
>> National Central University, Jhongli, Taiwan, R.O.C
>>
>
>
>
> --
> Regards,
>
> Te - Chin, Chang (張德勤), +886-3-4227151 #57968
> Networklab, Computer Science & Information Engineering,
> National Central University, Jhongli, Taiwan, R.O.C
>
> ___
> 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] Centos 6.2 - Execution errors with libvirt

2012-03-05 Thread Jaime Melis
Hello Adrian

Thanks a bunch, that will definitely come in handy for OpenNebula 3.4
packages

cheers,
Jaime

On Mon, Mar 5, 2012 at 7:48 AM, Snyman, Adrian  wrote:

>  Just thought I would post this heads up. I was battling with machines /
> nodes permissions, and I stumbled onto this page:
>
>
>
>
>
> http://www.mail-archive.com/users@lists.opennebula.org/msg05465.html
>
>
>
>
>
> Turns out that the policykit on Centos6.2 blocks the oneadmin user from
> doing certain tasks, and my adding the following:
>
>
>
> # content of file:
> /etc/polkit-1/localauthority/50-local.d/50-org.libvirt.unix.manage-opennebula.pkla
>
> [Allow oneadmin user to manage virtual machines]
>
> Identity=unix-user:oneadmin
>
> Action=org.libvirt.unix.manage
>
> ResultAny=yes
>
> ResultInactive=yes
>
> ResultActive=yes
>
>
>
>
>
>
>
> I can now see the resources (ie: the node can be monitored).
>
>
>
>
>
>
>
>
>
> Regards,
>
> Adrian Snyman
>
> Linux Systems Administrator
>
> Tel: 011-559-4929
>
> Cell: 082-600-1211
>
>
>
> --
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
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


Re: [one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

2012-03-05 Thread 張德勤
Hi, Thank for your reply.
Why do you know I have installed two opennebulas?
Should I remove the system-wide mode opennebula??
And how can I remove the system-wide mode opennebula??
I even don't know when I install a system-wide mode opennebula

My oned.log shows

Mon Mar  5 17:34:46 2012 [InM][I]: Monitoring host client1 (0)
Mon Mar  5 17:34:46 2012 [InM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 0
client1; else  exit 42; fi'
Mon Mar  5 17:34:46 2012 [InM][I]: sudo: no tty present and no askpass
program specified
Mon Mar  5 17:34:46 2012 [InM][E]: Error executing xen.rb
Mon Mar  5 17:34:46 2012 [InM][I]: ExitCode: 255
Mon Mar  5 17:34:46 2012 [InM][E]: Error monitoring host 0 : MONITOR
FAILURE 0 Error executing xen.rb

Could you help me??
Thank you!!!
2012/3/5 Carlos Martín Sánchez 

> Hi,
>
> Looks like you have installed two opennebulas, one in system-wide mode and
> another in self-contained inside /srv/cloud/one. I strongly advise you to
> choose one and uninstall the other.
>
> Regards.
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmar...@opennebula.org | 
> @OpenNebula
>
>
>
> 2012/3/5 ��德勤 
>
>> Dear all
>>
>> I solve the problem by ...
>> export ONE_LOCATION=/srv/cloud/one
>> export ONE_AUTH=$ONE_LOCATION/.one/one_auth
>> export ONE_XMLRPC=http://localhost:2633/RPC2
>> export PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:$PATH
>> echo "oneadmin:oneadmin" > /srv/cloud/one/.one/one_auth
>> Thank you~
>>
>>
>> ��德勤  於 2012年3月5日下午2:12 ��道:
>>
>> Dear all:
>>>
>>> I am new in OpenNEbula.
>>>
>>> I have two machines, one is server, and the other one is client1.
>>> 1. server :CentOS 6 + Opennebula 3.0.0
>>> 2. client1:CentOS 6 + XEN-kernel(2.6.32.56-1.el6xen.x86_64) +XEN
>>>
>>> I have a problem about running onehost list
>>> the error message is below
>>>
>>> [oneadmin@server ~]$ tail /var/log/one/oned.log
>>> Mon Mar  5 13:57:28 2012 [InM][I]: ExitCode: 255
>>> Mon Mar  5 13:57:28 2012 [InM][E]: Error monitoring host 8 : MONITOR
>>> FAILURE 8 Error executing xen.rb
>>>
>>> Mon Mar  5 13:57:43 2012 [InM][I]: Monitoring host client1 (8)
>>> Mon Mar  5 13:57:43 2012 [InM][I]: Command execution fail: 'if [ -x
>>> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 8
>>> client1; else  exit 42; fi'
>>> Mon Mar  5 13:57:43 2012 [InM][I]: sudo: no tty present and no askpass
>>> program specified
>>> Mon Mar  5 13:57:43 2012 [InM][E]: Error executing xen.rb
>>> Mon Mar  5 13:57:43 2012 [InM][I]: ExitCode: 255
>>> Mon Mar  5 13:57:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
>>> FAILURE 8 Error executing xen.rb
>>>
>>>
>>>
>>> [oneadmin@server ~]$ tail /var/log/one/oned.log
>>> Mon Mar  5 14:05:43 2012 [InM][I]: sudo: no valid sudoers sources
>>> found, quitting
>>> Mon Mar  5 14:05:43 2012 [InM][E]: Error executing xen.rb
>>> Mon Mar  5 14:05:43 2012 [InM][I]: ExitCode: 255
>>> Mon Mar  5 14:05:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
>>> FAILURE 8 Error executing xen.rb
>>>
>>> Mon Mar  5 14:05:44 2012 [ReM][D]: HostPoolInfo method invoked
>>> Mon Mar  5 14:05:44 2012 [AuM][D]: Message received: AUTHENTICATE
>>> FAILURE 1213 Authentication protocol 'plain' not available
>>>
>>> Mon Mar  5 14:05:44 2012 [AuM][E]: Auth Error: Authentication protocol
>>> 'plain' not available
>>> Mon Mar  5 14:05:44 2012 [ReM][E]: [HostPoolInfo] User couldn't be
>>> authenticated, aborting call.
>>>
>>> And should I uncomment the Defaults requiretty in /etc/sudoers file??
>>> Because I uncomment that line.
>>> And should I add oneadmin in my sudoers file??
>>> Because I added oneadmin in my sudoers file.
>>> So, Why are these errors happened??
>>> Please Help!!!
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Te - Chin, Chang (��德勤), +886-3-4227151 #57968
>>> Networklab, Computer Science & Information Engineering,
>>> National Central University, Jhongli, Taiwan, R.O.C
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Te - Chin, Chang (��德勤), +886-3-4227151 #57968
>> Networklab, Computer Science & Information Engineering,
>> National Central University, Jhongli, Taiwan, R.O.C
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>


-- 
Regards,

Te - Chin, Chang (��德勤), +886-3-4227151 #57968
Networklab, Computer Science & Information Engineering,
National Central University, Jhongli, Taiwan, R.O.C
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Version 3.2.0 + MySQL problems

2012-03-05 Thread Jaime Melis
Hello Robert,

After reading Lehel's email (CC) I've noticed that the openSUSE package
doesn't have support for mysql. Is there any possibility that this could be
added for the next update?

Since it's not a bug, but a request, I haven't been able to find where to
place this request in build.opensuse.org.

I'd be happy to help adding the mysql support.

Regards,
Jaime

On Sat, Mar 3, 2012 at 5:17 PM, biro lehel  wrote:

> Hello,
>
> I have an issue about using OpenNebula with MySQL. I have downloaded and
> installed version 3.2.0 using YaST on an openSUSE machine. The root of all
> my problems was when trying to log in the main Sunstone window, (with
> oneadmin user and password), i got the following error: "OpenNebula is not
> running". So I checked if the daemon was running (it was), and then I
> digged deeper into it, and found out that is probably a database issue. I
> have followed the instructions at [1], although it is probably a problem
> that I've only made the necessary changes in oned.conf AFTER running
> first-time the oned daemon. Now, at my one.db file (I wanted to check what
> password is set for oneadmin user) it says that:
>
> "It is an SQLite file created using other tools", and I can't open it.
> Also, running oned start (when the backend at oned.conf is set to MySQL)
> results in the following:
>
>
> ~> oned start
> ~> #Aborting oned, MySQL support not compiled!
>
> (although I CAN run onevm list, which is kinda odd to me.)
>
>
> IMPORTANT NOTE: I only wanted to use MySQL as backend because I use my
> (only) host machine as the NFS server (sharing /var/lib/one), and the
> front-end acts as the NFS client, and the documentation said that using
> SQLite in this case can cause problems. My question: is it such a very
> important matter, that I wont be able to work with my host as the NFS
> server + SQLite as the backend? I'm using OpenNebula only on a small
> infrastructure, for a faculty research project.
>
>
> oned.log contains the following:
>
> Sat Mar 3 18:08:35 2012 [ONE][I]: Log level:3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Sat Mar 3 18:08:56 2012 [ReM][D]: HostPoolInfo method invoked
> Sat Mar 3 18:08:56 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Mar 3 18:08:56 2012 [ReM][D]: AclInfo method invoked
> Sat Mar 3 18:09:26 2012 [ReM][D]: HostPoolInfo method invoked
> Sat Mar 3 18:09:26 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Mar 3 18:09:26 2012 [ReM][D]: AclInfo method invoked
> Sat Mar 3 18:09:56 2012 [ReM][D]: HostPoolInfo method invoked
> Sat Mar 3 18:09:56 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Mar 3 18:09:56 2012 [ReM][D]: AclInfo method invoked
> Sat Mar 3 18:09:58 2012 [InM][I]: --Mark--
> Sat Mar 3 18:09:58 2012 [VMM][I]: --Mark--
> Sat Mar 3 18:10:18 2012 [ReM][D]: UserPoolInfo method invoked
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 Command
> execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate
> 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
>
> Sat Mar 3 18:10:18 2012 [AuM][I]: Command execution fail:
> /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin'
> '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
>
> Sat Mar 3 18:10:18 2012 [AuM][I]: sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 ExitCode: 126
>
> Sat Mar 3 18:10:18 2012 [AuM][I]: ExitCode: 126
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 6
> -
>
> Sat Mar 3 18:10:18 2012 [AuM][E]: Auth Error:
> Sat Mar 3 18:10:18 2012 [ReM][E]: [UserPoolInfo] User couldn't be
> authenticated, aborting call.
> Sat Mar 3 18:10:19 2012 [ReM][D]: UserPoolInfo method invoked
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 Command
> execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate
> 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
>
> Sat Mar 3 18:10:20 2012 [AuM][I]: Command execution fail:
> /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin'
> '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
>
> Sat Mar 3 18:10:20 2012 [AuM][I]: sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 ExitCode: 126
>
> Sat Mar 3 18:10:20 2012 [AuM][I]: ExitCode: 126
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 7
> -
>
> Sat

Re: [one-users] Version 3.2.0 + MySQL problems

2012-03-05 Thread Jaime Melis
Hello Lehel,

if it's not critical to you to have mysql support as you said in your
email, you can always create a symlink where the target is somewhere
outside of the NFS export, like /var/tmp/one.db and pointing to
/var/lib/one/one.db:

ln -s /var/tmp/one.db /var/lib/one/one.db

After that OpenNebula will work correctly with a SQLite backend.

If this doesn't fix your problems, try logging in as oneadmin and check
that you can write and execute under /var/lib/one/

Regards,
Jaime

On Sat, Mar 3, 2012 at 5:17 PM, biro lehel  wrote:

> Hello,
>
> I have an issue about using OpenNebula with MySQL. I have downloaded and
> installed version 3.2.0 using YaST on an openSUSE machine. The root of all
> my problems was when trying to log in the main Sunstone window, (with
> oneadmin user and password), i got the following error: "OpenNebula is not
> running". So I checked if the daemon was running (it was), and then I
> digged deeper into it, and found out that is probably a database issue. I
> have followed the instructions at [1], although it is probably a problem
> that I've only made the necessary changes in oned.conf AFTER running
> first-time the oned daemon. Now, at my one.db file (I wanted to check what
> password is set for oneadmin user) it says that:
>
> "It is an SQLite file created using other tools", and I can't open it.
> Also, running oned start (when the backend at oned.conf is set to MySQL)
> results in the following:
>
>
> ~> oned start
> ~> #Aborting oned, MySQL support not compiled!
>
> (although I CAN run onevm list, which is kinda odd to me.)
>
>
> IMPORTANT NOTE: I only wanted to use MySQL as backend because I use my
> (only) host machine as the NFS server (sharing /var/lib/one), and the
> front-end acts as the NFS client, and the documentation said that using
> SQLite in this case can cause problems. My question: is it such a very
> important matter, that I wont be able to work with my host as the NFS
> server + SQLite as the backend? I'm using OpenNebula only on a small
> infrastructure, for a faculty research project.
>
>
> oned.log contains the following:
>
> Sat Mar 3 18:08:35 2012 [ONE][I]: Log level:3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Sat Mar 3 18:08:56 2012 [ReM][D]: HostPoolInfo method invoked
> Sat Mar 3 18:08:56 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Mar 3 18:08:56 2012 [ReM][D]: AclInfo method invoked
> Sat Mar 3 18:09:26 2012 [ReM][D]: HostPoolInfo method invoked
> Sat Mar 3 18:09:26 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Mar 3 18:09:26 2012 [ReM][D]: AclInfo method invoked
> Sat Mar 3 18:09:56 2012 [ReM][D]: HostPoolInfo method invoked
> Sat Mar 3 18:09:56 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Mar 3 18:09:56 2012 [ReM][D]: AclInfo method invoked
> Sat Mar 3 18:09:58 2012 [InM][I]: --Mark--
> Sat Mar 3 18:09:58 2012 [VMM][I]: --Mark--
> Sat Mar 3 18:10:18 2012 [ReM][D]: UserPoolInfo method invoked
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 Command
> execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate
> 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
>
> Sat Mar 3 18:10:18 2012 [AuM][I]: Command execution fail:
> /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin'
> '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
>
> Sat Mar 3 18:10:18 2012 [AuM][I]: sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 ExitCode: 126
>
> Sat Mar 3 18:10:18 2012 [AuM][I]: ExitCode: 126
> Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 6
> -
>
> Sat Mar 3 18:10:18 2012 [AuM][E]: Auth Error:
> Sat Mar 3 18:10:18 2012 [ReM][E]: [UserPoolInfo] User couldn't be
> authenticated, aborting call.
> Sat Mar 3 18:10:19 2012 [ReM][D]: UserPoolInfo method invoked
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 Command
> execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate
> 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
>
> Sat Mar 3 18:10:20 2012 [AuM][I]: Command execution fail:
> /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin'
> '33f166cddc4d8f9ffe2102cea013ff23a286bc58'
> ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
>
> Sat Mar 3 18:10:20 2012 [AuM][I]: sh:
> /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
> Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 ExitCode: 126
>
> Sat Mar 3 18:10:20 2

[one-users] Ldap: What about compatibility with old users??

2012-03-05 Thread Ruben Diez

Hi:

We are working in order to use our OpenNebula with ldap stuff, following 
this guide:

http://opennebula.org/documentation:rel3.2:ldap

At this moment, we have a lot of OpenNebula users creating in the 
classical maner


What will be the situation of these "classic" users after turn on the 
ldap auth mechanics??


In the guide, talk about do:

ln -s /var/lib/one/remotes/auth/ldap /var/lib/one/remotes/auth/default

Is this the maner for compatibility with both old "classical" users and the 
ldap new ones???

Regards.



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


[one-users] opennebula 3.

2012-03-05 Thread nicolas diogo
i have downloaded opennebula from:
 http://downloads.opennebula.org/

 and installed the correct version (3.3.0.1) on Ubuntu 10.04 x86_64.

 and followed instructions plublished here:
 http://opennebula.org/documentation:rel3.2:ignc

 in addition to opennebula i have also installed the following packages:

 apt-get install libsqlite0-dev mysql-client curl libxml2-dev libxslt1-dev 
ruby-dev libexpat1-dev
 apt-get install qemu-kvm libvirt-bin


 but when i try to check if the system is installed correctly i get the 
following error:
 *su - oneadmin -c "onevm list"* [VirtualMachinePoolInfo] User couldn't be 
authenticated, aborting call. i would like to use ubuntu as it i am familiar 
with it. could someone let me know how i can try to debug this problem? thanks 
a lot, Nicolas
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Creating a basic vm image

2012-03-05 Thread Snyman, Adrian
I am not too sure how the initial image creation works.

>From what I understand, you need to install an OS image, and then register 
>this with oned.
Then, there is an additional ISO/Image file that has all the Changes associated 
with that
Specific host ?


Any pointers / dumbed down howto would be great on how to create an image, and 
then use
It to build other vm's ...


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




This email and all contents are subject to the following disclaimer:

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


Re: [one-users] Creating a basic vm image

2012-03-05 Thread Olivier Sallou

Le 3/5/12 1:00 PM, Snyman, Adrian a écrit :
>
> I am not too sure how the initial image creation works.
>
>  
>
> From what I understand, you need to install an OS image, and then
> register this with oned.
>
> Then, there is an additional ISO/Image file that has all the Changes
> associated with that
>
> Specific host ?
>
>  
>
>  
>
> Any pointers / dumbed down howto would be great on how to create an
> image, and then use
>
> It to build other vm's ...
>
To build a VM, you can use Suse Studio if you want to.
Or using VirtualBox on your computer and transform it to qcow2 or raw
format.
>
>  
>
>  
>
> Regards,
>
> Adrian Snyman
>
> Linux Systems Administrator
>
> Tel: 011-559-4929
>
> Cell: 082-600-1211
>
>  
>
>
> 
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
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


Re: [one-users] Creating a basic vm image

2012-03-05 Thread Snyman, Adrian
Okay, I have been getting somewhere with this ...
The commandline I used to create a vm is as follows:

#> virt-install -n VM1 -r 1024 -f /var/lib/one/images/centos-6.2/disk.0 -s 20 
--vcpus=2 --os-type linux --os-variant=rhel6 --network bridge=virbr0 
--nographics --hvm 
--location=/var/lib/one/cd_images/CentOS-6.2-x86_64-bin-DVD1.iso --extra-args 
"console=ttyS0"

So this gets me into the installer - great :)

However, I have 2 problems.


1)  The text based install does not give you the option of modifying the 
disk layout - apparently this is a bug (or feature) in centos.

2)  I get the following error now on install:


Unable to read package metadata. This may be due to a   │
  │ missing repodata directory.  Please ensure that your│
  │ install tree has been correctly generated.  │
  │ │
  │ Could not retrieve  │
  │ /mnt/sysimage/var/cache/yum/anaconda-CentOS-20111210233 │
  │ 3.x86_64/eba624e5fe8db1b4ebe2e0b0ac66565be3c909c34c46d4 │
  │ 685f50bbe921763d3b-primary.sqlite.bz2 matching remote   │
  │ checksum from anaconda-CentOS-201112102333.x86_64


So I am now trying to figure out *why* it does this. Unfortunately you cannot 
use the console without specifying the iso as a location instead of a cdrom .. 
:(


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Snyman, Adrian
Sent: 05 March 2012 02:00 PM
To: users@lists.opennebula.org
Subject: [one-users] Creating a basic vm image

I am not too sure how the initial image creation works.

>From what I understand, you need to install an OS image, and then register 
>this with oned.
Then, there is an additional ISO/Image file that has all the Changes associated 
with that
Specific host ?


Any pointers / dumbed down howto would be great on how to create an image, and 
then use
It to build other vm's ...


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za



This email and all contents are subject to the following disclaimer:

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


Re: [one-users] Ldap: What about compatibility with old users??

2012-03-05 Thread Javier Fontan
OpenNebula users can only have one authentication method (i.e.
authentication driver). The driver for each user is stored in the
database. If a user already exists then it will use the driver
specified in her or his information. Otherwise the diver used for the
first authentication is "default" and if the authentication is
successful then a new user will be created in OpenNebula database with
that driver.

If I understand your configuration correctly after enabling ldap both
old and new users will work.

On Mon, Mar 5, 2012 at 12:11 PM, Ruben Diez  wrote:
> Hi:
>
> We are working in order to use our OpenNebula with ldap stuff, following
> this guide:
> http://opennebula.org/documentation:rel3.2:ldap
>
> At this moment, we have a lot of OpenNebula users creating in the classical
> maner
>
> What will be the situation of these "classic" users after turn on the ldap
> auth mechanics??
>
> In the guide, talk about do:
>
> ln -s /var/lib/one/remotes/auth/ldap /var/lib/one/remotes/auth/default
>
> Is this the maner for compatibility with both old "classical" users and the
> ldap new ones???
>
> Regards.
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Version 3.2.0 + MySQL problems

2012-03-05 Thread biro lehel
Hello Jaime,

Thank you very much for your answer. I performed your suggestions, and changed 
back the DB backend to SQLite (also, checked the executing permissions you have 
mentioned).

However, my initial problem still exists. I can't log on with oneadmin's user 
and password to the main Sunstone interface (I get the "OpenNebula is not 
running" error each time, written in red above the log-in box, although oned 
daemon is started). I checked one.db , to see what password is set for 
oneadmin, but I couldn't find any password field.

Any suggestions what should I do?

I attach the contents of oned.log (I just noticed that error related to port 
2633, it's the first time it appears here):

Mon Mar  5 17:54:44 2012 [ONE][I]: Log level:3 
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Mon Mar  5 17:54:44 2012 [ONE][I]: Checking database version.
Mon Mar  5 17:54:44 2012 [VMM][I]: Starting Virtual Machine Manager...
Mon Mar  5 17:54:44 2012 [VMM][I]: Virtual Machine Manager started.
Mon Mar  5 17:54:44 2012 [LCM][I]: Starting Life-cycle Manager...
Mon Mar  5 17:54:44 2012 [LCM][I]: Life-cycle Manager started.
Mon Mar  5 17:54:44 2012 [InM][I]: Starting Information Manager...
Mon Mar  5 17:54:44 2012 [InM][I]: Information Manager started.
Mon Mar  5 17:54:44 2012 [TrM][I]: Starting Transfer Manager...
Mon Mar  5 17:54:44 2012 [TrM][I]: Transfer Manager started.
Mon Mar  5 17:54:44 2012 [DiM][I]: Starting Dispatch Manager...
Mon Mar  5 17:54:44 2012 [DiM][I]: Dispatch Manager started.
Mon Mar  5 17:54:44 2012 [HKM][I]: Starting Hook Manager...
Mon Mar  5 17:54:44 2012 [HKM][I]: Hook Manager started.
Mon Mar  5 17:54:44 2012 [AuM][I]: Starting Auth Manager...
Mon Mar  5 17:54:44 2012 [AuM][I]: Authorization Manager started.
Mon Mar  5 17:54:44 2012 [ImM][I]: Starting Image Manager...
Mon Mar  5 17:54:44 2012 [ImM][I]: Image Manager started.
Mon Mar  5 17:54:44 2012 [ReM][I]: Starting Request Manager...
Mon Mar  5 17:54:44 2012 [ReM][E]: Can not bind to port 2633 : Address already 
in use
Mon Mar  5 17:54:46 2012 [ReM][D]: HostPoolInfo method invoked
Mon Mar  5 17:54:47 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Mar  5 17:54:47 2012 [ReM][D]: AclInfo method invoked
Mon Mar  5 17:54:53 2012 [ReM][D]: UserPoolInfo method invoked
Mon Mar  5 17:54:53 2012 [AuM][D]: Message received: LOG I 9 Command execution 
fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' 
'33f166cddc4d8f9ffe2102cea013ff23a286bc58' 
ukbtkaYnnWypvN2hqaDZgTY3Fq4cD5iJZ+6B6Xie1WXlXrbZS7XwYD4bj52XHzI4

Mon Mar  5 17:54:53 2012 [AuM][I]: Command execution fail: 
/var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' 
'33f166cddc4d8f9ffe2102cea013ff23a286bc58' 
ukbtkaYnnWypvN2hqaDZgTY3Fq4cD5iJZ+6B6Xie1WXlXrbZS7XwYD4bj52XHzI4
Mon Mar  5 17:54:53 2012 [AuM][D]: Message received: LOG I 9 sh: 
/var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied

Mon Mar  5 17:54:53 2012 [AuM][I]: sh: 
/var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
Mon Mar  5 17:54:53 2012 [AuM][D]: Message received: LOG I 9 ExitCode: 126

Mon Mar  5 17:54:53 2012 [AuM][I]: ExitCode: 126
Mon Mar  5 17:54:53 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 9 -

Mon Mar  5 17:54:53 2012 [AuM][E]: Auth Error: 
Mon Mar  5 17:54:53 2012 [ReM][E]: [UserPoolInfo] User couldn't be 
authenticated, aborting call.

--- On Mon, 3/5/12, Jaime Melis  wrote:

From: Jaime Melis 
Subject: Re: [one-users] Version 3.2.0 + MySQL problems
To: "biro lehel" 
Cc: users@lists.opennebula.org
Date: Monday, March 5, 2012, 12:36 PM

Hello Lehel,
if it's not critical to you to have mysql support as you said in your email, 
you can always create a symlink where the target is somewhere outside of the 
NFS export, like /var/tmp/one.db and pointing to /var/lib/one/one.db:


ln -s /var/tmp/one.db /var/lib/one/one.db
After that OpenNebula will work correctly with a SQLite backend.
If this doesn't fix your problems, try logging in as oneadmin and check that 
you can write and execute under /var/lib/one/


Regards,Jaime

On Sat, Mar 3, 2012 at 5:17 PM, biro lehel  wrote:


Hello,

I have an issue about using OpenNebula with MySQL. I have downloaded and 
installed version 3.2.0 using YaST on an openSUSE machine. The root of all my 
problems was when trying to log in the main Sunstone window, (with oneadmin 
user and password), i got the following error: "OpenNebula is not running". So 
I checked if the daemon was running (it was), and then I digged deeper into it, 
and found out that is probably a database issue. I have followed the 
instructions at [1], although it is probably a problem that I've only made the 
necessary changes in oned.conf AFTER running first-time the oned daemon. Now, 
at my one.db file (I wanted to check what password is set for oneadmin user) it 
says that: 

"It is an SQLite file created using other tools", and I can't open it. Also, 
running oned start (when the backend at oned.conf is set to MySQL) results in 
the fol

Re: [one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

2012-03-05 Thread Carlos Martín Sánchez
Hi,

The opennebula documentation guides show how to install in system-wide mode
[1]. You have been pasting logs from /var/log/one, which is part or the
system-wide installation.

About the "no tty" error, follow the xen configuration guide [2] to
properly configure your sudoers file.

Regards.

[1] http://opennebula.org/documentation:rel3.2:ignc
[2] http://opennebula.org/documentation:rel3.2:xeng#configuration
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula



2012/3/5 張德勤 

> Hi, Thank for your reply.
> Why do you know I have installed two opennebulas?
> Should I remove the system-wide mode opennebula??
> And how can I remove the system-wide mode opennebula??
> I even don't know when I install a system-wide mode opennebula
>
> My oned.log shows
>
> Mon Mar  5 17:34:46 2012 [InM][I]: Monitoring host client1 (0)
> Mon Mar  5 17:34:46 2012 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 0
> client1; else  exit 42; fi'
> Mon Mar  5 17:34:46 2012 [InM][I]: sudo: no tty present and no askpass
> program specified
> Mon Mar  5 17:34:46 2012 [InM][E]: Error executing xen.rb
> Mon Mar  5 17:34:46 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 17:34:46 2012 [InM][E]: Error monitoring host 0 : MONITOR
> FAILURE 0 Error executing xen.rb
>
> Could you help me??
> Thank you!!!
>
> 2012/3/5 Carlos Martín Sánchez 
>
>> Hi,
>>
>> Looks like you have installed two opennebulas, one in system-wide mode
>> and another in self-contained inside /srv/cloud/one. I strongly advise
>> you to choose one and uninstall the other.
>>
>> Regards.
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - The Open-source Solution for Data Center Virtualization
>> www.OpenNebula.org | cmar...@opennebula.org | 
>> @OpenNebula
>>
>>
>>
>> 2012/3/5 張德勤 
>>
>>>  Dear all
>>>
>>> I solve the problem by ...
>>> export ONE_LOCATION=/srv/cloud/one
>>> export ONE_AUTH=$ONE_LOCATION/.one/one_auth
>>> export ONE_XMLRPC=http://localhost:2633/RPC2
>>> export PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:$PATH
>>> echo "oneadmin:oneadmin" > /srv/cloud/one/.one/one_auth
>>> Thank you~
>>>
>>>
>>> 張德勤  於 2012年3月5日下午2:12 寫道:
>>>
>>> Dear all:

 I am new in OpenNEbula.

 I have two machines, one is server, and the other one is client1.
 1. server :CentOS 6 + Opennebula 3.0.0
 2. client1:CentOS 6 + XEN-kernel(2.6.32.56-1.el6xen.x86_64) +XEN

 I have a problem about running onehost list
 the error message is below

 [oneadmin@server ~]$ tail /var/log/one/oned.log
 Mon Mar  5 13:57:28 2012 [InM][I]: ExitCode: 255
 Mon Mar  5 13:57:28 2012 [InM][E]: Error monitoring host 8 : MONITOR
 FAILURE 8 Error executing xen.rb

 Mon Mar  5 13:57:43 2012 [InM][I]: Monitoring host client1 (8)
 Mon Mar  5 13:57:43 2012 [InM][I]: Command execution fail: 'if [ -x
 "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 8
 client1; else  exit 42; fi'
 Mon Mar  5 13:57:43 2012 [InM][I]: sudo: no tty present and no askpass
 program specified
 Mon Mar  5 13:57:43 2012 [InM][E]: Error executing xen.rb
 Mon Mar  5 13:57:43 2012 [InM][I]: ExitCode: 255
 Mon Mar  5 13:57:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
 FAILURE 8 Error executing xen.rb



 [oneadmin@server ~]$ tail /var/log/one/oned.log
 Mon Mar  5 14:05:43 2012 [InM][I]: sudo: no valid sudoers sources
 found, quitting
 Mon Mar  5 14:05:43 2012 [InM][E]: Error executing xen.rb
 Mon Mar  5 14:05:43 2012 [InM][I]: ExitCode: 255
 Mon Mar  5 14:05:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
 FAILURE 8 Error executing xen.rb

 Mon Mar  5 14:05:44 2012 [ReM][D]: HostPoolInfo method invoked
 Mon Mar  5 14:05:44 2012 [AuM][D]: Message received: AUTHENTICATE
 FAILURE 1213 Authentication protocol 'plain' not available

 Mon Mar  5 14:05:44 2012 [AuM][E]: Auth Error: Authentication protocol
 'plain' not available
 Mon Mar  5 14:05:44 2012 [ReM][E]: [HostPoolInfo] User couldn't be
 authenticated, aborting call.

 And should I uncomment the Defaults requiretty in /etc/sudoers file??
 Because I uncomment that line.
 And should I add oneadmin in my sudoers file??
 Because I added oneadmin in my sudoers file.
 So, Why are these errors happened??
 Please Help!!!



 --
 Regards,

 Te - Chin, Chang (張德勤), +886-3-4227151 #57968
 Networklab, Computer Science & Information Engineering,
 National Central University, Jhongli, Taiwan, R.O.C

>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Te - Chin, Chang (張德勤), +886-3-4227151 #57968
>>> Networklab, Computer Science & Info

Re: [one-users] installing opennebula using oneadmin account

2012-03-05 Thread Carlos Martín Sánchez
Hi,

You need to execute the install.sh script as sudo, and use the -u and -g
options to set the oneadmin user. See [1] for all the available options.

For instance:

$ sudo install.sh -u oneadmin -g oneadmin

Regards.

[1] http://opennebula.org/documentation:rel3.2:compile
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula



2012/3/3 manjunath kadaba sathyanathan 

> hello Mr.Carlos Martín Sánchez ,
>
> thanks for showing interest in my issues.
> As in my previous post i had mentioned i had problems installing open
> nebulla in "oneadmin" account.
> i used ./install.sh command.
> it says permissions denied, cannot create directories.
> i could install opennebulla as a root user  but as a oneadmin user i
> cannot.
> hope i am clear with the issue.
> hoping to get a reply soon.
>
> thanks & regards
> K S Manjunath
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org