SCHANA or SCC Creator Plug-in operation fails with getpid not found
Applies to
- SnapCenter Plug-in for SAP HANA (SCHANA on Linux) 4.8-4.9P2
- SnapCenter Creator Plug-in (SCC on Linux) 4.8-4.9P2
Issue
ERROR [pool-#-thread-#] 189 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -Exception occured - Could not determine PID of wrapper process
DEBUG [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -createProcess() - Running wrapper: {[/bin/sh, -c, sudo /opt/NetApp/snapcenter/scc/bin/sccCommandExecutor 'plugins/wrapper/wrapper -wid 205 -pn MAXDB -to 3600']}
DEBUG [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.WrapperHelperImpl -createRequest() - Wrote request to {/opt/NetApp/snapcenter/scc/plugins/wrapper/in/205+MAXDB+1721812634206+getpid}
DEBUG [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.WrapperHelperImpl -executeRequest() - Result file: {/opt/NetApp/snapcenter/scc/plugins/wrapper/out/205+MAXDB+1721812634206+getpid}
DEBUG [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -Logger stdout/stderr running={true}/{true}
DEBUG [pool-#-thread-#] 90 com.netapp.plugincreator.agent.nextgen.plugin.legacyservice.ExecutorImpl -Logger stdout/stderr running={false}/{false}
agent.properties
, it fails in seconds): INFO [pool-#-thread-##] 163 com.netapp.plugincreator.workflow.task.Quiesce -Application quiesce result is empty from plugin MAXDB. skipping metaData update operation
ERROR [pool-#-thread-##] 189 com.netapp.plugincreator.workflow.util.TaskUtil -Operation failed. Reason: The watchdog killed the running operation. Verify that plugins/wrapper/wrapper binary has execute permission set. Increase the WRAPPER_TIMEOUT_IN_MSEC value in agent.properties if operations require more time to complete.
ERROR [pool-#-thread-##] 270 com.netapp.plugincreator.workflow.Task -Operation failed. Reason: The watchdog killed the running operation. Verify that plugins/wrapper/wrapper binary has execute permission set. Increase the WRAPPER_TIMEOUT_IN_MSEC value in agent.properties if operations require more time to complete.
ERROR [pool-#-thread-##] 118 com.netapp.plugincreator.workflow.task.Quiesce -SCC-00164: Application quiesce for the plug-in [MAXDB] failed with exit code [102] and with error :Operation failed. Reason: The watchdog killed the running operation. Verify that plugins/wrapper/wrapper binary has execute permission set. Increase the WRAPPER_TIMEOUT_IN_MSEC value in agent.properties if operations require more time to complete.
The first of these is to get the PID of the process, which is normally returned in a same named file under
scc/plugins/wrapper/out
.