Bug 915215 - Virt-convert prints incorrect error message while using a nonexistent path
Summary: Virt-convert prints incorrect error message while using a nonexistent path
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virtinst
Version: unspecified
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Kletzander
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 08:59 UTC by Geyang Kong
Modified: 2013-08-05 03:45 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-07 09:52:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Geyang Kong 2013-02-25 08:59:07 UTC
Description of problem:
  Virt-convert on RHEL7 printed incorrect error message while using a nonexistent path.

Version-Release number of selected component (if applicable):
python-virtinst-0.600.3-2.el7.noarch

Reproduce steps:
1. Have prepared an image file such as this:
[root@dhcp-66-71-159 vmware]# ls
esx5.0-rhel6.3-i386-flat.vmdk  esx5.0-rhel6.3-i386.vmx
esx5.0-rhel6.3-i386.vmdk       esx5.0-rhel6.3-i386.vmxf

2. Run: virt-convert -i vmx -o virt-image /tmp/vmware/ /root/asdfzxcv/tyuiopjkl/

Actual results:
1. Got: ERROR    Could not create directory %s: %s

Expected results:
1. Got: ERROR    Could not create directory /root/asdfzxcv/tyuiopjkl/: No such file or directory.

Additional info:

Comment 1 Martin Kletzander 2013-03-06 15:47:57 UTC
Fixed upstream in following commit, but we have to wait for the merge (added into "Depends on") to be done.

commit 7a18b874388e23bda9972b267937309626664059
Author: Martin Kletzander <mkletzan>
Date:   Wed Mar 6 13:18:50 2013 +0100

    Fix error message

Comment 2 Martin Kletzander 2013-03-07 09:52:18 UTC
Don't mind the "merge" part of previous comment, changing to upstream and closing as NEXTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.