Skip to Main Content

Infrastructure Software

Announcement

Testing banner

ol8 -> ol9: leapp b0rked?

philfryJul 6 2022

Hi all,
when trying to upgrade from ol8 to ol9 leapp is failing with:

Traceback (most recent call last):
 File "/usr/bin/leapp", line 11, in <module>
   load_entry_point('leapp==0.14.0', 'console_scripts', 'leapp')()
 File "/usr/lib/python3.6/site-packages/leapp/cli/__init__.py", line 37, in main
   cli.command.execute('leapp version {}'.format(VERSION))
 File "/usr/lib/python3.6/site-packages/leapp/utils/clicmd.py", line 105, in execute
   self._sub_commands[cmdname].parser.error(leftover)
KeyError: 'leapp'

Happens also with a vanilla ol8 installation, for example using this kickstart fragment, followed by dnf --refresh -y upgradeand dnf --enablerepo=ol8_leapp -y install leapp

%packages --nocore
-firewalld
bash
openssh-server
pam
dnf
dnf-plugins-core
parted
dracut-config-rescue
oraclelinux-release-el8
network-scripts
python3
kernel-uek
-kernel
selinux-policy-targeted
python3-libselinux
%end

%pre-install
mkdir -p /mnt/sysimage/etc/yum/vars
%end

%post
touch /etc/dnf/vars/ociregion
%end

%post
/usr/lib/systemd/systemd-sysv-install enable network
%end

Any idea what could be wrong here?

Comments
Post Details
Added on Jul 6 2022
1 comment
83 views