Bug #3300

oneuser login fails with no $ONE_AUTH present

Added by Tino Vázquez over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:11/06/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:CLI
Target version:Release 4.10.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.10

Description

-bash-4.1$ oneuser login oneadmin
Password: /usr/lib/one/ruby/cli/one_helper.rb:414:in `gets': No such file or directory - oneadmin (Errno::ENOENT)
from /usr/lib/one/ruby/cli/one_helper.rb:414:in `get_password'
from /usr/lib/one/ruby/cli/one_helper/oneuser_helper.rb:23:in `login_token'
from /usr/lib/one/ruby/cli/one_helper/oneuser_helper.rb:165:in `login'
from /usr/bin/oneuser:347
from /usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
from /usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
from /usr/bin/oneuser:36:in `new'
from /usr/bin/oneuser:36

Associated revisions

Revision 43f66174
Added by Ruben S. Montero over 6 years ago

bug #3300: Fix oneuser login for ruby 1.8.7

Revision 4f7519de
Added by Ruben S. Montero over 6 years ago

bug #3300: Fix oneuser login for ruby 1.8.7

(cherry picked from commit 43f66174c2ef4b757dc56b1d2a5b8401ed7db0f9)

History

#1 Updated by Ruben S. Montero over 6 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

#2 Updated by Ruben S. Montero over 6 years ago

  • Target version changed from Release 4.12 to Release 4.10.1

Also available in: Atom PDF