Dears,
I have an issue when configuring a directory for "otherpkgs" on the
management node to be used by compte nodes to download new RPMs:
I have used the below approach:
- On management node:
# mkdir -p /install/post/otherpkgs/centos7.8/x86_64
# cd /install/post/otherpkgs/centos7.8/x86_64
# yumdownloader traceroute.x86_64 --resolve
# createrepo .
# vim otherpkg.pkglist
traceroute
# chdef -t osimage centos7.8-x86_64-install-compute
otherpkglist=/install/post/otherpkgs/centos7.8/x86_64/otherpkg.pkglist
# lsdef -t osimage centos7.8-x86_64-install-compute
Object name: centos7.8-x86_64-install-compute
imagetype=linux
osarch=x86_64
osdistroname=centos7.8-x86_64
osname=Linux
osvers=centos7.8
otherpkgdir=/install/post/otherpkgs/centos7.8/x86_64
otherpkglist=/install/post/otherpkgs/centos7.8/x86_64/otherpkg.pkglist
pkgdir=/install/centos7.8/x86_64
pkglist=/opt/xcat/share/xcat/install/centos/compute.centos7.pkglist
profile=compute
provmethod=install
template=/opt/xcat/share/xcat/install/centos/compute.centos7.tmpl
# updatenode xcat-comp08 -P "otherpkgs"
xcat-comp08: =============updatenode starting====================
xcat-comp08: trying to download postscripts...
xcat-comp08: postscripts downloaded successfully
xcat-comp08: trying to get mypostscript from 192.168.14.231...
xcat-comp08: useradd: user 'mesbah' already exists
xcat-comp08: groupadd: group 'admins' already exists
xcat-comp08: postscript start..: otherpkgs xcat-comp08: pkgsarray:
vim-enhanced bash-completion telnet, 3
xcat-comp08: yum: 1, apt: 0, zypper: 0
xcat-comp08: Loaded plugins: fastestmirror
xcat-comp08: Cleaning repos: base extras updates xCAT-centos7.8-path0
xcat-otherpkgs0
xcat-comp08:
*Warning: the packages vim-enhanced* bash-completion* telnet* could not be
found in the yum/apt repository, falling back to rpm/dpkg command. If you
want your packages to be installed with yum/apt, verify yum/apt is
installed and createrepo/dpkg-scanpackages has been run.*xcat-comp08:
postscript end....: otherpkgs exited with code 3
xcat-comp08: Running of postscripts has completed.
xcat-comp08: =============updatenode ending====================
So what is the issue here??
Thanks in advance,
Mesbah Mohamady
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user