Bug #2339
Unhelpful error when using --net option (invalid) with onetemplate or onevm create
Status: | Closed | Start date: | 09/26/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | CLI | |||
Target version: | Release 4.6 | |||
Resolution: | wontfix | Pull request: | ||
Affected Versions: | OpenNebula 4.2 |
Description
$ onetemplate create --net test command create: argument 0 must be one of file,
History
#1 Updated by Javi Fontan over 7 years ago
This problem happens because optparse library autocompletes parameters. This --net is completed to --net_context and it does not have extra argument so "test" is the first argument to the command (the file template). It gives error as the file "test" is not found.
Parameter autocompletion should be disabled.
#2 Updated by Javi Fontan over 7 years ago
- Target version deleted (
Release 4.4)
#3 Updated by Javi Fontan over 7 years ago
- Status changed from New to Pending
- Assignee set to Javi Fontan
#4 Updated by Ruben S. Montero over 7 years ago
- Status changed from Pending to New
- Target version set to Release 4.6
#5 Updated by Javi Fontan over 7 years ago
- Status changed from New to Closed
- Resolution set to wontfix