Bug 1351330
| Summary: | module hacluster should ends with needs_action instead of fail | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Byreddy <bsrirama> |
| Component: | preupgrade-assistant-el6toel7 | Assignee: | Petr Stodulka <pstodulk> |
| Status: | CLOSED ERRATA | QA Contact: | Tereza Cerna <tcerna> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.8 | CC: | jmazanek, ovasik, tcerna |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-21 12:11:48 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: | 1393491 | ||
|
Description
Byreddy
2016-06-29 18:11:29 UTC
Failure reported when i ran preupg ==================================== |Cluster and High Availability |fail Hi Byreddy, not sure what exactly You mean by this bug. Because yes - it should be probably 'needs_action', because according to report (which You should read) it can be resolved by removing of all packages from HighAvailability - which isn't supported for upgrade now. If this is what You think - yes. It's "issue" according to out documentation and will be resolved. But upgrade still will not be possible with mentioned packages. You can find them in report too (/preupgrade/result.html). But it's just small issue, because main reason of this solution is make upgrade for You impossible, so You will not loose Your system when You will ignore it! But now we have additional possibilities for resolving of thisand we can forbid upgrade of Your system when You will not follow our instructions. So it can be changed. However fail itself doesn't mean that something is wrong in out tests, but something is wrong with Your system for upgrade. Usual meaning is: You are not able to do inplace-upgrade of current system in any supportable way and You can't do with this anything. Classical example is when You have 32b system. Upgrade is impossible just because of support of only 64b systems on RHEL 7. And just FYI, You need RHEL-6.8 system. Supported is only upgrade latest to latest. This is bug on preupgrade-assistant-el6toel7. Mentioned module doesn't use generated data. ==============================================================
Verified in:
preupgrade-assistant-2.3.0-1.el6.noarch
preupgrade-assistant-el6toel7-0.6.66-2.el6.noarch
preupgrade-assistant-el6toel7-data-0.20170218-1.el6.noarch
PASS
==============================================================
# rpm -q corosync
corosync-1.4.7-5.el6.x86_64
1) Install RHEL-6.8 machine
2) Registered to satellite and added the required rhgs channels
3) Install preupgrade-assistant* packages
4) Run 'preupg'
|Cluster and High Availability |needs_action |
5) See /root/preupgrade/result.html
preupg.log.INFO: Package corosync is installed.
preupg.risk.HIGH: High Availability Add-On packages are installed. The upgrade is not possible.
6) Run 'redhat-upgrade-tool'
HOOK-pkgdowngrades: INFO: done
Error: The corosync package is still installed. The in-place upgrade is not possible.
Following preupgrade script(s) failed:
/root/preupgrade/preupgrade-scripts/pre-hacluster.sh exited with status 1
exiting
7) That is expected behavior. Remove corosync package.
8) Run 'preupg' again
|Cluster and High Availability |pass |
==============================================================
Reproduced in:
preupgrade-assistant-2.1.10-6.el6.noarch
preupgrade-assistant-el6toel7-0.6.59-5.el6.noarch
preupgrade-assistant-el6toel7-data-0.20161013-1.el6.noarch
FAIL
==============================================================
# rpm -q corosync
corosync-1.4.7-5.el6.x86_64
1) Install RHEL-6.8 machine
2) Registered to satellite and added the required rhgs channels
3) Install preupgrade-assistant* packages
4) Run 'preupg'
|Cluster and High Availability |fail |
5) See /root/preupgrade/result.html
preupg.log.INFO: [unknown-component]: Package corosync is installed.
preupg.risk.EXTREME: High Availability AddOn packages are installed. Upgrade is not possible.
6) Run 'redhat-upgrade-tool'
...
preupgrade-assistant risk check found EXTREME risks for this upgrade.
Run preupg --riskcheck --verbose to view these risks.
Continuing with this upgrade is not recommended.
This is connected to related bug BZ#1402054. 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-2017-0821.html |