[elrepo] Strange issue with yum

aaronhcarr at gmail.com aaronhcarr at gmail.com
Fri Oct 26 21:22:16 EDT 2018


That's what it is.

I was not aware that the chrooted image needed to have the repo in it as
well.  I thought that the machine performing the transaction was enough.

Thank you for pointing that out.

On Fri, Oct 26, 2018 at 5:47 PM Manuel Wolfshant <wolfy at nobugconsulting.ro>
wrote:

> On October 27, 2018 3:41:13 AM GMT+03:00, aaronhcarr at gmail.com wrote:
> >I considered that, and verified that it is enabled.
> >
> >[root at ohpc-admin1 yum.repos.d]# cat elrepo.repo
> >### Name: ELRepo.org Community Enterprise Linux Repository for el7
> >### URL: http://elrepo.org/
> >
> >[elrepo]
> >name=ELRepo.org Community Enterprise Linux Repository - el7
> >baseurl=http://elrepo.org/linux/elrepo/el7/$basearch/
> >        http://mirrors.coreix.net/elrepo/elrepo/el7/$basearch/
> >        http://mirror.rackspace.com/elrepo/elrepo/el7/$basearch/
> >        http://repos.lax-noc.com/elrepo/elrepo/el7/$basearch/
> >        http://mirror.ventraip.net.au/elrepo/elrepo/el7/$basearch/
> >mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el7
> >enabled=1
> >gpgcheck=1
> >gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
> >protect=0
> >
>
> Your test did not take into account that you are using a different install
> root
>
>
>
>
> >On Fri, Oct 26, 2018 at 5:31 PM Manuel Wolfshant
> ><wolfy at nobugconsulting.ro>
> >wrote:
> >
> >> 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.
> >>
> >>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20181026/a4e4b3d5/attachment.html>


More information about the elrepo mailing list