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'
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
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