-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lvm2-cluster package breaks upgrade #1050
Comments
@pirat89 could you please take a look? |
@andrewlukoshko Hi \o thank you for the report. Our team does not have any experience with this setup but from my information |
@pirat89 lvm2-cluster is mentioned in pes-events.json as removed so it should be just removed during upgrade. But instead of this it breaks it. That's the problem. And unfortunately it breaks it even without any setup, just presence of the package is enough to break upgrade. |
The error is caused by the failed preun scriptlet of the lvm2-cluster package, trying to disable the cluster. From this point: a) the package must be removed prior the upgrade I haven't tried to call the command to disable cluster prior the upgrade. It's possible there are additional steps that could be done, but this is the simplies solution that came to my mind. In the meanwhile it would be nice to have an inhibitor that prevents any upgrade on such a machine. |
@pirat89 Unfortunately, as I said before, this package itself is a problem, not only its preun scriptlet. |
Hi, there is a bz for this issue (rhbz1820088), but it's closed as |
Actual behavior
If lvm2-cluster package is installed then upgrade process drops into emergency shell
To Reproduce
Expected behavior
System rebooted successfully and upgraded to RHEL8
System information (please complete the following information):
$ cat /etc/system-release
)Red Hat Enterprise Linux Server release 7.9 (Maipo)
# uname -a
Linux alukoshko-rhel-7 3.10.0-1160.83.1.el7.x86_64 Make sure Subscription Manager OS Release is unset #1 SMP Mon Dec 19 10:44:06 UTC 2022 x86_64 x86_64 x86_64 [GNU/Linux]
# rpm -qa "*leapp*"
(or shorthashes of commits in case of manual installation):leapp-deps-0.15.0-2.el7_9.noarch
leapp-upgrade-el7toel8-deps-0.17.0-1.el7_9.noarch
leapp-upgrade-el7toel8-0.17.0-1.el7_9.noarch
python2-leapp-0.15.0-2.el7_9.noarch
leapp-0.15.0-2.el7_9.noarch
Attach (or provide link to) log files if applicable (optional - may contain confidential information):
leapp-logs.tar.gz
Additional context
It's possible to workaround by running
/sbin/lvmconf --disable-cluster
before upgrade.But after reboot initramfs will be broken anyway and system will be unbootable.
The text was updated successfully, but these errors were encountered: