RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2106096 - subscription-manager-cockpit:I cannot run desktop client - traceback 'CockpitClient: has no attribute uri' appears
Summary: subscription-manager-cockpit:I cannot run desktop client - traceback 'Cockpit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: cockpit
Version: 9.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 9.1
Assignee: Martin Pitt
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-11 18:44 UTC by Jan Stavel
Modified: 2022-11-15 13:04 UTC (History)
1 user (show)

Fixed In Version: cockpit-273-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:16:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
a traceback in journal (146.10 KB, image/png)
2022-07-11 18:44 UTC, Jan Stavel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github cockpit-project cockpit pull 17553 0 None open client: Fix crash on absent Handy.StyleManager 2022-07-13 09:59:08 UTC
Red Hat Issue Tracker RHELPLAN-127426 0 None None None 2022-07-11 18:48:19 UTC
Red Hat Product Errata RHBA-2022:8314 0 None None None 2022-11-15 11:16:42 UTC

Description Jan Stavel 2022-07-11 18:44:21 UTC
Created attachment 1896136 [details]
a traceback in journal

Description of problem:


Version-Release number of selected component (if applicable):
I want to register a system using UI app 'Red Hat Subscription Client'

Search the application using app search.
Run it.

I do not see any new window. Nothing appears on the desktop.

If you run:

journalctl

you see a traceback

'CockpitClient' has no attribute uri.

See an attached screeenshot.



[jstavel@localhost ~]$ rpm -qa | grep cockpit
cockpit-bridge-272-1.el9.x86_64
cockpit-system-272-1.el9.noarch
subscription-manager-cockpit-2-1.el9.noarch
cockpit-storaged-272-1.el9.noarch
cockpit-packagekit-272-1.el9.noarch
cockpit-ws-272-1.el9.x86_64
cockpit-272-1.el9.x86_64
cockpit-podman-48-1.el9.noarch

Comment 1 Pino Toscano 2022-07-12 09:49:04 UTC
This seems an issue in cockpit-client (shipped in the cockpit-ws package), hence moving to the cockpit component.

Comment 2 Martin Pitt 2022-07-12 17:50:05 UTC
Ouch, thanks! This is a regression from https://github.com/cockpit-project/cockpit/commit/9d9b1f8e5c04e . We need to make it deal with the older libhandy API.

Comment 3 Martin Pitt 2022-07-13 09:48:57 UTC
Can confirm with

    sudo dnf install Xvfb webkit2gtk3 libhandy
    xvfb-run /usr/libexec/cockpit-desktop /

in a local RHEL 9.1 cloud VM. I didn't manage to get it to run with `ssh -X` (it does work for simple xprop, but not for client), but it does work with `/usr/libexec/cockpit-client --wildly-insecure`.

I verified the fix with both approaches, sent to https://github.com/cockpit-project/cockpit/pull/17553

Comment 4 Martin Pitt 2022-07-13 09:49:47 UTC
@Jan: If this blocks you from testing sub-man, you can apply the fix from https://github.com/cockpit-project/cockpit/pull/17553/files directly to /usr/libexec/cockpit-client.

Comment 10 errata-xmlrpc 2022-11-15 11:16:26 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 (cockpit 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/RHBA-2022:8314


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