Re: [one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-10 Thread Nick Zhu
The file does exist. cat $ONE_AUTH oneadmin:oneadmin Also what puzzles me is that I can login when running lib/sunstone-server.rb using ruby directly but not from the bin/sunstone-server. Thanks, Nick On Fri, Jun 10, 2011 at 4:20 AM, Matthias Pauer wrote: > Hi, > > check if your one_auth fil

Re: [one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-10 Thread Matthias Pauer
Hi, check if your one_auth file exists at your configured path and it contains a user and password. This fixed exactly the same problem for us and a guy who asked this question several days ago, too. The same versions of gem packets are installed on our system (ubuntu-10.10). On Thursday, Jun

Re: [one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-09 Thread Nick Zhu
Thanks for the quick response guys. So when I tried running sunstone server directly from ruby it worked and did not complain about the name error, maybe something wrong with the rackup? My rackup and thin version: rackup -v Rack 1.1 thin -v thin 1.2.4 codename Flaming Astroboy I believe these we

Re: [one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-09 Thread Wojciech Piatek
Hi, You can also try installing older version of rack. I had the similar issues with sunstone and downgrading this gem to version 1.2.1 solved the problem. Afterwards, probably you'll have to change the config.ru file in $LIB_LOCATION/sunstone/directory by providing "::" before File.dirna

Re: [one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-08 Thread Matthias Pauer
On Thursday, June 09, 2011 12:53:56 AM Héctor Sanjuán wrote: > Hi, > > I cannot reproduce this :(. Ubuntu does not usually handle gem paths > very well. Can you check make sure that the gems correspond to the ruby > version you are using? Also, can you make sure you're not missing any > previous e

Re: [one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-08 Thread Héctor Sanjuán
Hi, I cannot reproduce this :(. Ubuntu does not usually handle gem paths very well. Can you check make sure that the gems correspond to the ruby version you are using? Also, can you make sure you're not missing any previous error in the log file. Can you also try to run "ruby sunstone-server.rb" a

[one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

2011-06-08 Thread Nick Zhu
Hi, I downloaded and installed OpenNebula 2.2.1 from the tar. Went through the installation alright and the cli interface is working now, however having problem login into sunstone. Here is the error I am getting: NameError: uninitialized constant Rack::Multipart /var/lib/gems/1.8/gems/ra