Hi all,I created a script, if I use the script on the server it works, if I run it from Delphix I get these logs
LOG : 092019 11:18:03: CPU: ERAS: Received async-signal 17
LOG : 092019 11:18:03: CPU: ERAS: Service Element has exited... 0 13
Can you help me?Thanks,Eugenio
Hi Eugenio,Sorry for such a slow response. Are you still facing this issue? If so, it's not clear what the issue is. I would try to add some "echo" statements to the script and execute it then log stderr and stdout. You can do this in Python with:
response = libs.run_bash(staged_source.connection, script)
logger.debug('Stdout: %s', response.stdout)
logger.debug('Stderr: %s', response.stderr)
logger.debug('Exit code: %s', response.exit_code)
These logs can then be retrieved easily using "dvp download-logs".
Once the line that is failing has been identified, we can try to find some logs that will tell us what's going on.