Bug 1325393
Summary: | Undocumented exit status 255 if --riskcheck ran too soon | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alois Mahdal <amahdal> |
Component: | preupgrade-assistant | Assignee: | Petr Hracek <phracek> |
Status: | CLOSED ERRATA | QA Contact: | Alois Mahdal <amahdal> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8 | CC: | fkluknav, jmazanek, ovasik, phracek, pstodulk, tcerna, ttomecek |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | preupgrade-assistant-2.1.7.post18-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
In some cases, the "preupg --riskcheck" command returned the exit status of 225. This status is not documented and could be misinterpreted by scripting utilities. With this update, "preupg --riskcheck" returns the documented exit status of 14.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 08:56:49 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1335121 |
Description
Alois Mahdal
2016-04-08 17:02:54 UTC
Note that I have seen preupg --riskcheck exit with 255 also in other circumstances related to broken modules. I have not been able to reproduce it reliably, though. Hopefully once we'll have custom module set (bug 1289977 comment 1), we'll be able to catch that again. (That would be another ticket than this one, though.) This is fixed by upstream commit https://github.com/upgrades-migrations/preupgrade-assistant/commit/7914abcc88a391757a746287adde9b3b1639204a preupgrade-assistant-ui-2.1.10-5.el6.noarch: [0 root@qeos-115 ~]# preupg --riskcheck; echo $? The 'preupg' command was not run yet. Run it to check for possible risks. 24 [0 root@qeos-115 ~]# 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, 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://rhn.redhat.com/errata/RHBA-2016-2616.html |