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 2062297 - Unclear error message when saving crash dump over NFS
Summary: Unclear error message when saving crash dump over NFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit
Version: 8.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.7
Assignee: Martin Pitt
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-09 13:58 UTC by Asaf Rachmani
Modified: 2022-11-08 12:31 UTC (History)
1 user (show)

Fixed In Version: cockpit-269-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 10:48:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
Error message screenshot (81.46 KB, image/png)
2022-03-09 14:01 UTC, Asaf Rachmani
no flags Details
Error message screenshot (81.46 KB, image/png)
2022-03-09 14:03 UTC, Asaf Rachmani
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115010 0 None None None 2022-03-09 14:02:38 UTC
Red Hat Product Errata RHBA-2022:7718 0 None None None 2022-11-08 10:48:18 UTC

Description Asaf Rachmani 2022-03-09 13:58:51 UTC
Description of problem:
Under "Crash dump location" when the location is "Remote over ssh"
the default value for the directory field is "/var/crash" and cannot be empty, if the path does not exist on the NFS, the operation will fail with the following error:
"Unable to apply settings: Error: systemd job RestartUnit ["kdump.service","replace"] failed with result failed"

Version-Release number of selected component (if applicable):
cockpit-260-1.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Launch cockpit "http://localhost:9090"
2. Set crash dump location to "Remote over NFS"
3. Use the default value in the Directory field and make sure it doesn't exist on the NFS
4. Test kernel dump

Actual results:
Getting an unclear error message - "Unable to apply settings: Error: systemd job RestartUnit ["kdump.service","replace"] failed with result failed"

Expected results:
Get a clear error message

Additional info:
See also bug 1713633#c30

Comment 1 Asaf Rachmani 2022-03-09 14:01:40 UTC
Created attachment 1864913 [details]
Error message screenshot

Comment 2 Asaf Rachmani 2022-03-09 14:03:18 UTC
Created attachment 1864914 [details]
Error message screenshot

Comment 3 Martin Pitt 2022-04-04 06:36:26 UTC
I improved this in https://github.com/cockpit-project/cockpit/pull/17214 , the dialog now shows the kdump.service journal to give more details. kdump's error message is still confusing though, I filed bug 2071529 about that. When that is fixed, it should be clear enough. Thanks!

Comment 12 errata-xmlrpc 2022-11-08 10:48:03 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:7718


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