Home
TeamSite
TeamSite, LiveSite and OpenDeploy
File contention in deployments?
System
Hi All -
The following scenario is all on Solaris servers:
We run deployments to a server that has an OpenDeploy receiver installation that's running as non-root.
We have a recurring deployment that syncs a handful of .xml files into a web server's docroot directory and we have frequent single-file failures when deploying into this particular directory.
I believe that these file failures have to do with the web server accessing and 'using' the files at the same time that OpenDeploy is writing to them. We see errno=17 in the OD logs on the receiver and a cryptic 'could not get file data' message. The directory and file permissions are correct to let the OD receiver to write there.
The web server happens to run as the same username as the OpenDeploy process.
I looked the 'could not get file data' message up on the Support site and found one article that basically said to run OpenDeploy as root. That's really not an option here.
Anyone else run into this? Any suggestions on how to debug or resolve this issue? We've got a workflow-based 'attempt to redeploy' step that puts a bandaid on the issue, but we'd like to fix the root cause.
Thanks,
Wally Box
Nike, Inc.
Find more posts tagged with
Comments
There are no comments yet