Menu

#4526 [FVT] Bash script /xcatpost/otherpkgs stuck at apt-get forever while installing ubuntu service node

2.9.1
closed
yangsong
ubuntu
5
2015-03-19
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

The service is c910f03c04k06. It is the only node in the service group.

root@c910f03c04k07:~# lsdef -t group service
Object name: service
    members=c910f03c04k06
    postscripts=servicenode

Run the command nodeset.

root@c910f03c04k07:~# nodeset service osimage=service_1503c

This is the node definition of the service node after the nodeset command was run.

root@c910f03c04k07:~# lsdef service
Object name: c910f03c04k06
    arch=ppc64el
    currchain=boot
    currstate=boot
    groups=all,service
    id=6
    initrd=xcat/osimage/service_1503c/initrd.img
    installnic=mac
    kcmdline=nofb utf8 auto url=http://!myipfn!/install/autoinst/c910f03c04k06 xcatd=!myipfn! mirror/http/hostname=!myipfn! netcfg/choose_interface=42:a7:88:6e:27:ab console=tty0 console=hvc0,115200 locale=en_US priority=critical hostname=c910f03c04k06 live-installer/net-image=http://!myipfn!/install/ubuntu14.04.1/ppc64el/install/filesystem.squashfs
    kernel=xcat/osimage/service_1503c/vmlinuz
    mac=42:a7:88:6e:27:ab|42:3b:0a:03:04:06!*NOIP*|42:71:0a:03:04:06!*NOIP*
    mgt=kvm
    netboot=grub2
    os=ubuntu14.04.1
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles,servicenode
    profile=service
    provmethod=service_1503c
    serialport=0
    serialspeed=115200
    status=booting
    statustime=01-18-2015 22:45:44
    updatestatus=failed
    updatestatustime=11-14-2014 01:54:39
    vmcpus=4
    vmhost=c910f03c04
    vmmemory=8192
    vmnics=brenP3p5s0f0,brenP3p5s0f1,brenP3p5s0f2
    vmstorage=phy:/dev/mapper/vdiskvg-vdisk00n06

After the target service node was rebooted and installed, while the postscript was running, it stuck somewhere in the middle. The serial console and VNC remote console remained blank for 24+ hours. But the service node can be accessed with ssh. As you can see below, it stuck in the script otherpkgs. And an apt-get was running.

root@c910f03c04k06:~# ps axfww
  PID TTY      STAT   TIME COMMAND
<<< ... omit ... >>>
    1 ?        Ss     0:03 /sbin/init
  346 ?        S      0:00 /sbin/ureadahead --daemon
  357 ?        S      0:00 @sbin/plymouthd --mode=boot --attach-to-session
  362 ?        Ss     0:00 plymouth-upstart-bridge
  580 ?        Ss     0:00 dbus-daemon --system --fork
  626 ?        Ss     0:00 rpc.idmapd
  913 ?        Ss     0:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
 1048 ?        Ss     0:00 /bin/sh -e /proc/self/fd/9
 1066 ?        S      0:00  \_ /bin/sh /etc/init.d/rc 2
 1165 ?        S      0:00      \_ /bin/sh /etc/rc2.d/S84xcatpostinit1 start
 1174 ?        S      0:00          \_ /bin/bash /opt/xcat/xcatinstallpost
 1210 ?        S      0:00              \_ /bin/bash /opt/xcat/xcatinstallpost
 1222 ?        S      0:00                  \_ /bin/bash ./otherpkgs
