Menu

#4463 [fvt]2.9:sles12 on x86_64 env :xcat postscripts does not run

2.9.1
closed
None
SLES12
5
2015-03-19
2014-12-10
junxiaw
No

How to reproduce:
1.down the latest build
2. install xcat and provision xcat compute node
3.
[root@dx360m4n02 ~]# lsdef dx360m3n01
Object name: dx360m3n01
arch=x86_64
bmc=10.1.0.200
bmcpassword=PASSW0RD
bmcusername=USERID
cons=ipmi
currchain=boot
currstate=boot
groups=compute
initrd=xcat/osimage/sles12-x86_64-install-compute/initrd
installnic=mac
ip=9.114.34.231
kcmdline=quiet autoyast=http://9.114.34.238:80/install/autoinst/dx360m3n01 install=http://9.114.34.238:80/install/sles12/x86_64/1 netdevice=5c:f3:fc:a8:93:49 console=tty0 console=ttyS0,115200n8r
kernel=xcat/osimage/sles12-x86_64-install-compute/linux
mac=5c:f3:fc:a8:93:49
mgt=ipmi
monserver=9.114.34.238
netboot=xnba
nfsserver=9.114.34.238
os=sles12
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
primarynic=mac
profile=compute
provmethod=sles12-x86_64-install-compute
serialflow=hard
serialport=0
serialspeed=115200
status=booting
statustime=12-10-2014 01:10:48
tftpserver=9.114.34.238
updatestatus=synced
updatestatustime=12-04-2014 03:54:08
xcatmaster=9.114.34.238
[root@dx360m4n02 ~]#
nodeset dx360m3n01 osimage
rsetboot dx360m3n01 net
rpower dx360m3n01 boot
Then after provision xcat postscripts does not run
----------------------------> /var/adm/autoinstall/scripts/xcat.sh: line 37: /etc/init.d/network: No such file or directory
----------------------------->it sleep only 10s wait for network restart on x86_64 physical machine.

1 Attachments

Discussion

  • Guang Cheng Li

    Guang Cheng Li - 2014-12-10

    This problem is caused by two problems with autoyast post script /opt/xcat/share/xcat/install/scripts/post.sles.common:

    1. the post.sles.common uses "/etc/init.d/network restart" to restart network, however, the /etc/init.d/network does not exist on SLES 12.

    2. After the network is restarted, the post.sles.common waits 10 seconds for the network adapters initialization and configuration, the 10 seconds is not enough for a node that has a lot of network adapters.

     
  • Guang Cheng Li

    Guang Cheng Li - 2014-12-10
    • Milestone: 2.9 --> 2.9.1
     
  • Guang Cheng Li

    Guang Cheng Li - 2014-12-10

    The 2.9 stream is closed, the code change could not be integrated into 2.9. Updated the 2.9 release notes to include the workaround. Moving to 2.9.1.

     
  • Guang Cheng Li

    Guang Cheng Li - 2014-12-10

    Attached is the patch.

     
  • Guang Cheng Li

    Guang Cheng Li - 2014-12-10

    Fixed in 2.10.

    commit 64cea6d8b1888a8cace3b0dc74855581ab6cad57

    Waiting for 2.9.1 stream open to checkin.

     
  • Guang Cheng Li

    Guang Cheng Li - 2014-12-23
    • status: open --> pending
     
  • Guang Cheng Li

    Guang Cheng Li - 2014-12-23

    Fixed in 2.9.1.

    commit 85b75cfb6db10bbe7a93d9f4655a21feb92bfce7

     
  • junxiaw

    junxiaw - 2015-03-19
    • status: pending --> closed