Bug 2184201
Summary: | Deploying a compute node fails with: Error: 'utf-8' codec can't encode characters in position 2623-2624: surrogates not allowed _try_preserve_efi_assets | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Mircea Vutcovici <mircea.vutcovici> |
Component: | openstack-ironic-python-agent | Assignee: | Julia Kreger <jkreger> |
Status: | CLOSED ERRATA | QA Contact: | James E. LaBarre <jlabarre> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 16.2 (Train) | CC: | aruffin, imatza, itbrown, jkreger, juriarte, sbaker |
Target Milestone: | z6 | Keywords: | Triaged |
Target Release: | 16.2 (Train on RHEL 8.4) | ||
Hardware: | x86_64 | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | openstack-ironic-python-agent-5.0.5-2.20230502215002.8330df9.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-08 19:18:34 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: | |
Embargoed: |
Description
Mircea Vutcovici
2023-04-03 22:41:55 UTC
This issue appears to be rooted in python2/python3 differences. The underlying call was written for python2 compatibility, which truncates the data down to the UTF-8 character set by using os.fsdecode on the standard-error and standard-output content before returning to the caller. This occurs in the oslo.concurrency library. It appears, just adding the binary=True option to the calls where we may get UTF-16 content, seems reasonable and the path forward. I'm going to upload a work in progress patch into CI to see if this if making the overall change results in things working as expected. Having an automated low level test of this is not really possible, but the underlying library *does* actually have a test for the option, so it is more a question of compatibility for the agent code using the library with the different option. The fix has merged downstream, and is in the build pipeline process. It should be available in our next z stream. 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 (Red Hat OpenStack Platform 16.2.6 (Train) bug fix and enhancement 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-2023:6307 |