Bug #240

CLI should handle non existing resource IDs

Added by Tino Vázquez almost 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:05/14/2010
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:CLI
Target version:Release 2.0
Resolution: Pull request:
Affected Versions:

Description

Now it doesn't

? ~ onevm show 12341234
VIRTUAL MACHINE 12341234 INFORMATION
ID : 12341234
NAME :
STATE : INIT
LCM_STATE : LCM_INIT
START TIME : -
END TIME : -
DEPLOY ID: : -

VIRTUAL MACHINE TEMPLATE
/home/tinova/dev/nebula.git/neno/lib/ruby/OpenNebula/XMLUtils.rb:73:in `template_like_str': undefined method `collect' for nil:NilClass (NoMethodError)
from /home/tinova/dev/nebula.git/neno/lib/ruby/OpenNebula/XMLUtils.rb:54:in `template_str'
from /home/tinova/dev/nebula.git/neno/bin/onevm:719
from /home/tinova/dev/nebula.git/neno/bin/onevm:678:in `each'
from /home/tinova/dev/nebula.git/neno/bin/onevm:678

Associated revisions

Revision bdf3e26c
Added by Daniel Molina over 8 years ago

Bug #240: Fix error message shown two times, onevnet show

Revision 4909e44d
Added by Abel Coronado about 2 years ago

F #5052 VM create disabled (#240)

History

#1 Updated by Ruben S. Montero almost 9 years ago

  • Status changed from New to Assigned

#2 Updated by Daniel Molina over 8 years ago

  • Status changed from Assigned to Closed
  • Assignee changed from Javi Fontan to Daniel Molina
  • % Done changed from 0 to 100

Also available in: Atom PDF