Bug #4196

oneflow commands crash when one_auth is not present

Added by Carlos Martín over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:11/24/2015
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:OneFlow
Target version:Release 5.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

# oneflow-template list
/usr/lib/one/ruby/opennebula/oneflow_client.rb:314:in `initialize': undefined method `rstrip!' for nil:NilClass (NoMethodError)
    from /usr/bin/oneflow-template:185:in `new'
    from /usr/bin/oneflow-template:185:in `block (2 levels) in <main>'
    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/oneflow-template:149:in `new'
    from /usr/bin/oneflow-template:149:in `<main>

Associated revisions

Revision 1cc56dea
Added by Carlos Martín over 5 years ago

Bug #4196: Copy one_auth initialization from client.rb

Revision ef6fe4a3
Added by Carlos Martín over 5 years ago

Bug #4196: Copy one_auth initialization from client.rb

(cherry picked from commit 1cc56deab1351d5ce400fb1fecbe9c3e91109d7f)

History

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

  • Target version set to Release 5.0

#2 Updated by Carlos Martín over 5 years ago

  • Status changed from New to Closed
  • Assignee set to Carlos Martín
  • Resolution set to fixed

Also available in: Atom PDF