I am experiencing an issue with the LUA scripting in 20.4. After the upgrade a script that was working before get a communication error and actually caused the nas probe to crash. It is the failover/failback script for the UMP/OC. I have narrowed it down to the printf statements. If I change them to print statements, it works. If I change them to sprint statements and a subsequent print, it works. If I use printf – there is a communication failure and the script won’t execute.
Here is the simple script I used to narrow it down to the printf.
wasp_retries = 10
robot_retries = 10
mode = nil
abort = 0
--printf("Retries are: robot - %d; wasp - %d\n",robot_retries,wasp_retries)
myLog = sprintf("Retries are: robot - %d; wasp - %d\n",robot_retries,wasp_retries)
I ran into upgrading the PG&E prod installation yesterday. Upgraded the primary hub and the OC servers. Then stopped the primary hub robot and let it failover to the HA secondary. Same script on the secondary nas worked fine. Upgraded the secondary hub using the installer. Then started up the primary hub so it would failback and ran into the issue. The script would start to run and the nas would crash.
Now both the primary hub and the HA hub are running nas v9.34 – the one that comes with 20.4.
Release : 20.4
Component : UIM NAS 9.34
- defect in nas 9.34