Issue
- Elevate failure results in CloudLinux 8 version repository is being used in spite CloudLinux release is 7
- CLN appears to be pushing CloudLinux-8 repo on CloudLinux-7
Environment
- CloudLinux
Solution
- Ensure that yum vars reflect required CloudLinux version
# python -c 'import yum, json; yb = yum.YumBase(); print json.dumps(yb.conf.yumvar, indent=2)'
- In case an incorrect cloudlinux-release package is installed, remove it and install the correct one (you can download it from our public repositories). For example:
wget https://repo.cloudlinux.com/cloudlinux/7.9/os/x86_64/Packages/cloudlinux-release-7.9-1.el7.x86_64.rpm
rpm -e --nodeps cloudlinux-release
rpm -i cloudlinux-release-7.9-1.el7.x86_64.rpm - Switch the server to CL7 in CLN
/usr/sbin/cln-switch-channel -t 7 -o -f
- Re-register server in CLN
# clnreg_ks --force
Cause
Elevate failure. During one of the upgrade steps, Leapp runs the cln_switch_channel
tool. It indeed overrides vars and sets the CLN update channel to 8 server-side. If it ran before the upgrade process encountered an error, the channel will stay set to 8. Leapp normally doesn't perform any rollback steps if something failed – it's a one-way process in most regards.
Comments
0 comments
Please sign in to leave a comment.