Menu

#4766 [Auto discovery] Stateful node added via auto discovery can not be added to LSF and EGO

2.9.2
open
leo.c.wu
plugins (1)
PCM
5
2015-08-03
2015-08-03
leo.c.wu
No

This bug reproduce again. add stateful node via auto discovery, and the mac address is normally without NOIP. Node still can not be added into LSF. Thus the root cause seems is not the NOIP in mac.
[root@phpc421 etc]# lsdef cn0|grep status
appstatus=provision=provisioned
appstatustime=07-24-2015 05:15:41
status=booted
statustime=07-24-2015 05:15:41
[root@phpc421 etc]# lsdef cn0|grep mac
mac=00:50:56:ac:61:90
[root@phpc421 etc]# lsload
HOST_NAME status r15s r1m r15m ut pg ls it tmp swp mem
cn2 ok 1.0 0.0 0.5 0% 0.0 0 14 16G 1.9G 3.5G
phpc421 ok 1.7 0.8 0.8 5% 0.2 1 2 22G 3.8G 4.4G

Discussion

  • yangsong

    yangsong - 2015-08-03

    the "mac=00:0c:29:6c:d7:2c|00:0c:29:6c:d7:36!NOIP" appears after node discovery if there are multiple nics in the node, "00:0c:29:6c:d7:2c" is the nic with valid ip address, and the 00:0c:29:6c:d7:36 is the nic without valid ip address, the "|xxxxNOIP" part in the mac should be filtered out in the code bu your self

     
  • leo.c.wu

    leo.c.wu - 2015-08-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,22 +1,14 @@
    -<*DESCRIPTION>: -- Use Case  (High level summary  (10 lines max!))
    -In VM ENV. Add a stateful node via auto discovery, after node is provisioned. The node isn't added in LSF and EGO.
    
    - 
    -<*HOW TO REPRODUCE>:  -- Steps to reproduce the issue  (10 lines max!)
    -1. Install PHPC
    -2. Apply VM patch.
    -3. Add stateful node via auto discovery
    -<*DETAILS OF THE BUG>:  -- Useful information to help solve the problem
    -#1. This situation is happened at a high probability in VM ENV. No real-machine env to try on.
    -#2. The mac address of node is confused. Similar to PDB bug 245211.
    -[root@star ~]# lsdef compute000|grep mac
    -    mac=00:0c:29:6c:d7:2c|00:0c:29:6c:d7:36!*NOIP*
    -Refer to PDB bug. There is "#KICKSTARTNET#" in the
    -[root@pcmautorhelmn ~]# head /install/osimages/rhels7.1-x86_64-stateful-compute/compute.tmpl
    -
    -#cmdline
    -
    -lang en_US
    -#KICKSTARTNET#
    -
    -
    +This bug reproduce again. add stateful node via auto discovery, and the mac address is normally without NOIP. Node still can not be added into LSF. Thus the root cause seems is not the NOIP in mac.
    +[root@phpc421 etc]# lsdef cn0|grep status
    +    appstatus=provision=provisioned
    +    appstatustime=07-24-2015 05:15:41
    +    status=booted
    +    statustime=07-24-2015 05:15:41
    +[root@phpc421 etc]# lsdef cn0|grep mac
    +    mac=00:50:56:ac:61:90
    +[root@phpc421 etc]# lsload
    +HOST_NAME       status  r15s   r1m  r15m   ut    pg  ls    it   tmp   swp   mem
    +cn2                 ok   1.0   0.0   0.5   0%   0.0   0    14   16G  1.9G  3.5G
    +phpc421             ok   1.7   0.8   0.8   5%   0.2   1     2   22G  3.8G  4.4G
    
    
     
MongoDB Logo MongoDB