I have a custom plugin that I use to test out modifications for Houdini + Redshift renders.
If I update e.g. custom_hrender-dl.py (located in our deadline repo) while the infrastructure and spot fleet has already started, how long does it take for the updated file to transfer over?
Or is there a way to force it to refresh?
I’ve waited more than 10 mins, and it doesn’t update on the cloud instance(s). When I look in the /var/lib/Thinkbox/Deadline10/workers/ip-ec2-local-ipv4/plugins/myjobid/ , it’s the not the updated script. Not sure where it’s sync’ing from since the file in the repo is updated.
This is an AWS Portal machine right? There’s an nginx cache living on the “Gateway” EC2 instance that’s likely hanging onto your old file and it refreshes every 60 minutes.
If I were you I’d swap out the updated code with what’s in /var/lib/Thinkbox/Deadline10/workers/ip-ec2-local-ipv4/plugins/myjobid/. Assuming this is a single Worker you’re using for testing.
If you’re comfortable you can clear out the nginx cache with these steps:
Yes, it was a single worker (AWS Portal machine) that I was using for testing.
I tried directly modifying the file that was in /var/lib/Thinkbox/Deadline10/workers/ip-ec2-local-ipv4/plugins/myjobid/ but the file would get replaced with the old version when it loaded the next task.
I’ll try the nginx cache purge on the gw instance the next time I can test. If that doesn’t work, I’ll open a ticket.