Menu

#3173 2.8:run xcatconfig -m have error with perl-IO-Socket-INET6 installed

2.9
closed
general (4)
unknown
5
2014-11-27
2012-11-13
hanjing
No

when i first manually run xcatconfig -m on MN:
following error will occur

x3250m4n02:~ # xcatconfig -m
Can't call method "delEntries" on an undefined value at /opt/xcat/sbin/chtab line 93.
syntax error. Last token seen: /
Garbled time
sh: -c: line 2: syntax error near unexpected token (' sh: -c: line 2:Prototype mismatch: sub Net::DNS::Resolver::Base::AF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.'
Command failed: /opt/xcat/sbin/chtab -d node=Constant subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Prototype mismatch: sub Net::DNS::Resolver::Base::AF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Constant subroutine Net::DNS::Resolver::Base::PF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Prototype mismatch: sub Net::DNS::Resolver::Base::PF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Invalid nodes in noderange:__mgmtnode nodelist; 2>&1. Error message: .

Could not run /opt/xcat/sbin/chtab -d node=Constant subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Prototype mismatch: sub Net::DNS::Resolver::Base::AF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Constant subroutine Net::DNS::Resolver::Base::PF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Prototype mismatch: sub Net::DNS::Resolver::Base::PF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
Invalid nodes in noderange:__mgmtnode nodelist;.

error would gone after removing perl-IO-Socket-INET6.However,one error still remains with generating MN defination while running again.

x3250m4n02:~ # rpm -qa|grep perl-IO-S
perl-IO-Socket-SSL-1.38-5.2.2
perl-IO-Socket-INET6-2.56-3.10.2.1
x3250m4n02:~ # rpm -e perl-IO-Socket-INET6-2.56-3.10.2.1
x3250m4n02:~ # xcatconfig -m
Can't call method "delEntries" on an undefined value at /opt/xcat/sbin/chtab line 93.
x3250m4n02:~ # lsdef -o x3250m4n02
Object name: x3250m4n02
groups=__mgmtnode
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles

Discussion

  • Lissa Valletta

    Lissa Valletta - 2012-11-13

    So the xcatconfig -m problem is in xcatconfig and I will fix. The problem with perl-IO-Socket-INET6 installed is unrelated but we need to get on your machine. Could you send Jarrod and me how to access the machine.

     
  • Lissa Valletta

    Lissa Valletta - 2012-11-13

    So I narrowed it down to plugins like activedirectory.pm which have the "use Net::DNS;". With the perl-IO-Socket_INET6 library installed you get the following. This is a SLES SP2 machine.
    xCAT_plugin::activedirectory::CODE(0x30082a8)(/opt/xcat/lib/perl/xCAT_plugin/activedirectory.pm:11):
    11: use Net::DNS;

    DB<11> n
    Constant subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Prototype mismatch: sub Net::DNS::Resolver::Base::AF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Constant subroutine Net::DNS::Resolver::Base::PF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Prototype mismatch: sub Net::DNS::Resolver::Base::PF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Net::DNS::CODE(0x30082a8)(/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS.pm:78):

     
  • Lissa Valletta

    Lissa Valletta - 2013-01-08
    • status: open --> pending
     
  • Lissa Valletta

    Lissa Valletta - 2013-01-08

    Is this recreatable or fixed.

     
  • hanjing

    hanjing - 2013-01-09

    there is no error information output now.still have following information,i am not sure if PCM would bother about following output while evoke updatenode to update MN itself.

    x3250m4n02:~ # xcatconfig -m
    Constant subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Prototype mismatch: sub Net::DNS::Resolver::Base::AF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Constant subroutine Net::DNS::Resolver::Base::PF_INET6 redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65
    Prototype mismatch: sub Net::DNS::Resolver::Base::PF_INET6 () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
    at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 65

     
  • Lissa Valletta

    Lissa Valletta - 2013-01-14

    You are correct if I remove rpm -e perl-IO-Socket-INET6-2.56-3.10.2.1 the problem goes away, it is not just xcatconf , it is any command not running under the daemon.
    export XCATBYPASS=y tabdump site.
    I need whoever is testing IPV6 support to investigate.

     
  • Lissa Valletta

    Lissa Valletta - 2013-01-14
    • labels: --> general
    • status: pending --> open
    • assigned_to: Lissa Valletta --> XiaoPeng Wang
     
  • Lissa Valletta

    Lissa Valletta - 2013-01-14

    This looks to be the same issues as SF defect 3017. I am assigning to Xaio Peng who worked on the other one. Not sure if the other was a sufficient fix because you can get this message from other command than xcatconfig. Seems this needs more investigation.

     
  • Lissa Valletta

    Lissa Valletta - 2013-01-30

    I will move to 2.8.2

     
  • Lissa Valletta

    Lissa Valletta - 2013-01-30
    • milestone: 2.8 --> 2.8.2
     
  • Guang Cheng Li

    Guang Cheng Li - 2013-07-02
    • Milestones: 2.8.2 --> 2.9
     
  • Guang Cheng Li

    Guang Cheng Li - 2013-07-02

    According to the https://bugzilla.linux.ibm.com/show_bug.cgi?id=88261 and the test with SLES 11 SP3, seems that the SLES 11 SP3 does not include the fix, moving it to 2.9 for tracking...

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2014-10-20

    This issue has been fixed in the new version of perl-Net-DNS-0.73-1.28.x86_64 on sles 12. And from the change log that the fix for this issue (https://rt.cpan.org/Public/Bug/Display.html?id=35752) has been included.

    I did a quick test that I cannot recreate this issue on sles12.

    Since the Creator of this bug has quit from IBM, I assign this bug to TingTing for the verification.

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2014-10-20
    • status: open --> pending
    • component: --> unknown
     
  • XiaoPeng Wang

    XiaoPeng Wang - 2014-10-20
     
  • ting ting li

    ting ting li - 2014-11-27
    • status: pending --> closed
     
  • ting ting li

    ting ting li - 2014-11-27

    Since xiao peng already and did not reproduce this defect. I will close it.

     
MongoDB Logo MongoDB