Bug #1416

-d option is used in oneimage for two different options

Added by Daniel Molina almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:08/14/2012
Priority:NormalDue date:
Assignee:Javi Fontan% Done:


Target version:Release 3.8
Resolution:worksforme Pull request:
Affected Versions:OpenNebula 3.6


From Shantanu Pavgi:

It seems like oneimage command has used short-option '-d' for both datastore and delay option. I haven't checked the actual command implementation, but documentation seems to be conveying duplicate use of the same option flag. I couldn't find it in currently opened issues, but sorry if it has been already reported.


`oneimage` <command> [<args>] [<options>]

     -d, --datastore id|name   Selects the datastore
     -x, --xml                 Show the resource in xml format
     -l, --list x,y,z          Selects columns to display with list command
     -d, --delay x             Sets the delay in seconds for top command
     -n, --numeric             Do not translate user and group IDs
     -v, --verbose             Verbose mode
     -h, --help                Show this message
     -V, --version             Show version and copyright information


Version: OpenNebula 3.6.0

When using -d in ''top'' command it throws an exception

  ID USER     GROUP    NAME             TYPE          REGTIME PUB PER STAT  RVMS
undefined method `call' for nil:NilClass


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

  • Assignee changed from Daniel Molina to Javi Fontan

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

  • Status changed from New to Assigned

#3 Updated by Javi Fontan almost 9 years ago

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

-d/--datastore is used for create, -d/--delay is only used in top. There is no overlapping. I can not reproduce the error.

Also available in: Atom PDF