Bug 1140050
Summary: | No error shows when multiple conflicting options used with virt-v2v | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhoujunqin <juzhou> | ||||||
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.1 | CC: | codong, dyuan, mbooth, mzhan, ptoscano, tzheng, wshi | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | V2V | ||||||||
Fixed In Version: | libguestfs-1.27.42-1.2.el7 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-03-05 13:44:26 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
zhoujunqin
2014-09-10 08:58:42 UTC
Created attachment 936056 [details]
log for step step2
Created attachment 936057 [details]
log file to step3
For the -i and -o options, this is fixed in the following commit: https://github.com/libguestfs/libguestfs/commit/b6099f4aee3e14a04f6b8c8d62246d337f2a1582 $ virt-v2v -i disk -i libvirt virt-v2v: error: -i option used more than once on the command line Note this doesn't fix other options. eg. It's still possible to specify -oa or -os twice (in which case, the last option "wins"). It complicates the code to prevent such cases. I can reproduce this issue as Comment 0. Try to verify with new build: libguestfs-1.27.43-1.1.el7.x86_64 virt-v2v-1.27.43-1.1.el7.x86_64 steps: # virt-v2v -i libvirtxml -i disk virt-v2v: error: -i option used more than once on the command line If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] # virt-v2v -i disk -o local -i disk virt-v2v: error: -i option used more than once on the command line If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] # virt-v2v -i disk -o local -o local virt-v2v: error: -o option used more than once on the command line If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] # virt-v2v -o local -i disk -o local virt-v2v: error: -o option used more than once on the command line If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] see above result, move this bug from ON_QA to VERIFIED. 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. https://rhn.redhat.com/errata/RHBA-2015-0303.html |