Menu

#4056 [xCAT-DEV]tftp downlod the symbol link "grub2.ppc" itself instead of the target binary

2.8.4
pending
yangsong
deployment (57)
RHEL7
5
2014-04-11
2014-04-09
yangsong
No

on rhels6.4-ppc64 MN,the deployment of rhel7 hang on:

[root@p7hvs7br11 ~]# tail -f /var/log/messages
Apr 9 09:09:57 p7hvs7br11 xCAT[24874]: xCAT: Allowing rnetboot to p7hvs7br18 for root from localhost
Apr 9 09:09:58 p7hvs7br11 xCAT[24898]: xCAT: Allowing nodels to p7hvs7br18 nodehm.conserver for root from localhost
Apr 9 09:10:01 p7hvs7br11 CROND[24909]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Apr 9 09:10:52 p7hvs7br11 dhcpd: BOOTREQUEST from de:8a:5f:83:25:02 via eth0
Apr 9 09:10:52 p7hvs7br11 dhcpd: BOOTREPLY for 10.1.0.178 to p7hvs7br18 (de:8a:5f:83:25:02) via eth0
Apr 9 09:10:52 p7hvs7br11 dhcpd: BOOTREQUEST from de:8a:5f:83:25:02 via eth0
Apr 9 09:10:52 p7hvs7br11 dhcpd: BOOTREPLY for 10.1.0.178 to p7hvs7br18 (de:8a:5f:83:25:02) via eth0
Apr 9 09:10:52 p7hvs7br11 in.tftpd[24928]: RRQ from 10.1.0.178 filename /boot/grub2/grub2.ppc
Apr 9 09:10:52 p7hvs7br11 in.tftpd[24929]: RRQ from 10.1.0.178 filename /boot/grub2/grub2.ppc
Apr 9 09:10:52 p7hvs7br11 in.tftpd[24930]: RRQ from 10.1.0.178 filename /boot/grub2/grub2.ppc
Apr 9 09:20:01 p7hvs7br11 CROND[24948]: (root) CMD (/usr/lib64/sa/sa1 1 1)

While looking into the problem, this is caused by a default tftp behavior, it downloads the symbol link "grub2.ppc" itself instead of the target "/tftpboot/boot/grub2/powerpc-ieee1275/core.elf"

Discussion

  • yangsong

    yangsong - 2014-04-11

    fixed in xcat-dep:
    commit 9feab03bc82d370b79af94c167a8e536726ec854
    Author: immarvin yangsbj@cn.ibm.com
    Date: Fri Apr 11 09:54:20 2014 -0700

    fix defect #4056 [xCAT-DEV]tftp downlod the symbol link grub2.ppc itself instead of the target binary
    

    diff --git a/grub2-xcat/grub2-xcat.spec b/grub2-xcat/grub2-xcat.spec
    index 3ce9838..f5c4bc7 100644
    --- a/grub2-xcat/grub2-xcat.spec
    +++ b/grub2-xcat/grub2-xcat.spec
    @@ -53,7 +53,8 @@ tar -xf grub2-res.tar

    %post
    -ln -s -f %{prefix}/powerpc-ieee1275/core.elf %{prefix}/grub2.ppc
    +rm -f %{prefix}/grub2.ppc
    +cp %{prefix}/powerpc-ieee1275/core.elf %{prefix}/grub2.ppc
    exit 0

    %clean

     
  • yangsong

    yangsong - 2014-04-11
    • status: open --> pending
     
MongoDB Logo MongoDB