Bug #2721

onegroup create may not detect OpenNebula::Error

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

Status:ClosedStart date:02/07/2014
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

0%

Category:CLI
Target version:Release 4.6
Resolution:fixed Pull request:
Affected Versions:Development

Description

If a user can create groups, but not Acl rules, oned will return an error.

$ onegroup create aaa 
ID: 100
....../onegroup_helper.rb:44:in `create_resource': undefined method `to_i' for #<OpenNebula::Error:0x00000002d20ff8> (NoMethodError)

Associated revisions

Revision 34ac8ff0
Added by Tino Vázquez over 7 years ago

Bug #2721: Add error check in onegroup creation

History

#1 Updated by Jaime Melis over 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Tino Vázquez

#2 Updated by Tino Vázquez over 7 years ago

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

Also available in: Atom PDF