Bug #1901
wrong oneimage exit code on existing clone target name
Status: | Closed | Start date: | 04/12/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | CLI | |||
Target version: | Release 4.0 | |||
Resolution: | wontfix | Pull request: | ||
Affected Versions: | OpenNebula 3.8 |
Description
oneimage exits with 0 although the result is an error if the target name for cloning already exists.
Also, the output is on stdout instead of stderr.
$ oneimage clone source target
Error allocating a new image. NAME is already taken by IMAGE 232.
$ echo $?
0
History
#1 Updated by Javi Fontan about 8 years ago
- Status changed from New to Assigned
- Assignee set to Javi Fontan
- Target version set to Release 4.0
- Affected Versions OpenNebula 4.0 added
#2 Updated by Javi Fontan about 8 years ago
- Affected Versions OpenNebula 3.8 added
#3 Updated by Javi Fontan about 8 years ago
- Status changed from Assigned to Closed
- Resolution set to wontfix
This is already fixed in 62857345 for 4.0