13447 ?        S      0:00                  |   \_ /bin/bash ./otherpkgs
13448 ?        S      0:47                  |       \_ apt-get -q -y --force-yes install mariadb-client mariadb-common mariadb-server xcatsn conserver-xcat
16996 ?        S      0:00                  |           \_ /usr/bin/dpkg --status-fd 19 --configure libaio1:ppc64el libapr1:ppc64el libaprutil1:ppc64el liblua5.2-0:ppc64el libmariadbclient18:ppc64el libtcl8.6:ppc64el mariadb-client-core-5.5:ppc64el mariadb-client-5.5:ppc64el libjemalloc1:ppc64el mariadb-server-core-5.5:ppc64el mariadb-server-5.5:ppc64el libaprutil1-dbd-sqlite3:ppc64el libaprutil1-ldap:ppc64el apache2-bin:ppc64el apache2-data:all apache2:ppc64el bind9utils:ppc64el bind9:ppc64el expect:ppc64el ipmitool-xcat:ppc64el isc-dhcp-server:ppc64el libblas3:ppc64el libclass-inspector-perl:all libcommon-sense-perl:ppc64el libconvert-binhex-perl:all libcrypt-rijndael-perl:ppc64el libcrypt-cbc-perl:all libcrypt-ssleay-perl:ppc64el libdbd-sqlite3-perl:ppc64el libdigest-hmac-perl:all libencode-locale-perl:all libio-stty-perl:all libio-pty-perl:ppc64el libexpect-perl:all libfcgi-perl:ppc64el libhttp-date-perl:all libfile-listing-perl:all libfont-afm-perl:all liburi-perl:all libhtml-tagset-perl:all libhtml-parser-perl:ppc64el libio-html-perl:all liblwp-mediatypes-perl:all libhttp-message-perl:all libhtml-form-perl:all libhtml-tree-perl:all libhtml-format-perl:all libhtml-template-perl:all libhttp-cookies-perl:all libhttp-daemon-perl:all libhttp-negotiate-perl:all libio-sessiondata-perl:all libsocket6-perl:ppc64el libio-socket-inet6-perl:all libnet-ssleay-perl:ppc64el libio-socket-ssl-perl:all libio-stringy-perl:all libjson-perl:all libjson-xs-perl:ppc64el liblinear1:ppc64el liblinear-tools:ppc64el libnet-http-perl:all libwww-robotrules-perl:all libwww-perl:all liblwp-protocol-https-perl:all libnet-smtp-ssl-perl:all libmailtools-perl:all libmime-tools-perl:all libnet-ip-perl:all libnet-dns-perl:ppc64el libnet-libidn-perl:ppc64el libnet-telnet-perl:all libossp-uuid16:ppc64el libossp-uuid-perl:ppc64el libsnmp-perl:ppc64el libtask-weaken-perl:all libxml-parser-perl:ppc64el libsoap-lite-perl:all libxml-namespacesupport-perl:all libxml-sax-base-perl:all libxml-sax-perl:all libxml-libxml-perl:ppc64el libxml-sax-expat-perl:all libxml-simple-perl:all libxmlrpc-lite-perl:all make:ppc64el mariadb-client:all mariadb-server:all nfs-kernel-server:ppc64el ssl-cert:all conserver-xcat:ppc64el debootstrap:all elilo-xcat:all grub2-xcat:all libauthen-sasl-perl:all nmap:ppc64el perl-xcat:all syslinux-xcat:all tftp-hpa:ppc64el tftpd-hpa:ppc64el xcat-client:all xcat-genesis-base-ppc64:all xcat-genesis-scripts:ppc64el xcat-server:all xnba-undi:all xcatsn:all
 1223 ?        S      0:00                  \_ tee -a /var/log/xcat/xcat.log
<<< ... omit ... >>>

And here is the details of xCAT log file.

root@c910f03c04k06:~# cat /var/log/xcat/xcat.log
Sun Jan 18 18:33:39 EST 2015 Running postscript: syslog
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Sun Jan 18 18:33:39 EST 2015 Running postscript: remoteshell

Sun Jan 18 18:33:41 EST 2015 Running postscript: syncfiles
  Did not sync any files.
Sun Jan 18 18:33:41 EST 2015 Running postscript: servicenode
Sun Jan 18 18:34:28 EST 2015 Running postscript: otherpkgs
pkgsarray: mariadb-client mariadb-common mariadb-server xcat-core/xcatsn xcat-dep/conserver-xcat, 5
yum: 0, apt: 1, zypper: 0

Addtional information, see below for the detail version informaiton of the xCAT.

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-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
ii  xnba-undi                           1.0.3-7                          all          xCAT Network Boot Agent for x86 PXE hosts

