-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-8.10
-
No
-
Moderate
-
rhel-sst-upgrades
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
When using a local repository stored on a dedicated file system (e.g. /RHEL8) on XFS, leapp preupgrade works fine, but leapp upgrade fails with not finding packages:
Stderr: No matches found for the following disable plugin patterns: subscription-manager
Error opening /installroot/RHEL8/BaseOS/Packages/NetworkManager-1.40.16-15.el8.x86_64.rpm: No such file or directory
...
Setting LEAPP_OVL_IMG_FS_EXT4=1 doesn't help.
Please provide the package NVR for which bug is seen:
leapp-upgrade-el7toel8-0.20.0-9.el7_9.noarch
How reproducible:
Always
Steps to reproduce
- On a VM installed with default layout (/ on XFS), attach a new disk that will contain the unpacked DVD of RHEL8.10
- Format the new disk
# mkfs.xfs /dev/vdb # mkdir /RHEL8 # echo "/dev/vdb /RHEL8 xfs defaults 0 0" >> /etc/fstab # systemctl daemon-reload # mount /RHEL8
- Extract the DVD content
# mount /dev/sr0 /mnt # tar cf - -C /mnt . | tar xf - -C /RHEL8
- Create the leapp repo file
# cat > /etc/leapp/files/leapp_upgrade_repositories.repo << EOF [BaseOS] name=BaseOS baseurl=file:///RHEL8/BaseOS enabled=1 gpgcheck=0 [AppStream] name=AppStream baseurl=file:///RHEL8/AppStream enabled=1 gpgcheck=0 EOF
- Execute leapp upgrade --no-rhsm
Expected results
Works
Actual results
Fails not finding packages