[elrepo] Strange issue with yum

aaronhcarr at gmail.com aaronhcarr at gmail.com
Fri Oct 26 19:09:55 EDT 2018


I'm using a warewulf cluster (image based software provisioner).

I'm trying to get GPU nodes setup.

I've addded the ELRepo information to the master node.
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

After this, if I do yum search kmod-nvidia, I get this:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.jaleco.com
 * elrepo: repos.lax-noc.com
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.jaleco.com
 * updates: mirror.jaleco.com
============================================ N/S matched: kmod-nvidia
=============================================
kmod-nvidia.x86_64 : nvidia kernel module(s)
kmod-nvidia-304xx.x86_64 : nvidia-304xx kernel module(s)
kmod-nvidia-340xx.x86_64 : nvidia-340xx kernel module(s)
kmod-nvidia-390xx.x86_64 : nvidia-390xx kernel module(s)

  Name and summary matches only, use "search all" for everything.

Now, I want to load this into my GPU image.  So I use the installroot
directive, and it can't find it.

yum --installroot=/opt/ohpc/admin/images/gpu/ install -y kmod-nvidia
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.s.uw.edu
 * epel: mirrors.cat.pdx.edu
 * extras: centos.s.uw.edu
 * updates: centos.s.uw.edu
No package kmod-nvidia available.
Error: Nothing to do

Any insight as to why this fails?

Right now, I'm using the workaround of logging in to a running GPU node,
adding the repo, and using downloadonly.  Then copying those RPMs to the
master, and doing yum localinstall with the
--installroot=/opt/ohpc/admin/images/gpu/.

That works, but I'd really like to be able to cut out that step.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20181026/ffece024/attachment.html>


More information about the elrepo mailing list