Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 971188

Summary: Console log lacks dashes.
Product: Red Hat OpenStack Reporter: Jaroslav Henner <jhenner>
Component: openstack-novaAssignee: Xavier Queralt <xqueralt>
Status: CLOSED ERRATA QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: ajeain, apevec, dallan, jkt, ndipanov, rbryant, xqueralt, yeylon
Target Milestone: z2Keywords: ZStream
Target Release: 3.0   
Hardware: x86_64   
OS: Linux   
Fixed In Version: openstack-nova-2013.1.3-1.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 20:19:08 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:

Description Jaroslav Henner 2013-06-06 00:18:58 UTC
Description of problem:
Something eats dashes from the console log displayed in Horizon

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

How reproducible:

Steps to Reproduce:
1. echo abc-def > /ttyS0

Actual results:
abcdef in console log

Expected results:
abc-def in console log

Additional info:

Comment 2 Xavier Queralt 2013-06-24 07:48:50 UTC
The problem is a small typo in the regular expression used in console-log to filter the characters and caused the dash to be introduced in that list. I've just proposed the fix upstream that fixes that.

Comment 3 Xavier Queralt 2013-07-25 13:31:49 UTC
Fixed in havanna and grizzly

Comment 4 Xavier Queralt 2013-07-29 16:05:01 UTC
Will be included in stable/grizzly 2013.1.3 release.

Comment 9 Jaroslav Henner 2013-08-19 13:35:40 UTC
after doing
# echo 'ěščřž\|-' > /dev/ttyS0
on guest, I can see
nova console-log foo --length 1024
... (other lines)

So I like dashes are left unchanged. This was the topic of this bug so I think I can set it to VERIFIED.

Comment 10 Nir Magnezi 2013-08-20 10:44:14 UTC
Verified NVR: openstack-nova-common-2013.1.3-1.el6ost.noarch

Verification Steps:
1. Launched a rhel based instance.
2. as root: echo abc-def /dev/ttyS0

abc-def appears with the dashes in console log

Comment 12 errata-xmlrpc 2013-09-03 20:19:08 UTC
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.