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,

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 matthias.pa...@iqundu.comwrote: Hi,

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

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

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