Bug 971188 - Console log lacks dashes.
Console log lacks dashes.
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
x86_64 Linux
unspecified Severity medium
: z2
: 3.0
Assigned To: Xavier Queralt
Ami Jeain
: ZStream
Depends On: 993100
  Show dependency treegraph
Reported: 2013-06-05 20:18 EDT by Jaroslav Henner
Modified: 2015-06-04 17:51 EDT (History)
8 users (show)

See Also:
Fixed In Version: openstack-nova-2013.1.3-1.el6ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-09-03 16:19:08 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1194032 None None None Never
OpenStack gerrit 34166 None None None Never

  None (edit)
Description Jaroslav Henner 2013-06-05 20:18:58 EDT
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 03:48:50 EDT
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 09:31:49 EDT
Fixed in havanna and grizzly
Comment 4 Xavier Queralt 2013-07-29 12:05:01 EDT
Will be included in stable/grizzly 2013.1.3 release.
Comment 9 Jaroslav Henner 2013-08-19 09:35:40 EDT
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 06:44:14 EDT
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 16:19:08 EDT
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.


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