SCHANA或SCC Creator插件操作失败、并显示未找到getpid
适用场景
- 适用于SAP HANA的SnapCenter插件(Linux上的SCHANA) 4.8-4.9P2
- SnapCenter Creator插件(Linux上的SCC) 4.8-4.9P2
问题描述
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
,它会在几秒内失败): 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.
第一个步骤是获取进程的PID,该PID通常在下的同一个命名文件中返回
scc/plugins/wrapper/out
。