Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2896 lsslp give inconsistent output on Linux

2.7.3
closed
Le Yin
General (881)
6
2012-09-19
2012-05-24
ting ting li
No

xCAT 2.7.2 5/23 build.

40.17.4.2 is not found when specify -T

[root@c250mgrs34-pvt ~]# lsslp f17c04
device type-model serial-number side ip-addresses hostname
fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
cec 9125-F2C 02B00F5 f17c04

[root@c250mgrs34-pvt ~]# lsslp f17c04 -T 30
device type-model serial-number side ip-addresses hostname

fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
cec 9125-F2C 02B00F5 f17c04

[root@c250mgrs34-pvt ~]# lsslp f17c04 -T 300
device type-model serial-number side ip-addresses hostname

fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
cec 9125-F2C 02B00F5 f17c04

Discussion

  • Le Yin
    Le Yin
    2012-05-24

    Since -n is not a critical flag, we agree to move the bug to 2.7.3

     
  • Le Yin
    Le Yin
    2012-05-25

    The bug description should be:

    [root@c250mgrs34-pvt xcat]# lsslp -n
    device type-model serial-number side ip-addresses hostname
    bpa 9458-100 BPCF017 A-0 40.17.0.1 40.17.0.1
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    bpa 9458-100 BPCF017 A-1 41.17.0.1 41.17.0.1
    bpa 9458-100 BPCF017 B-1 41.17.0.2 41.17.0.2
    fsp 9125-F2C 02B00F5 A-1 41.17.4.1 41.17.4.1
    frame 9458-100 BPCF017 Server-9458-100-SNBPCF017

    [root@c250mgrs34-pvt xcat]# lsslp -n
    device type-model serial-number side ip-addresses hostname
    bpa 9458-100 BPCF017 A-0 40.17.0.1 40.17.0.1
    bpa 9458-100 BPCF017 B-0 40.17.0.2 40.17.0.2
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    bpa 9458-100 BPCF017 A-1 41.17.0.1 41.17.0.1
    bpa 9458-100 BPCF017 B-1 41.17.0.2 41.17.0.2
    fsp 9125-F2C 02B00F5 A-1 41.17.4.1 41.17.4.1
    fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
    frame 9458-100 BPCF017 Server-9458-100-SNBPCF017

     
  • ting ting li
    ting ting li
    2012-05-28

    I move this defect to 2.7.3

     
  • ting ting li
    ting ting li
    2012-05-28

    Yin Le,
    Since this defect will trace lsslp occasionally could not discover all objects on Linux. I will open another defect to trace lsslp -n defect.

    If you think both defect are the same reason. Please duplicate them. Thanks!

     
  • ting ting li
    ting ting li
    2012-05-30

    some additional testing results

    1. Case 1 :fsp 40.17.4.1 is not discovered.

    [root@c250mgrs34-pvt ~]# lsslp -s CEC -i 10.0.0.97,40.0.0.97,41.0.0.97 -T 300
    device type-model serial-number side ip-addresses hostname
    fsp 9125-F2C 02D7685 A-0 40.17.1.1 f17c01fsp1_a
    fsp 9125-F2C 02D7685 B-0 40.17.1.2 f17c01fsp2_a
    fsp 9125-F2C 02D8B75 A-0 40.17.2.1 f17c02fsp1_a
    fsp 9125-F2C 02D8B75 B-0 40.17.2.2 f17c02fsp2_a
    fsp 9125-F2C 02D7655 A-0 40.17.3.1 f17c03fsp1_a
    fsp 9125-F2C 02B00F5 A-0 40.17.4.1 f17c04fsp1_a
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    fsp 9125-F2C 02D7685 A-1 41.17.1.1 f17c01fsp1_b
    fsp 9125-F2C 02D7685 B-1 41.17.1.2 f17c01fsp2_b
    fsp 9125-F2C 02D8B75 A-1 41.17.2.1 f17c02fsp1_b
    fsp 9125-F2C 02D7655 A-1 41.17.3.1 f17c03fsp1_b
    fsp 9125-F2C 02B00F5 A-1 41.17.4.1 41.17.4.1
    fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
    cec 9125-F2C 02B00F5 f17c04
    cec 9125-F2C 02D7655 f17c03
    cec 9125-F2C 02D7685 f17c01
    cec 9125-F2C 02D8B75 f17c02

    1. Case 2: fsp 40.17.2.1 and fsp 41.17.2.1 is not discovered.

    [root@c250mgrs34-pvt yum.repos.d]# lsslp f17c02 -T 300
    device type-model serial-number side ip-addresses hostname

    fsp 9125-F2C 02D8B75 B-0 40.17.2.2 f17c02fsp2_a
    cec 9125-F2C 02D8B75 f17c02

    3.Case 3: fsp 40.17.4.1 and 41.17.4.1 is not discovered.
    [root@c250mgrs34-pvt ~]# lsslp f17c04 -T 300
    device type-model serial-number side ip-addresses hostname
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
    cec 9125-F2C 02B00F5 f17c04

     
  • Le Yin
    Le Yin
    2012-05-31

    updated the file.

     
  • Le Yin
    Le Yin
    2012-05-31

    please replace the file /opt/xcat/lib/perl/xCAT_plugin/lsslp.pm with this file and restart xcatd

     
    Attachments
  • ting ting li
    ting ting li
    2012-06-01

    With the latest efix. it works.

    [root@c250mgrs34-pvt ~]# lsslp f17c04
    device type-model serial-number side ip-addresses hostname
    fsp 9125-F2C 02B00F5 A-0 40.17.4.1 f17c04fsp1_a
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    fsp 9125-F2C 02B00F5 A-1 41.17.4.1 41.17.4.1
    fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
    cec 9125-F2C 02B00F5 f17c04

    [root@c250mgrs34-pvt ~]# lsslp f17c04 -T 30
    device type-model serial-number side ip-addresses hostname
    fsp 9125-F2C 02B00F5 A-0 40.17.4.1 f17c04fsp1_a
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    fsp 9125-F2C 02B00F5 A-1 41.17.4.1 41.17.4.1
    fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
    cec 9125-F2C 02B00F5 f17c04

    [root@c250mgrs34-pvt ~]# lsslp f17c04 -T 300
    device type-model serial-number side ip-addresses hostname
    fsp 9125-F2C 02B00F5 A-0 40.17.4.1 f17c04fsp1_a
    fsp 9125-F2C 02B00F5 B-0 40.17.4.2 40.17.4.2
    fsp 9125-F2C 02B00F5 A-1 41.17.4.1 41.17.4.1
    fsp 9125-F2C 02B00F5 B-1 41.17.4.2 41.17.4.2
    cec 9125-F2C 02B00F5 f17c04