Suporte #64

Instalação do CVS nos worker nodes

Added by Jadir da Silva over 16 years ago. Updated over 16 years ago.

Status:ResolvidaStart date:09 Feb 2010
Priority:NormalDue date:
Assignee:Jadir da Silva% Done:

0%

Category:-
Target version:-

Description

O Marco solicitou a instalação do CVS nos worker nodes por causa de alguns jobs do CMS.

History

#1 Updated by Jadir da Silva over 16 years ago

  • Status changed from Nova to Fechada

Instalado com:

yum install --installroot=/node/production cvs

o yum reclamou que não encontrou a lista de mirrors.

Loaded plugins: fastestmirror, protectbase, versionlock
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /node/production/var/cache/yum/addons/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: addons

copiei as listas do server1 para /node/production/var/cache/yum/addons/mirrorlist.txt e tentei novamente:

[root@server1 ~]# yum install --installroot=/node/production cvs
Loaded plugins: fastestmirror, protectbase, versionlock
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /node/production/var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

reclamou novamente mas desta vez não achou o mirrorlist do repositório base:

[root@server1 ~]# cp /var/cache/yum/base/mirrorlist.txt /node/production/var/cache/yum/base/

again:

[root@server1 ~]# yum install --installroot=/node/production cvs
Loaded plugins: fastestmirror, protectbase, versionlock
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /node/production/var/cache/yum/centosplus/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: centosplus

again...

[root@server1 ~]# cp /var/cache/yum/centosplus/mirrorlist.txt /node/production/var/cache/yum/centosplus/
[root@server1 ~]# yum install --installroot=/node/production cvs
Loaded plugins: fastestmirror, protectbase, versionlock
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /node/production/var/cache/yum/contrib/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: contrib

and again...
[root@server1 ~]# cp /var/cache/yum/contrib/mirrorlist.txt /node/production/var/cache/yum/contrib/
[root@server1 ~]# yum install --installroot=/node/production cvs
Loaded plugins: fastestmirror, protectbase, versionlock
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /node/production/var/cache/yum/extras/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: extras

and again..

[root@server1 ~]# cp /var/cache/yum/extras/mirrorlist.txt /node/production/var/cache/yum/extras/
[root@server1 ~]# yum install --installroot=/node/production cvs

Loaded plugins: fastestmirror, protectbase, versionlock
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /node/production/var/cache/yum/updates/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: updates
[root@server1 ~]# cp /var/cache/yum/updates/mirrorlist.txt /node/production/var/cache/yum/updates/

e finalmente funcionou.

#3 Updated by Jadir da Silva over 16 years ago

A instalação não funcionou, revendo o documento que mostra como instalar pacotes nos worker nodes percebi que o texto cita o FS como sendo
/nodes/production mas o comando descrito para instalar os pacotes aponta para outro diretório, /node/production. Corrigindo o comando a instalação é feita com sucesso e o comando cvs passa a funcionar nos worker nodes. Aproveitei para corrigir a documentação com o comando correto para instalação de softwares:

yum install --installroot=/nodes/production <package-name>

#4 Updated by Jadir da Silva over 16 years ago

  • Status changed from Fechada to Resolvida

Also available in: Atom PDF