Cluster update failed on onNodeUpdated custom action - AWS ParallelCluster

Cluster update failed on onNodeUpdated custom action

When a HeadNode / CustomActions / OnNodeUpdated script fails, the update fails and the script is not run at rollback time. It's your responsibility to manually perform the cleanups needed after the rollback is completed. For example, if the OnNodeUpdated script changes the status of a field in a configuration file (for example, from true to false) and then fails, you need to manually restore that field value to the pre-update state (for example, false to true). For more information, see Custom bootstrap actions.