Menu

#4528 [FVT] Three identical otherpkglist files in /etc/apt/source.list.d on service node installed via xCAT

2.9.1
closed
yangsong
ubuntu
5
2015-03-18
2015-01-19
GONG Jie
No

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

Related

Bugs: #4631

Discussion

  • GONG Jie

    GONG Jie - 2015-01-19

    The version information of the xCAT.

    root@c910f03c04k07:~# dpkg -l | grep xcat
    ii  conserver-xcat                      8.1.16-3                         ppc64el      Serial console server daemon/client
    ii  elilo-xcat                          3.14-4                           all          Open source implementation of Service Location Protocol V2
    ii  grub2-xcat                          1.0-2                            all          grub2-xcat provides some grub2 resources generated by grub2-mknetdir,including grub2 modules and grub2 image.
    ii  ipmitool-xcat                       1.8.11-1                         ppc64el      utility for IPMI control with kernel driver or LAN interface
    ii  perl-xcat                           2.9-snap20150112                 all          xCAT perl libraries
    ii  xcat                                2.9-snap20150112                 ppc64el      Server and configuration utilities of the xCAT management project
    ii  xcat-buildkit                       2.9-snap20150112                 all          xCAT-buildkit provides the buildkit tool and sample kit files to build an xCAT kit.
    ii  xcat-client                         2.9-snap20150112                 all          Core executables and data of the xCAT management project
    ii  xcat-genesis-base-ppc64             2.9-snap201410130243             all          xCAT Genesis netboot image
    ii  xcat-genesis-scripts                2.9-snap20150112                 ppc64el      xCAT genesis
    ii  xcat-server                         2.9-snap20150112                 all          Server and configuration utilities of the xCAT management project
    
     
  • zhao er tao

    zhao er tao - 2015-01-20
    • status: open --> pending
     
  • zhao er tao

    zhao er tao - 2015-01-20

    Fixed with git commit hash num 2436fee9c8c06a71393fedf458811fe032f2110f for master and fe31e0fd3ab8d05a2348b3bc44ab12e65a564718 for 2.9

     
  • GONG Jie

    GONG Jie - 2015-03-18
    • status: pending --> closed
     
  • GONG Jie

    GONG Jie - 2015-03-18

    Verified on the latest xCAT build on Ubuntu 14.04.2 on ppc64el.

    root@c910f03c04k07:~# dpkg -l | grep -i xcat
    ii  conserver-xcat                      8.1.16-3                         ppc64el      Serial console server daemon/client
    ii  elilo-xcat                          3.14-4                           all          Open source implementation of Service Location Protocol V2
    ii  grub2-xcat                          1.0-2                            all          grub2-xcat provides some grub2 resources generated by grub2-mknetdir,including grub2 modules and grub2 image.
    ii  ipmitool-xcat                       1.8.11-1                         ppc64el      utility for IPMI control with kernel driver or LAN interface
    ii  perl-xcat                           2.9-snap20150317                 all          xCAT perl libraries
    ii  xcat                                2.9-snap20150317                 ppc64el      Server and configuration utilities of the xCAT management project
    ii  xcat-buildkit                       2.9-snap20150317                 all          xCAT-buildkit provides the buildkit tool and sample kit files to build an xCAT kit.
    ii  xcat-client                         2.9-snap20150317                 all          Core executables and data of the xCAT management project
    ii  xcat-genesis-base-ppc64             2.9-snap201503171145             all          xCAT Genesis netboot image
    ii  xcat-genesis-scripts                2.9-snap20150317                 ppc64el      xCAT genesis
    ii  xcat-server                         2.9-snap20150317                 all          Server and configuration utilities of the xCAT management project
    ii  xnba-undi                           1.0.3-7                          all          xCAT Network Boot Agent for x86 PXE hosts
    
     
MongoDB Logo MongoDB