Bug 1314244
Summary: | RFE: virt-p2v log window should process colour escapes and backspaces | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiaodai Wang <xiaodwan> | ||||||
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 7.3 | CC: | juzhou, mxie, mzhan, ptoscano, rjones, tzheng | ||||||
Target Milestone: | rc | Keywords: | FutureFeature | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | P2V | ||||||||
Fixed In Version: | libguestfs-1.32.5-6.el7 | Doc Type: | Enhancement | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-11-03 17:59:27 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
Xiaodai Wang
2016-03-03 09:36:18 UTC
Created attachment 1132701 [details]
screen shot
Yup. The log window is kind of messy and doesn't "process" colour escape sequences or backspaces (in this example). I tried to fix this a while back but it wasn't that simple. I can reproduce the bug with build: virt-p2v-1.28.1-1.51.4.el7.iso Try to verify the bug with build: virt-p2v-1.32.5-5.el7 Steps 1. Launch virt-p2v boot GUI via iso 2. Input conversion server info and click next 3. Input conversion info for host and then click start conversion Result now: There are still little messy code at the beginning of the log, pls refer to screeshot'virt-p2v-1.32.5-5.el7' Hi rjones Could you help to check this problem,thanks Created attachment 1170625 [details]
virt-p2v-1.32.5-5.el7
Yup, that's not supposed to happen. I didn't see it in my own testing. OK this is caused because you have a readline setting set horizontal-scroll-mode on probably in /root/.inputrc or /etc/inputrc. The solution is to turn that setting off. See also: http://superuser.com/a/862341 There's apparently no way to get bash to ignore this file or to turn off the setting at runtime, so there's no real way to fix it from virt-p2v. (In reply to Richard W.M. Jones from comment #9) > OK this is caused because you have a readline setting > > set horizontal-scroll-mode on > > probably in /root/.inputrc or /etc/inputrc. The solution is to turn > that setting off. See also: http://superuser.com/a/862341 > > There's apparently no way to get bash to ignore this file or to turn > off the setting at runtime, so there's no real way to fix it from virt-p2v. This issue is possibly fixed by: https://github.com/libguestfs/libguestfs/commit/d41cf142e1eb285eca798889d3b6a955afffbe32 However there are still some cases where the final virt-v2v-wrapper command gets echoed back into the messages output. Try to verify the bug with build libguestfs-1.32.5-6.el7 Steps 1. Launch virt-p2v boot GUI via iso 2. Input conversion server info and click next 3. Input conversion info for host and then click start conversion Result now: There is no messy code at the beginning of the log So move the bug from ON_QA to VERIFIED Sorry, forgot to add p2v version in build, verify the bug with build: virt-p2v-1.32.5-6.el7 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/RHSA-2016-2576.html |