Menu

#4735 [fvt]2.10:could not get postscript section of the installer logs

2.10
closed
yangsong
None
unknown
5
2015-07-15
2015-07-09
junxiaw
No

1.download the latest build
2.set xcatdebugmode=1
3.nodeset computenode osimage=rhels7-ppc64-netboot-compute
4.rnetboot computenode
on computenode:
cat /var/log/xcat/xcat.log
xcatdsklspost: updating VPD database
running /opt/xcat/xcatdsklspost
xcatdsklspost : trying to download postscripts from http://10.2.1.13/install/pos
tscripts/
/opt/xcat/xcatdsklspost : download_postscripts return successfully
xcatdsklspost: downloaded postscripts successfully
/opt/xcat/xcatdsklspost : trying to download http://10.2.1.13/tftpboot/mypostsc
ripts/mypostscript.c910f02c02p27
/opt/xcat/xcatdsklspost : download_mypostscript failed
xcatdsklspost: failed to download mypostscript.<nodename>, trying to call getpos
tscript.awk...
running //xcatpost/mypostscript
Thu Jan 1 00:54:51 EST 2015 Running postscript: syslog</nodename>

on management node:
tail -f /var/log/messages
------------------------> could not get log info above

Discussion

  • yangsong

    yangsong - 2015-07-09
    • status: open --> pending
     
  • yangsong

    yangsong - 2015-07-09

    fixed in 2.10:

    [root@c910f03c01p03 xcat-core]# git show
    commit 1eeefe56f3c0f112a81b7ef2685b83d8ecf27111
    Author: immarvin yangsbj@cn.ibm.com
    Date: Thu Jul 9 02:45:12 2015 -0400

    fix defect #4735 [fvt]2.10:could not get postscript section of the installer logs
    

    diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm
    index 2dccff4..290d35b 100755
    --- a/xCAT-server/lib/xcat/plugins/anaconda.pm
    +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm
    @@ -750,6 +750,8 @@ sub mknetboot
    my ($host, $ipaddr) = xCAT::NetworkUtils->gethostnameandip($xcatmaster);
    if($ipaddr){
    $kcmdline .=" LOGSERVER=$ipaddr ";
    + }else{
    + $kcmdline .=" LOGSERVER=$xcatmaster ";
    }

            $kcmdline .= " xcatdebugmode=1 ";
    
     
  • junxiaw

    junxiaw - 2015-07-09
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,6 @@
     1.download the latest build
     2.set xcatdebugmode=1
    -3.nodeset computenode osimage
    +3.nodeset computenode osimage=rhels7-ppc64-netboot-compute
     4.rnetboot computenode 
     on computenode:
     cat /var/log/xcat/xcat.log 
    
    • status: pending --> open
     
  • yangsong

    yangsong - 2015-07-13

    fixed in 2.10:
    commit 56478bf72ea826bc8238e99e247074ba62ea5f2b
    Author: immarvin yangsbj@cn.ibm.com
    Date: Fri Jul 10 05:34:09 2015 -0400
    modify msgutil to match msgutil_r

    commit 420aec57c36d8e8ccc54dd6aa61dd9186ae622aa
    Author: immarvin yangsbj@cn.ibm.com
    Date: Fri Jul 10 04:23:23 2015 -0400
    try various log method according to the different version of logger

    commit 4074b4f4e72c2b7b0d9466d563f10f506d6e4876
    Author: immarvin yangsbj@cn.ibm.com
    Date: Fri Jul 10 04:20:36 2015 -0400
    try various log method according to the different version of logger

    for ubuntu diskful, the logs in the postscript framework still can not be forwarded to MN, the logs in postbootscript can be forwarded to MN successfully.

     
  • junxiaw

    junxiaw - 2015-07-15
    • status: open --> closed