[elrepo] Strange issue with yum

Manuel Wolfshant wolfy at nobugconsulting.ro
Fri Oct 26 20:31:47 EDT 2018


On October 27, 2018 2:09:55 AM GMT+03:00, aaronhcarr at gmail.com wrote:
>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
the elrepo repository is not enabled, 
according to the list above


>No package kmod-nvidia available.
>Error: Nothing to do
>
>Any insight as to why this fails?
Enable the repo...


>
>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.



More information about the elrepo mailing list