File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333for p in ` pgrep -u flp` ; do
3434 c=" ` ps -ho %c $p ` "
3535 [ " $c " = " o2-alf" ] && continue
36- echo " Kill '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p " | $O2_INFOLOGGER_PATH /bin/o2-infologger-log -x -s Debug -o Facility=$O2_FACILITY
36+ echo " Kill '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p " | $O2_INFOLOGGER_PATH /bin/o2-infologger-log -x -s Debug -o Facility=$O2_FACILITY -o Partition= $O2_PARTITION
3737 n=$(( n+ 1 ))
3838 kill $p
3939done
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func (t DeployTransition) do(env *Environment) (err error) {
7373 go func (flp string ) {
7474 defer wg .Done ()
7575
76- cmdString := "ssh root@" + flp + " \" source /etc/profile.d/o2.sh && O2_PARTITION=" + env .id .String () + " O2_ROLE=" + flp + " /opt/o2/bin/o2-aliecs-shmcleaner\" "
76+ cmdString := "ssh root@" + flp + " \" source /etc/profile.d/o2.sh && O2_PARTITION=" + env .id .String () + " O2_FACILITY=core/shmcleaner O2_ROLE=" + flp + " /opt/o2/bin/o2-aliecs-shmcleaner\" "
7777 log .Traceln ("[cleanup binary] Executing: " + cmdString )
7878 cmd := exec .Command ("/bin/bash" , "-c" , cmdString )
7979 err = cmd .Run ()
You can’t perform that action at this time.
0 commit comments