Hi guys still on this matter. As today MLNX OFED is becoming a pain to maintain with xCAT since perftest from OS needs libefa.so.1 which is unavailable with MLNX OFED.
If we have an Stateless image, we cannot run updatenode <node> -S to deploy packages since dnf will be in a broken state due to perftest requirements. A solution would be to blacklist perftest from the OS, which is basically the same question in this thread, to solve the issue. So if there’s no way to version lock, is there at least a way to blacklist them? Thanks. > On 28 Jan 2022, at 20:38, Vinícius Ferrão <fer...@versatushpc.com.br> wrote: > > Hello, > > I would like to know if there’s a way to versionlock a give package in a > stateless compute environment. > > Specifically I would like to fix the redhat-release package version. I tried > adding the pinned versions to a pkglist file and running genimage but that > was a no go. It just ignored the older packages and installed the newest ones. > > [root@headnode compute]# lsdef -t osimage rhels8.5.0-x86_64-netboot-compute > -i pkglist > Object name: rhels8.5.0-x86_64-netboot-compute > > pkglist=/opt/xcat/share/xcat/netboot/rh/compute.rhels8.x86_64.pkglist,/install/custom/netboot/compute.pkglist > > cat /install/custom/netboot/compute.pkglist > kernel-4.18.0-305.25.1.el8_4 > kernel-core-4.18.0-305.25.1.el8_4 > kernel-devel-4.18.0-305.25.1.el8_4 > kernel-modules-4.18.0-305.25.1.el8_4 > kernel-modules-extra-4.18.0-305.25.1.el8_4 > kernel-headers-4.18.0-305.25.1.el8_4 > redhat-release-8.4 > > During the genimage process it downloaded and installed the correct package, > but it was updated later on: > > ================================================================================ > Package Arch Version Repository Size > ================================================================================ > Installing: > kernel x86_64 4.18.0-348.12.2.el8_5 rhels8.5.0-x86_64-2 7.0 M > kernel-core x86_64 4.18.0-348.12.2.el8_5 rhels8.5.0-x86_64-2 38 M > kernel-devel x86_64 4.18.0-348.12.2.el8_5 rhels8.5.0-x86_64-2 20 M > kernel-modules x86_64 4.18.0-348.12.2.el8_5 rhels8.5.0-x86_64-2 30 M > kernel-modules-extra x86_64 4.18.0-348.12.2.el8_5 rhels8.5.0-x86_64-2 7.7 M > Upgrading: > kernel-headers x86_64 4.18.0-348.12.2.el8_5 rhels8.5.0-x86_64-2 8.3 M > redhat-release x86_64 8.5-0.8.el8 rhels8.5.0-x86_64-1 44 k > Transaction Summary > ================================================================================ > Install 5 Packages > Upgrade 2 Packages > Total size: 110 M > Downloading Packages: > Running transaction check > Transaction check succeeded. > Running transaction test > Transaction test succeeded. > Running transaction > Preparing : > 1/1 > Running scriptlet: kernel-core-4.18.0-348.12.2.el8_5.x86_64 > 1/1 > Installing : kernel-core-4.18.0-348.12.2.el8_5.x86_64 > 1/9 > Running scriptlet: kernel-core-4.18.0-348.12.2.el8_5.x86_64 > 1/9 > Installing : kernel-modules-4.18.0-348.12.2.el8_5.x86_64 > 2/9 > Running scriptlet: kernel-modules-4.18.0-348.12.2.el8_5.x86_64 > 2/9 > Installing : kernel-4.18.0-348.12.2.el8_5.x86_64 > 3/9 > Installing : kernel-modules-extra-4.18.0-348.12.2.el8_5.x86_64 > 4/9 > Running scriptlet: kernel-modules-extra-4.18.0-348.12.2.el8_5.x86_64 > 4/9 > Upgrading : kernel-headers-4.18.0-348.12.2.el8_5.x86_64 > 5/9 > Upgrading : redhat-release-8.5-0.8.el8.x86_64 > 6/9 > Installing : kernel-devel-4.18.0-348.12.2.el8_5.x86_64 > 7/9 > Running scriptlet: kernel-devel-4.18.0-348.12.2.el8_5.x86_64 > 7/9 > Cleanup : kernel-headers-4.18.0-305.25.1.el8_4.x86_64 > 8/9 > Cleanup : redhat-release-8.4-0.6.el8.x86_64 > 9/9 > Running scriptlet: kernel-core-4.18.0-348.12.2.el8_5.x86_64 > 9/9 > dracut: No '/dev/log' or 'logger' included for syslog logging > dracut: Turning off host-only mode: '/run' is not mounted! > dracut: Turning off host-only mode: '/dev' is not mounted! > Running scriptlet: redhat-release-8.4-0.6.el8.x86_64 > 9/9 > Verifying : kernel-4.18.0-348.12.2.el8_5.x86_64 > 1/9 > Verifying : kernel-devel-4.18.0-348.12.2.el8_5.x86_64 > 2/9 > Verifying : kernel-modules-4.18.0-348.12.2.el8_5.x86_64 > 3/9 > Verifying : kernel-modules-extra-4.18.0-348.12.2.el8_5.x86_64 > 4/9 > Verifying : kernel-core-4.18.0-348.12.2.el8_5.x86_64 > 5/9 > Verifying : redhat-release-8.5-0.8.el8.x86_64 > 6/9 > Verifying : redhat-release-8.4-0.6.el8.x86_64 > 7/9 > Verifying : kernel-headers-4.18.0-348.12.2.el8_5.x86_64 > 8/9 > Verifying : kernel-headers-4.18.0-305.25.1.el8_4.x86_64 > 9/9 > Installed products updated. > Upgraded: > kernel-headers-4.18.0-348.12.2.el8_5.x86_64 redhat-release-8.5-0.8.el8.x86_64 > Installed: > kernel-4.18.0-348.12.2.el8_5.x86_64 > > kernel-core-4.18.0-348.12.2.el8_5.x86_64 > > kernel-devel-4.18.0-348.12.2.el8_5.x86_64 > > kernel-modules-4.18.0-348.12.2.el8_5.x86_64 > > kernel-modules-extra-4.18.0-348.12.2.el8_5.x86_64 > > Complete! > > Any ideias? > > Thanks. > _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user