Bug 1826248
Summary: | [4.4][ovirt-cockpit-sso] Compatibility issues with python3 | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Beni Pelled <bpelled> |
Component: | ovirt-cockpit-sso | Assignee: | Lev Veyde <lveyde> |
Status: | CLOSED ERRATA | QA Contact: | Beni Pelled <bpelled> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | lrotenbe, lveyde, mavital, mtessun, rdlugyhe, sbonazzo |
Target Milestone: | ovirt-4.4.0 | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-cockpit-sso-0.1.4-1.el8ev | Doc Type: | Bug Fix |
Doc Text: |
Previously, the 'Host console SSO' feature did not work with python3, which is the default python on RHEL 8. The code was initially written for Python2 and was not properly modified for Python3. The current release fixes this issue: The 'Host console SSO' feature works with Python3.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 13:22:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1789733 |
Description
Beni Pelled
2020-04-21 10:15:41 UTC
Can you please provide any specific info related to the "In addition to the urlparse issue, there are a few more problems with encode/decode etc." note? So that we could decide if it's worth to open a new bug for these issues. (In reply to Lev Veyde from comment #2) > Can you please provide any specific info related to the "In addition to the > urlparse issue, there are a few more problems with encode/decode etc." note? I mentioned this specifically about /usr/share/ovirt-cockpit-sso/cockpit-auth-ovirt for example, if I fix the urlparse problem I encounter more problems later in the file, ex: Apr 22 14:58:28 compute-ge-10.scl.lab.tlv.redhat.com start.sh[6570]: File "/usr/share/ovirt-cockpit-sso/cockpit-auth-ovirt", line 50, in send_auth_command Apr 22 14:58:28 compute-ge-10.scl.lab.tlv.redhat.com start.sh[6570]: os.write(1, "{}\n\n{}".format(len(text)+1, text)) Apr 22 14:58:28 compute-ge-10.scl.lab.tlv.redhat.com start.sh[6570]: TypeError: a bytes-like object is required, not 'str' Verified with: - ovirt-engine-4.4.0-0.37.master.el8ev.noarch - ovirt-cockpit-sso-0.1.4-1.el8ev.noarch - libvirt-6.0.0-17.module+el8.2.0+6257+0d066c28.x86_64 - vdsm-4.40.14-1.el8ev.x86_64 Verification steps: 1. Make sure 'ovirt-cockpit-sso.service' is running on the engine 2. Go to the Hosts window, select one of the hosts and select 'Host Console' Result: - A new window opens with the cockpit service - authenticated by SSO 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 (Important: RHV Manager (ovirt-engine) 4.4 security, 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/RHSA-2020:3247 |