Bug 2125809

Summary: Traces service restart should warn user that host will reboot
Product: Red Hat Satellite Reporter: Matthew Yee <myee>
Component: katello-tracerAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: dsinglet, lufu, rlavi, sbible, zhunting
Target Milestone: 6.15.0Keywords: Regression, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.11.0.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:12:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
image showing the services that will reboot. none

Description Matthew Yee 2022-09-10 17:24:56 UTC
Created attachment 1910960 [details]
image showing the services that will reboot.

Description of problem:
Traces will restart the host without warning.


Version-Release number of selected component (if applicable):
6.12


How reproducible:
100%

Steps to Reproduce:
1. Install an old version of RHEL.
2. Install tracer.
3. Update host errata etc. 
4. Review traces and restart all specified apps. Often a large update will require reboots. 

Actual results:
Reboots host without warning.

Expected results:
This operation should warn the user that the server will be rebooted. Yes, the user should read over the applications that require restart after patching in the traces menu but it would be a better user experience to warn the user of a reboot to prevent needless downtime (or worse, data loss).

Additional info:
video here: https://drive.google.com/file/d/109khUB7RR-E9cZSBYAJk56-PMrzEyaHn/view?usp=sharing

Comment 1 Ondrej Gajdusek 2022-09-13 08:41:20 UTC
This is a regression from the old host UI which warns the user that the host will be rebooted.
I as a user would expect the new host UI to provide the same UX as the old one in this regard.

Comment 4 Jeremy Lenz 2023-12-13 21:52:36 UTC
Created redmine issue https://projects.theforeman.org/issues/36986 from this bug

Comment 5 Bryan Kearney 2023-12-14 00:02:09 UTC
Upstream bug assigned to jlenz

Comment 6 Bryan Kearney 2023-12-14 00:02:11 UTC
Upstream bug assigned to jlenz

Comment 8 Sam Bible 2024-01-25 01:44:43 UTC
Verified on 6.15 - Snap 7

Steps to Verify:
1. Enable rhel8 sat client, appstream and base os
2. Sync the repos, and add them to a CV
3. Publish the CV
4. Create an AK with Library LCE, and the published CV
5. Register Host with this AK
6. Enable traces through the Traces tab
7. SSH into the host, and run yum downgrade dbus. This will generate several traces, including a static trace

Expected Results:
When selecting the static trace, either by itself or through the select all checkbox, the button changes to Reboot Host and a banner pops up to let you know the host will reboot.

Actual Results:
When selecting the static trace, either by itself or through the select all checkbox, the button changes to Reboot Host and a banner pops up to let you know the host will reboot.

Comment 11 errata-xmlrpc 2024-04-23 17:12:38 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 (Important: Satellite 6.15.0 release), 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-2024:2010