The management node runs xCAT 2.9.1 GA build on ppc64 LPAR. While use it to deploy a SLES 11.3 ppc64 LPAR. Something went weird. There are three configuration files in the directory /etc/zypp/repos.d with nearly identical contents in them.
The main idea of system administration is keep things neat and clean. So unnecessary redundant should be avoid.
c910f02c04p22:~ # ls -l /etc/zypp/repos.d
total 12
-rw-r--r-- 1 root root 154 Apr 1 08:36 http-10.2.3.27-ec23456b.repo
-rw-r--r-- 1 root root 215 Apr 1 08:36 SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138.repo
-rw-r--r-- 1 root root 132 Apr 1 08:41 xCAT-sles11.3-path0.repo
c910f02c04p22:~ # head -n 999 /etc/zypp/repos.d/*
==> /etc/zypp/repos.d/http-10.2.3.27-ec23456b.repo <==
[http-10.2.3.27-ec23456b]
name=SuSE-Linux-pkg0
enabled=1
autorefresh=1
baseurl=http://10.2.3.27/install/sles11.3/ppc64/1
path=/
type=yast2
keeppackages=0
==> /etc/zypp/repos.d/SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138.repo <==
[SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138]
name=SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138
enabled=1
autorefresh=1
baseurl=http://10.2.3.27:80/install/sles11.3/ppc64/1
path=/
type=yast2
keeppackages=0
==> /etc/zypp/repos.d/xCAT-sles11.3-path0.repo <==
[xCAT-sles11.3-path0]
name=xCAT-sles11.3-path0
enabled=1
autorefresh=0
baseurl=http://10.2.3.27/install/sles11.3/ppc64/1
type=yast2
Here is the osimage definition.
[root@c910f02c03p27 ~]# lsdef -t osimage master_1407s
Object name: master_1407s
imagetype=linux
osarch=ppc64
osdistroname=sles11.3-ppc64
osname=Linux
osvers=sles11.3
otherpkgdir=/install/post/otherpkgs/sles11.3/ppc64
otherpkglist=/install/custom/install/sles/master.sles11.ppc64.otherpkgs.pkglist
pkgdir=/install/sles11.3/ppc64
pkglist=/install/custom/install/sles/master.sles11.pkglist
profile=master
provmethod=install
template=/install/custom/install/sles/master.sles11.tmpl
Please refer the detail of xCAT version below.
[root@c910f02c03p27 ~]# rpm -qa | grep -i xcat
xCAT-client-2.9.1-snap201503190325.noarch
perl-xCAT-2.9.1-snap201503190325.noarch
xCAT-genesis-base-ppc64-2.9-snap201503171145.noarch
xCAT-genesis-scripts-ppc64-2.9.1-snap201503190326.noarch
conserver-xcat-8.1.16-10.ppc64
ipmitool-xcat-1.8.11-3.ppc64
xCAT-IBMhpc-2.9-snap201411170009.noarch
grub2-xcat-2.02-0.16.build17.xcat.noarch
xCAT-server-2.9.1-snap201503190325.noarch
xCAT-2.9.1-snap201503190326.ppc64
xCAT-buildkit-2.9.1-snap201503190326.noarch
This problem looks similar to [bugs:#4528], which in against Ubuntu distro.
Related
Bugs:
#4528Move to milestone 2.9.2
On my SLES 11 SP3 compute node, there are two identical zypper repos:
I believe the SuSE-Linux-pkg0 was added by the /opt/xcat/share/xcat/install/scripts/pre.sles, the "SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138" was added by the autoyast os installer. We need to understand why the following code is in /opt/xcat/share/xcat/install/scripts/pre.sles:
Last edit: Guang Cheng Li 2015-04-22