#2577 Utils.pm in servicenode ps breaks Linux SN diskfull install

2.6.11
closed
7
2012-09-19
2012-02-06
Lissa Valletta
No

In fixing the problem of the mounted /install directory on the SN being changed to 0600 permission. I added a call to Utils.pm->isMounted on the Linux path, this required adding Utils.pm to servicenode postscript. This breaks the running of the servicenode postscript on diskfull SN installes because xCAT is not installed until after the servicenode postscript is run in the otherpkgs run of postbootscripts.

This needs to be fixed in 2.6.10 and 2.7.

The use Utils.pm must be moved down to the updatenode -k section.

Discussion

  • Lissa Valletta
    Lissa Valletta
    2012-02-06

    Fix 2.7 servicenode postscript Committed revision 11489

     
  • Lissa Valletta
    Lissa Valletta
    2012-02-06

    Fixed in 2.6
    Committed revision 11490

    servicenode postscript fix for 2.6 attached below

     
  • Lissa Valletta
    Lissa Valletta
    2012-02-06

     
    Attachments
  • Lissa Valletta
    Lissa Valletta
    2012-02-06

    To use servicenode efix,
    replace /install/postscripts/servicenode

     
  • Lissa Valletta
    Lissa Valletta
    2012-02-06

    Note this fix is only needed for Linux Service nodes. Does not apply to AIX.

     
  • Lissa Valletta
    Lissa Valletta
    2012-02-06

    the problem was introduced with SF defect 3460126

     
  • Lissa Valletta
    Lissa Valletta
    2012-02-07

    To fix quickly without installing the efix, after the SN install
    run
    updatenode <servicenode> -k ( need root password on the SN)
    This will fix the credentials.

     
  • hanjing
    hanjing
    2012-02-17

    This bug is remain in the latest 2.6.11 build. on SN,missing cert directory under /etc/xcat

    [root@hv32s38p23 ~]# ls /etc/xcat/
    ca cfgloc cfgloc.xcat.backup hostkeys nodegroup.sqlite nodelist.sqlite policy.sqlite postscripts.rules postscripts.sqlite site.sqlite

    [root@hv32s38p23 ~]# nodels -v
    Unable to open socket connection to xcatd daemon on localhost:3001.
    Verify that the xcatd daemon is running and that your SSL setup is correct.
    Connection failure: IO::Socket::SSL: SSL connect attempt failed with unknown errorerror:00000000:lib(0):func(0):reason(0) at /opt/xcat/lib/perl/xCAT/Client.pm line 159.

     
  • Brian  Croswell
    Brian Croswell
    2012-02-17

    Lissa can you look at this defect for xCAT 2.6.11 ..
    It was reopened by FVT running 2.6.11 regression

     
  • Lissa Valletta
    Lissa Valletta
    2012-02-21

    There problem was they did not put xcatclient, xcatserver in the postscripts list. User error