Discussion

  • GONG Jie

    GONG Jie - 2015-01-19
    • summary: Bash script /xcatpost/otherpkgs stuck at apt-get forever while installing ubuntu service node --> [FVT] Bash script /xcatpost/otherpkgs stuck at apt-get forever while installing ubuntu service node
     
  • yangsong

    yangsong - 2015-01-27
     
  • yangsong

    yangsong - 2015-01-27

    After looking into the problem, the postbootscript "otherpkgs" will run in the first reboot after installation, it will try to upgrade all the packages if the higher version packages can be found in the online ubuntu mirror with the following code block:

        elif [ $hasapt -eq 1 ]; then
            apt_get_update_if_repos_changed $REPOFILE
            if [ $VERBOSE  ]; then
              echo "$envlist DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated --force-yes -o Dpkg::
    Options::='--force-confold' -o Dpkg::Options::='--force-confdef' upgrade"
            fi
            result=`eval $envlist DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated --force-yes -o 
    Dpkg::Options::='--force-confold' -o Dpkg::Options::='--force-confdef' upgrade 2>&1`
            R=$?
            if [ $R -ne 0 ]; then
                  RETURNVAL=$R
            fi
            logger -p local4.info -t xcat "$result"
            if [ $VERBOSE  ]; then
              echo "$result"
            fi
        fi
    

    The following packages will be upgraded:

    c910f03c05k06:   accountsservice apparmor apt apt-transport-https apt-utils bash bind9-host
    c910f03c05k06:   bsdutils coreutils cpio dbus dnsutils file gcc-4.9-base gir1.2-glib-2.0
    c910f03c05k06:   irqbalance krb5-locales language-selector-common libaccountsservice0
    c910f03c05k06:   libapparmor-perl libapparmor1 libapt-inst1.5 libapt-pkg4.12 libbind9-90
    c910f03c05k06:   libblkid1 libc-bin libc6 libcgmanager0 libcurl3-gnutls libdbus-1-3 libdns100
    c910f03c05k06:   libdrm2 libelf1 libevent-2.0-5 libgcc1 libgcrypt11 libgirepository-1.0-1
    c910f03c05k06:   libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libisc95 libisccc90
    c910f03c05k06:   libisccfg90 libk5crypto3 libkrb5-3 libkrb5support0 liblwres90 libmagic1
    c910f03c05k06:   libmount1 libmysqlclient18 libpam-systemd libplymouth2 libsepol1 libssl1.0.0
    c910f03c05k06:   libsystemd-daemon0 libsystemd-login0 libudev1 libuuid1 libxml2
    c910f03c05k06:   linux-firmware lshw man-db mime-support mount multiarch-support mysql-common
    c910f03c05k06:   net-tools ntp ntpdate openssl plymouth plymouth-theme-ubuntu-text ppp
    c910f03c05k06:   python-apt python-apt-common python-requests python3-apt python3-distupgrade
    c910f03c05k06:   python3-gi rpcbind rsyslog systemd-services tcpdump tzdata
    c910f03c05k06:   ubuntu-release-upgrader-core udev util-linux uuid-runtime wget
    c910f03c05k06: 89 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    c910f03c05k06: Need to get 42.1 MB of archives.
    

    As show in above many upstart related packages are updated, the start condition of hvc0 cannot be triggered:

    start on stopped rc RUNLEVEL=[2345] and (
             not-container or 
             container CONTAINER=lxc or 
             container CONTAINER=lxc-libvirt)
    

    if the "upgrade" line is commented out, the problem disappeared

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-03-09

    After we added the local mirror support, the os updates mirrors should be specified with pkgdir, the otherpkgs will not update the os packages again, so this should not be a problem any more.

    We could verify and close this bug.

     
  • yangsong

    yangsong - 2015-03-10

    specifying the ubuntu official mirror in "pkgdir" instead of "otherpkgdir" can fix this problem, the document has been updated.

    After installation,as shown in the process tree listed below, the login prompt in the console is started successfully :

    root@c910f03c05k06:~# ps -elf --forest ww
    F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY        TIME CMD
    1 S root         2     0  0  80   0 -     0 kthrea 22:45 ?          0:00 [kthreadd]
    1 S root         3     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/0]
    1 S root         4     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/0:0]
    1 S root         5     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/0:0H]
    1 S root         7     2  0  80   0 -     0 rcu_gp 22:45 ?          0:00  \_ [rcu_sched]
    1 S root         8     2  0  80   0 -     0 rcu_gp 22:45 ?          0:00  \_ [rcu_bh]
    1 S root         9     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/0]
    5 S root        10     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/0]
    5 S root        11     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/1]
    1 S root        12     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/1]
    1 S root        13     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/1]
    1 S root        14     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/1:0]
    1 S root        15     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/1:0H]
    5 S root        16     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/2]
    1 S root        17     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/2]
    1 S root        18     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/2]
    1 S root        20     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/2:0H]
    5 S root        21     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/3]
    1 S root        22     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/3]
    1 S root        23     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/3]
    1 S root        24     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/3:0]
    1 S root        25     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/3:0H]
    5 S root        26     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/4]
    1 S root        27     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/4]
    1 S root        28     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/4]
    1 S root        29     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/4:0]
    1 S root        30     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/4:0H]
    5 S root        31     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/5]
    1 S root        32     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/5]
    1 S root        33     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/5]
    1 S root        34     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/5:0]
    1 S root        35     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/5:0H]
    5 S root        36     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/6]
    1 S root        37     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/6]
    1 S root        38     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/6]
    1 S root        39     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/6:0]
    1 S root        40     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/6:0H]
    5 S root        41     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [watchdog/7]
    1 S root        42     2  0 -40   - -     0 smpboo 22:45 ?          0:00  \_ [migration/7]
    1 S root        43     2  0  80   0 -     0 smpboo 22:45 ?          0:00  \_ [ksoftirqd/7]
    1 S root        44     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/7:0]
    1 S root        45     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/7:0H]
    1 S root        46     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [khelper]
    5 S root        47     2  0  80   0 -     0 devtmp 22:45 ?          0:00  \_ [kdevtmpfs]
    1 S root        48     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [netns]
    1 S root        49     2  0  80   0 -     0 down_i 22:45 ?          0:00  \_ [eehd]
    1 S root        50     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [writeback]
    1 S root        51     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [kintegrityd]
    1 S root        52     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [bioset]
    1 S root        53     2  0  60 -20 -     0 worker 22:45 ?          0:00  \_ [kworker/u17:0]
    1 S root        54     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [kblockd]
    1 S root        55     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [ata_sff]
    1 S root        56     2  0  80   0 -     0 hub_th 22:45 ?          0:00  \_ [khubd]
    1 S root        57     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [md]
    1 S root        58     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [devfreq_wq]
    5 S root        59     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/0:1]
    1 S root        60     2  0  80   0 -     0 watchd 22:45 ?          0:00  \_ [khungtaskd]
    1 S root        61     2  0  80   0 -     0 kswapd 22:45 ?          0:00  \_ [kswapd0]
    1 S root        62     2  0  85   5 -     0 ksm_sc 22:45 ?          0:00  \_ [ksmd]
    1 S root        63     2  0  80   0 -     0 fsnoti 22:45 ?          0:00  \_ [fsnotify_mark]
    1 S root        64     2  0  80   0 -     0 ecrypt 22:45 ?          0:00  \_ [ecryptfs-kthrea]
    1 S root        65     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [crypto]
    1 S root        77     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [kthrotld]
    1 S root        78     2  0  80   0 -     0 balloo 22:45 ?          0:00  \_ [vballoon]
    1 S root        79     2  0  80   0 -     0 khvcd  22:45 ?          0:00  \_ [khvcd]
    1 S root        80     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/1:1]
    1 S root        81     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/3:1]
    1 S root        82     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/4:1]
    1 S root        83     2  0  80   0 -     0 scsi_e 22:45 ?          0:00  \_ [scsi_eh_0]
    1 S root        84     2  0  60 -20 -     0 ibmvsc 22:45 ?          0:00  \_ [ibmvscsi_0]
    1 S root       105     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [deferwq]
    1 S root       106     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [charger_manager]
    1 S root       107     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/u16:3]
    1 S root       109     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/2:1]
    1 S root       171     2  0  80   0 -     0 kjourn 22:45 ?          0:00  \_ [jbd2/sda2-8]
    1 S root       172     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [ext4-rsv-conver]
    1 S root       178     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/5:1]
    1 S root       179     2  0  80   0 -     0 worker 22:45 ?          0:00  \_ [kworker/7:1]
    1 S root       394     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [rpciod]
    1 S root       405     2  0  60 -20 -     0 rescue 22:45 ?          0:00  \_ [nfsiod]
    1 S root      1367     2  0  80   0 -     0 kaudit 22:45 ?          0:00  \_ [kauditd]
    1 S root      1989     2  0  60 -20 -     0 worker 22:46 ?          0:00  \_ [kworker/u17:2]
    1 S root      6776     2  0  80   0 -     0 worker 22:48 ?          0:00  \_ [kworker/2:2]
    1 S root      6887     2  0  60 -20 -     0 rescue 22:48 ?          0:00  \_ [nfsd4]
    1 S root      6888     2  0  60 -20 -     0 rescue 22:48 ?          0:00  \_ [nfsd4_callbacks]
    1 S root      6889     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [lockd]
    1 S root      6892     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6893     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6894     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6895     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6896     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6897     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6898     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6899     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsd]
    1 S root      6914     2  0  80   0 -     0 svc_ge 22:48 ?          0:00  \_ [nfsv4.0-svc]
    1 S root      7263     2  0  80   0 -     0 worker 22:50 ?          0:00  \_ [kworker/6:2]
    1 S root      7284     2  0  80   0 -     0 worker 22:59 ?          0:00  \_ [kworker/u16:1]
    1 S root      7285     2  0  80   0 -     0 worker 23:07 ?          0:00  \_ [kworker/u16:0]
    4 S root         1     0  0  80   0 -   102 poll_s 22:45 ?          0:02 /sbin/init
    1 S root       332     1  0  80   0 -    70 poll_s 22:45 ?          0:00 upstart-udev-bridge --daemon
    5 S root       340     1  0  80   0 -   223 SyS_ep 22:45 ?          0:00 /lib/systemd/systemd-udevd --daemon
    1 S root       392     1  0  80   0 -    61 poll_s 22:45 ?          0:00 upstart-file-bridge --daemon
    5 S message+   455     1  0  80   0 -   105 SyS_ep 22:45 ?          0:00 dbus-daemon --system --fork
    4 S root       501     1  0  80   0 -   109 SyS_ep 22:45 ?          0:00 /lib/systemd/systemd-logind
    1 S root       511     1  0  80   0 -    74 SyS_ep 22:45 ?          0:00 rpc.idmapd
    5 S syslog     513     1  0  80   0 -  4709 poll_s 22:45 ?          0:00 rsyslogd
    1 S root       587     1  0  80   0 -    61 poll_s 22:45 ?          0:00 upstart-socket-bridge --daemon
    5 S root       593     1  0  80   0 -    66 poll_s 22:45 ?          0:00 rpcbind
    5 S statd      636     1  0  80   0 -    69 poll_s 22:45 ?          0:00 rpc.statd -L
    1 S root       746     1  0  80   0 -   117 poll_s 22:45 ?          0:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
    4 S root       882     1  0  80   0 -    53 n_tty_ 22:45 tty4       0:00 /sbin/getty -8 38400 tty4
    4 S root       884     1  0  80   0 -    53 n_tty_ 22:45 tty5       0:00 /sbin/getty -8 38400 tty5
    4 S root       887     1  0  80   0 -    53 n_tty_ 22:45 tty2       0:00 /sbin/getty -8 38400 tty2
    4 S root       888     1  0  80   0 -    53 n_tty_ 22:45 tty3       0:00 /sbin/getty -8 38400 tty3
    4 S root       890     1  0  80   0 -    53 n_tty_ 22:45 tty6       0:00 /sbin/getty -8 38400 tty6
    4 S root       901     1  0  80   0 -   177 poll_s 22:45 ?          0:00 /usr/sbin/sshd -D
    4 S root      1365   901  0  80   0 -   265 poll_s 22:45 ?          0:00  \_ sshd: root@pts/2    
    4 S root      1384  1365  0  80   0 -   156 n_tty_ 22:45 pts/2      0:00  |   \_ -bash
    4 S root      7286   901  0  80   0 -   262 -      23:11 ?          0:00  \_ sshd: root@pts/1    
    4 S root      7304  7286  0  80   0 -   155 wait   23:11 pts/1      0:00      \_ -bash
    0 R root      7318  7304  0  80   0 -   119 -      23:11 pts/1      0:00          \_ ps -elf --forest ww
    1 S root       914     1  0  80   0 -    72 hrtime 22:45 ?          0:00 cron
    5 S snmp       942     1  0  80   0 -   240 poll_s 22:45 ?          0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux mteTrigger mteTriggerConf -p /var/run/snmpd.pid
    5 S ntp       1210     1  0  80   0 -   130 poll_s 22:45 ?          0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -c /var/lib/ntp/ntp.conf.dhcp -u 103:109
    1 S root      5348     1  0  80   0 -   169 poll_s 22:47 ?          0:00 /usr/sbin/apache2 -k start
    5 S www-data  7107  5348  0  80   0 -  4706 pipe_w 22:48 ?          0:00  \_ /usr/sbin/apache2 -k start
    5 S www-data  7108  5348  0  80   0 -  4706 pipe_w 22:48 ?          0:00  \_ /usr/sbin/apache2 -k start
    5 S root      6684     1  0  80   0 -  3238 poll_s 22:48 ?          0:00 /usr/sbin/libvirtd -d
    5 S libvirt+  6848     1  0  80   0 -    82 poll_s 22:48 ?          0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
    1 S root      6902     1  0  80   0 -    78 poll_s 22:48 ?          0:00 /usr/sbin/rpc.mountd --manage-gids
    1 S root      6940     1  0  80   0 -    59 poll_s 22:48 ?          0:00 /usr/sbin/in.tftpd -v -l -s /tftpboot -m /etc/tftpmapfile4xcat.conf
    5 S bind      7000     1  0  80   0 -  8922 sigsus 22:48 ?          0:00 /usr/sbin/named -u bind
    4 S dhcpd     7073     1  0  80   0 -   138 poll_s 22:48 ?          0:00 dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf eth0
    1 S root      7080     1  0  80   0 -  1982 inet_c 22:48 ?          0:00 xcatd: SSL listener
    1 S root      7081  7080  0  80   0 -  1978 poll_s 22:48 ?          0:00  \_ xcatd: DB Access
    1 S root      7082  7080  0  80   0 -  1977 poll_s 22:48 ?          0:00  \_ xcatd: UDP listener
    1 S root      7084  7082  0  80   0 -  1978 unix_s 22:48 ?          0:00  |   \_ xcatd: Discovery worker
    1 S root      7083  7080  0  80   0 -  1977 inet_c 22:48 ?          0:00  \_ xcatd: install monitor
    4 S root      7204     1  0  80   0 -    53 n_tty_ 22:48 hvc0       0:00 /sbin/getty -L hvc0 vt102
    4 S root      7206     1  0  80   0 -    53 n_tty_ 22:48 tty1       0:00 /sbin/getty -8 38400 tty1
    
     
  • yangsong

    yangsong - 2015-03-10
    • status: open --> pending
     
  • GONG Jie

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

    GONG Jie - 2015-03-19

    Verified on the latest xCAT build. This bug was already fixed.

    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-snap20150319                 all          xCAT perl libraries
    ii  xcat                                2.9-snap20150319                 ppc64el      Server and configuration utilities of the xCAT management project
    ii  xcat-buildkit                       2.9-snap20150319                 all          xCAT-buildkit provides the buildkit tool and sample kit files to build an xCAT kit.
    ii  xcat-client                         2.9-snap20150319                 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-snap20150319                 ppc64el      xCAT genesis
    ii  xcat-server                         2.9-snap20150319                 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