Description of problem:
When an image is uploaded twice with the --ovf-id option, error is properly reported, but the returncode is zero.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Not critical, not urgent, not a regression, postponing to 3.6
# engine-image-uploader -e export_domain -N appliance --ovf-id upload rhevm-appliance-20160623.0-1.x86_64.rhevm.ova
WARNING: ovirt-image-uploader is deprecated in 4.0 and will be removed in 4.1
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: /tmp/tmpu5InQw/6f6d46f8-12a6-49c8-9814-c4903b95466f/master/vms/7b51fb3b-c42b-4f0b-89ce-a2d778a4734e/7b51fb3b-c42b-4f0b-89ce-a2d778a4734e.ovf exists on 10.34.63.199. Either remove it or supply the --force option to overwrite it.
# echo $?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.