Bug 1850118 - Python error - a bytes-like object is required, not 'str' - seen when trying to set hosted-engine shared config for storage
Summary: Python error - a bytes-like object is required, not 'str' - seen when trying...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.8
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1850117
Blocks: RHHI-V-1.8-Engineering-Inflight-BZs
TreeView+ depends on / blocked
 
Reported: 2020-06-23 15:06 UTC by SATHEESARAN
Modified: 2020-08-04 14:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1850117
Environment:
Last Closed: 2020-08-04 14:52:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:52:50 UTC

Description SATHEESARAN 2020-06-23 15:06:36 UTC
Description of problem:
-----------------------
When trying to set hosted-engine shared config for storage, python error is seen - "a bytes-like object is required, not 'str'"

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
ovirt-hosted-engine-setup-2.4.5-1.el8ev.noarch
ovirt-hosted-engine-ha-2.4.3-1.el8ev.noarch

How reproducible:
------------------
Always

Steps to Reproduce:
-------------------
1. Set the shared storage config - # hosted-engine --set-shared-config storage newhost.example.com

Actual results:
---------------
Error seen

Expected results:
------------------
Successfully modify shared config storage

--- Additional comment from SATHEESARAN on 2020-06-23 15:02:41 UTC ---

[root@ ]# hosted-engine --set-shared-config storage rhsqa-grafton12.lab.eng.blr.redhat.com:/engine --type=he_shared
a bytes-like object is required, not 'str'

Comment 3 SATHEESARAN 2020-07-09 09:29:54 UTC
Tested with ovirt-hosted-engine-ha-2.4.4-1.el8ev.noarch

When setting the shared config, no errors are seen

[root@ ]# hosted-engine --set-shared-config storage rhsqa-grafton12.lab.eng.blr.redhat.com:/engine --type=he_shared
[root@ ]# echo $?
[root@ ]# 0

Comment 4 errata-xmlrpc 2020-08-04 14:52:36 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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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/RHEA-2020:3314


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