Re: [one-users] Sunstone question/trouble

2011-07-13 Thread Héctor Sanjuán
El 12/07/11 23:45, Robert Schweikert escribió: > Yes, definitely helped to understand why I was getting the error. It > might be useful to also document, and maybe it is and I missed it, that > sunstone-server needs to run as oneadmin user and not as root or other. No, I think you misunderstood. S

Re: [one-users] Sunstone question/trouble

2011-07-12 Thread Steffen Neumann
Hi, On Tue, 2011-07-12 at 17:45 -0400, Robert Schweikert wrote: > OK, now I see the problem. This depends on the sunstone-server running > as the oneadmin user with the HOME environment variable being set > properly by the shell. Why isn't HOME set correctly ? If it is run via su onea

Re: [one-users] Sunstone question/trouble

2011-07-12 Thread Robert Schweikert
Hi Hector, On 07/12/2011 04:30 PM, Héctor Sanjuán wrote: Hi Robert, Sunstone (actually the ruby oca) does look for the one_auth file in the user home folder. This is done here [1]. OK, now I see the problem. This depends on the sunstone-server running as the oneadmin user with the HOME envir

Re: [one-users] Sunstone question/trouble

2011-07-12 Thread Héctor Sanjuán
Hi Robert, Sunstone (actually the ruby oca) does look for the one_auth file in the user home folder. This is done here [1]. If the ONE_AUTH environmental variable is not defined, it will try to find the file in ~/.one/one_auth Note that this one_auth file should contain the credentials of the '

Re: [one-users] Sunstone question/trouble

2011-07-12 Thread Ara Sadoyan
This is just for starring Sunstone. After it's started you can add as menu users as you want. But this one will be superadmin. Robert Schweikert wrote: > > >On 07/12/2011 11:57 AM, Ara Sadoyan wrote: >> Hi Robert >> >> You need something like this before starting sunstone. OR better add it >>

Re: [one-users] Sunstone question/trouble

2011-07-12 Thread Robert Schweikert
On 07/12/2011 11:57 AM, Ara Sadoyan wrote: Hi Robert You need something like this before starting sunstone. OR better add it to you oneadmin .bashrc file. it forks for me perfectly. export ONE_AUTH=/home/one/oneauth OK, that would work for the oneadmin user I suppose, or do you collect all

Re: [one-users] Sunstone question/trouble

2011-07-12 Thread Ara Sadoyan
Hi Robert You need something like this before starting sunstone. OR better add it to you oneadmin .bashrc file. it forks for me perfectly. export ONE_AUTH=/home/one/oneauth Regards, Ara On 7/12/2011 8:37 PM, Robert Schweikert wrote: > Hi, > > I am trying to get Sunstone running and create a

[one-users] Sunstone question/trouble

2011-07-12 Thread Robert Schweikert
Hi, I am trying to get Sunstone running and create a separate package for SUSE, rather than packaging the OpenNebula and Sunstone stuff together. I have the server running but when I try to login I get ONE_AUTH file not present shouldn't the server look in the users home directory for the us