The management node is a PowerKVM guest, and runs Ubuntu Linux 14.04.1. I was trying to install a diskfull service node with xCAT. The service node is a PowerKVM guest as well.
Below is the detail information about the osimage definition. The file pkglist, otherpkglist, template are all copied from the directory, /opt/xcat/share/xcat/install/ubuntu, and left as the default shape.
root@c910f03c04k07:~# lsdef -t osimage service_1503c
Object name: service_1503c
imagetype=linux
osarch=ppc64el
osname=Linux
osvers=ubuntu14.04.1
otherpkgdir=http://ports.ubuntu.com/ubuntu-ports trusty main,http://ports.ubuntu.com/ubuntu-ports trusty-updates main,http://ports.ubuntu.com/ubuntu-ports trusty universe,http://10.3.4.7/install/post/otherpkgs/ubuntu14.04.1/ppc64el/xcat-core/ trusty main,http://10.3.4.7/install/post/otherpkgs/ubuntu14.04.1/ppc64el/xcat-dep/ trusty main
otherpkglist=/install/custom/install/ubuntu/service.ubuntu.otherpkgs.pkglist
pkgdir=/install/ubuntu14.04.1/ppc64el
pkglist=/install/custom/install/ubuntu/service.pkglist
profile=service
provmethod=install
template=/install/custom/install/ubuntu/service.tmpl
After the service node was installed, I accidentally find out, on the service node, there are three otherpkglist files in the directory /etc/apt/sources.list.d.
root@c910f03c04k06:~# ls -l /etc/apt/sources.list.d
total 12
-rw-r--r-- 1 root root 351 Jan 18 18:34 xCAT-otherpkgs0.list
-rw-r--r-- 1 root root 351 Jan 18 18:34 xCAT-otherpkgs1.list
-rw-r--r-- 1 root root 351 Jan 18 18:34 xCAT-otherpkgs2.list
And these three files are identical same. Although, this problem is not a big deal, and no side effect was found. But the main idea of system administration is maintain the system neat and clean, no unnecessary redundancy.
root@c910f03c04k06:~# diff -u /etc/apt/sources.list.d/xCAT-otherpkgs{0,1}.list
root@c910f03c04k06:~# echo $?
0
root@c910f03c04k06:~# diff -u /etc/apt/sources.list.d/xCAT-otherpkgs{0,2}.list
root@c910f03c04k06:~# echo $?
0
root@c910f03c04k06:~# cat /etc/apt/sources.list.d/xCAT-otherpkgs0.list
deb http://ports.ubuntu.com/ubuntu-ports trusty main
deb http://ports.ubuntu.com/ubuntu-ports trusty-updates main
deb http://ports.ubuntu.com/ubuntu-ports trusty universe
deb http://10.3.4.7/install/post/otherpkgs/ubuntu14.04.1/ppc64el/xcat-core/ trusty main
deb http://10.3.4.7/install/post/otherpkgs/ubuntu14.04.1/ppc64el/xcat-dep/ trusty main
The version information of the xCAT.
Fixed with git commit hash num 2436fee9c8c06a71393fedf458811fe032f2110f for master and fe31e0fd3ab8d05a2348b3bc44ab12e65a564718 for 2.9
Verified on the latest xCAT build on Ubuntu 14.04.2 on ppc64el.