Bug 1395029 - 'ESC' is filtered out in the OpenStack console output
Summary: 'ESC' is filtered out in the OpenStack console output
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 01:43 UTC by matt jia
Modified: 2020-10-21 14:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-21 14:12:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 5432 0 None None None 2018-02-08 23:58:19 UTC

Description matt jia 2016-11-15 01:43:55 UTC
Description of problem:

OpenStack is filtering out 'ESC' in the console output. This defeats the beaker console log scrapping which will replace the ANSI escape sequences start with 'ESC' with newlines in beaker.

Version-Release number of selected component (if applicable):

23

How reproducible:

Easy

Steps to Reproduce:
1. running a recipe with OpenStack
2. check the console log in beaker

Actual results:

The console log has some ANSI escape sequences. Something like

[1;23r[H[6B04:09:22 Not asking for VNC because of an automated install[1;24r[H[7B[1;23r[H[7B04:09:22 Not asking for VNC because text mode was explicitly asked for in kickstart[1;24r[H[9B[1;23r[H[9BStarting automated install[1;24r[H[10;27H[1;23r[H[10;27H.[1;24r[H[10;28H[1;23r[H[10;28H.[1;24r[H[10;29H[1;23r[H[10;29H.[1;24r[H[10;30H[1;23r[H[10;30H.[1;24r[H[10;31H[1;23r[H[10;31H.[1;24r[H[10;32H[1;23r[H[10;32H.[1;24r[H[10;33H[1;23r[H[10;33H.[1;24
Expected results:

The ANSI escape sequences should be replaced with newlines.

Comment 1 matt jia 2016-11-15 02:03:52 UTC
On Gerrit:

 https://gerrit.beaker-project.org/#/c/5432/

Comment 2 matt jia 2016-12-16 01:07:29 UTC
I haven't come up with a workaround that doesn't run a very high chance of wiping out legitimate parts of the console output. May be we do not need to bother this in beaker as the nova bug I have filed will be fixed.

https://bugs.launchpad.net/nova/+bug/1645545


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