Agent failure with Python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Chuck Short |
Bug Description
Brief Description
-----------------
Installation failure because of python3 string regex:
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
2021-06-30 12:26:02.167 71787 ERROR sysinv.
Severity
--------
Critical
Steps to Reproduce
------------------
Install Centos8 release of starlingx from master.
Expected Behaviour
-----------------
Bootstrap to complete.
Reproducibility
---------------
100% reproducable
System Configuration
-------
stx-aio
Branch
------
f/centos8
Last Pass
---------
Never
Changed in starlingx: | |
assignee: | nobody → Chuck Short (zulcss) |
tags: | added: stx.config stx.python3 |
Changed in starlingx: | |
status: | Triaged → Fix Committed |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/799471 /opendev. org/starlingx/ config/ commit/ bfb7eac273333b0 2e8ad8869cb3e0b 1e7a8caf1e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: f/centos8
commit bfb7eac273333b0 2e8ad8869cb3e0b 1e7a8caf1e
Author: Charles Short <email address hidden>
Date: Mon Jul 5 08:32:24 2021 -0400
Fix traceback while running agent
In python2 an invalid escape error was treated as a literal, in python3
it is treated as an error.
Tested code snipped on both centos7(python2.7) and centos8(python3.6).
Closes-bug: 1934671
Signed-off-by: Charles Short <email address hidden> 7d5aeef33c95315 50acf647259
Change-Id: I81936c2e643a68