Bug 1266567 - [7.2 ] openstack_horizon attempts to apply regex to plugin py{c,o} files.
Summary: [7.2 ] openstack_horizon attempts to apply regex to plugin py{c,o} files.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: sos
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: async
: 7.0 (Kilo)
Assignee: Lee Yarwood
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-25 16:10 UTC by Lee Yarwood
Modified: 2023-02-22 23:02 UTC (History)
10 users (show)

Fixed In Version: sos-3.2-36.el7ost.1
Doc Type: Bug Fix
Doc Text:
Prior to this update, the Horizon sos plug-in used regular expressions for all files in the /etc/openstack-dashboard/ directory. This directory, however, also contains compiled Python files (.pyc and .pyo), which could not be processed correctly, and as a consequence, multiple error messages were generated. These files are now excluded from processing. As a result, the Horizon sos plug-in no longer produces such error messages.
Clone Of:
Environment:
Last Closed: 2015-11-19 23:30:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2496 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 7 Bug Fix and Enhancement Advisory 2015-11-20 03:33:03 UTC

Description Lee Yarwood 2015-09-25 16:10:03 UTC
Description of problem:

~~~
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_10_admin.pyc' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_10_admin.pyo' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_20_project.pyc' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_20_project.pyo' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_30_identity.pyc' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_30_identity.pyo' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_50_tuskar.pyc' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_50_tuskar.pyo' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_60_tuskar_boxes.pyc' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_60_tuskar_boxes.pyo' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_60_tuskar_sat_ui.pyc' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
[plugin:openstack_horizon] regex substitution failed for '/etc/openstack-dashboard/enabled/_60_tuskar_sat_ui.pyo' with: ''utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte'
~~~

Version-Release number of selected component (if applicable):
sos-3.2-16.el7ost.5

How reproducible:
Always.

Steps to Reproduce:
1. Run sosreport on an undercloud node where tuskar-ui is installed.

Actual results:
Above errors reported.

Expected results:
No errors reported, regex not used against .py{c,o} files.

Additional info:

Comment 6 nlevinki 2015-11-19 07:21:19 UTC
automation passed

Comment 8 errata-xmlrpc 2015-11-19 23:30:37 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.

https://access.redhat.com/errata/RHBA-2015:2496


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