Bug 45059 - Multiple confusing error/warning messages for aborted pre-update check
Multiple confusing error/warning messages for aborted pre-update check
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-24 15:08 CEST by Philipp Hahn
Modified: 2020-07-03 20:53 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-07-24 15:08:32 CEST
If the update is aborted by the "preup.sh" script, multiple error/warning messages are printed:
> WARNING: You are logged in using SSH -- this may interrupt the update and result in an inconsistent system!
> Please log in under the console or re-run with "--ignoressh" to ignore it.
> Error: Please check "/var/log/univention/updater.log" for details.
> ERROR: update failed. Please check /var/log/univention/updater.log

Similar:
> ERROR: Found running QEMU virtual machines
...
> Error: Please check "/var/log/univention/updater.log" for details.
> ERROR: update failed. Please check /var/log/univention/updater.log

And from <https://help.univention.com/t/qemu-verhindert-upgrade/6177>:
> ERROR: Found QEMU virtual machines using old machines
...
> Error: Update aborted by pre-update script of release 4.2-0


Those multiple and nested "Error" messages are confusing the user.
Especially the first case, where a "Warning" is also fatal.

Noticed during UCS Technical training 2017-07:
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:53:03 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.