-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subprocess.call interrupted by system call may cause deployment operation failed #7
Comments
Can you post a stack trace of the error? |
here is the stack trace: BTW: In my minos repo, i changed the check_call() to call() as u can see from the stacktrace |
According to my experience of using minos, the uncompress error mainly caused by insufficient disk space, you can pay more attention to your disk usage when you find uncompress failure. |
thanks. But i manually execute this command, it succeeded with no error. |
Got it, let's keep this issue open to track this problem, post more evidences if you find any |
In deployment/rpcinterface.py file, commands are executed by call subprocess.call() function. Somtimes the bootstrap operation failed on different hosts with no rule. From the supervisord.log, it shows the operation is commonly failed by execute the following command:
tar zxf xxx.tar.gz -C root_dir
I checked that the package(xxx.tar.gz) did exist and execute this command mannually on the target machine, it worked with no error. i am using python 2.6.
I do some google search, and found somebody do encounter the similary problem:
https://mail.python.org/pipermail/pythonmac-sig/2006-September/018095.html
i don't know why, but it seems some signal from supervisord cause the popen.wait to exit.i replace all subprocess.call with os.system, so far it works great.
The text was updated successfully, but these errors were encountered: