<div dir="ltr">That's what it is.<div><br></div><div>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.</div><div><br></div><div>Thank you for pointing that out.</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 26, 2018 at 5:47 PM Manuel Wolfshant <<a href="mailto:wolfy@nobugconsulting.ro">wolfy@nobugconsulting.ro</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On October 27, 2018 3:41:13 AM GMT+03:00, <a href="mailto:aaronhcarr@gmail.com" target="_blank">aaronhcarr@gmail.com</a> wrote:<br>
>I considered that, and verified that it is enabled.<br>
><br>
>[root@ohpc-admin1 yum.repos.d]# cat elrepo.repo<br>
>### Name: ELRepo.org Community Enterprise Linux Repository for el7<br>
>### URL: <a href="http://elrepo.org/" rel="noreferrer" target="_blank">http://elrepo.org/</a><br>
><br>
>[elrepo]<br>
>name=ELRepo.org Community Enterprise Linux Repository - el7<br>
>baseurl=<a href="http://elrepo.org/linux/elrepo/el7/$basearch/" rel="noreferrer" target="_blank">http://elrepo.org/linux/elrepo/el7/$basearch/</a><br>
> <a href="http://mirrors.coreix.net/elrepo/elrepo/el7/$basearch/" rel="noreferrer" target="_blank">http://mirrors.coreix.net/elrepo/elrepo/el7/$basearch/</a><br>
> <a href="http://mirror.rackspace.com/elrepo/elrepo/el7/$basearch/" rel="noreferrer" target="_blank">http://mirror.rackspace.com/elrepo/elrepo/el7/$basearch/</a><br>
> <a href="http://repos.lax-noc.com/elrepo/elrepo/el7/$basearch/" rel="noreferrer" target="_blank">http://repos.lax-noc.com/elrepo/elrepo/el7/$basearch/</a><br>
> <a href="http://mirror.ventraip.net.au/elrepo/elrepo/el7/$basearch/" rel="noreferrer" target="_blank">http://mirror.ventraip.net.au/elrepo/elrepo/el7/$basearch/</a><br>
>mirrorlist=<a href="http://mirrors.elrepo.org/mirrors-elrepo.el7" rel="noreferrer" target="_blank">http://mirrors.elrepo.org/mirrors-elrepo.el7</a><br>
>enabled=1<br>
>gpgcheck=1<br>
>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org<br>
>protect=0<br>
><br>
<br>
Your test did not take into account that you are using a different install root<br>
<br>
<br>
<br>
<br>
>On Fri, Oct 26, 2018 at 5:31 PM Manuel Wolfshant<br>
><<a href="mailto:wolfy@nobugconsulting.ro" target="_blank">wolfy@nobugconsulting.ro</a>><br>
>wrote:<br>
><br>
>> On October 27, 2018 2:09:55 AM GMT+03:00, <a href="mailto:aaronhcarr@gmail.com" target="_blank">aaronhcarr@gmail.com</a> wrote:<br>
>> >I'm using a warewulf cluster (image based software provisioner).<br>
>> ><br>
>> >I'm trying to get GPU nodes setup.<br>
>> ><br>
>> >I've addded the ELRepo information to the master node.<br>
>> >rpm --import <a href="https://www.elrepo.org/RPM-GPG-KEY-elrepo.org" rel="noreferrer" target="_blank">https://www.elrepo.org/RPM-GPG-KEY-elrepo.org</a><br>
>> >rpm -Uvh<br>
>> ><a href="http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm" rel="noreferrer" target="_blank">http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm</a><br>
>> ><br>
>> >After this, if I do yum search kmod-nvidia, I get this:<br>
>> >Loaded plugins: fastestmirror, langpacks<br>
>> >Loading mirror speeds from cached hostfile<br>
>> > * base: <a href="http://mirror.jaleco.com" rel="noreferrer" target="_blank">mirror.jaleco.com</a><br>
>> > * elrepo: <a href="http://repos.lax-noc.com" rel="noreferrer" target="_blank">repos.lax-noc.com</a><br>
>> > * epel: <a href="http://mirrors.cat.pdx.edu" rel="noreferrer" target="_blank">mirrors.cat.pdx.edu</a><br>
>> > * extras: <a href="http://mirror.jaleco.com" rel="noreferrer" target="_blank">mirror.jaleco.com</a><br>
>> > * updates: <a href="http://mirror.jaleco.com" rel="noreferrer" target="_blank">mirror.jaleco.com</a><br>
>> >============================================ N/S matched:<br>
>kmod-nvidia<br>
>> >=============================================<br>
>> >kmod-nvidia.x86_64 : nvidia kernel module(s)<br>
>> >kmod-nvidia-304xx.x86_64 : nvidia-304xx kernel module(s)<br>
>> >kmod-nvidia-340xx.x86_64 : nvidia-340xx kernel module(s)<br>
>> >kmod-nvidia-390xx.x86_64 : nvidia-390xx kernel module(s)<br>
>> ><br>
>> > Name and summary matches only, use "search all" for everything.<br>
>> ><br>
>> >Now, I want to load this into my GPU image. So I use the<br>
>installroot<br>
>> >directive, and it can't find it.<br>
>> ><br>
>> >yum --installroot=/opt/ohpc/admin/images/gpu/ install -y kmod-nvidia<br>
>> >Loaded plugins: fastestmirror, langpacks<br>
>> >Loading mirror speeds from cached hostfile<br>
>> > * base: <a href="http://centos.s.uw.edu" rel="noreferrer" target="_blank">centos.s.uw.edu</a><br>
>> > * epel: <a href="http://mirrors.cat.pdx.edu" rel="noreferrer" target="_blank">mirrors.cat.pdx.edu</a><br>
>> > * extras: <a href="http://centos.s.uw.edu" rel="noreferrer" target="_blank">centos.s.uw.edu</a><br>
>> > * updates: <a href="http://centos.s.uw.edu" rel="noreferrer" target="_blank">centos.s.uw.edu</a><br>
>> the elrepo repository is not enabled,<br>
>> according to the list above<br>
>><br>
>><br>
>> >No package kmod-nvidia available.<br>
>> >Error: Nothing to do<br>
>> ><br>
>> >Any insight as to why this fails?<br>
>> Enable the repo...<br>
>><br>
>><br>
>> ><br>
>> >Right now, I'm using the workaround of logging in to a running GPU<br>
>> >node,<br>
>> >adding the repo, and using downloadonly. Then copying those RPMs to<br>
>> >the<br>
>> >master, and doing yum localinstall with the<br>
>> >--installroot=/opt/ohpc/admin/images/gpu/.<br>
>> ><br>
>> >That works, but I'd really like to be able to cut out that step.<br>
>><br>
>><br>
<br>
</blockquote></div>