Repository navigation
Closed
Labels
Milestone
Description
I am having trouble registering a houdini worker. I want to do work outside of a docker container on linux and it looks like my best bet is to use the houdini garden implementation.
I have started houdini like this:
houdini -depot /opt/concourse/worker/containers
and baggageclaim like this:
baggageclaim --volumes=/opt/concourse/worker/volumes --driver=naive --log-level=debug
Then forwarding the worker like this:
ssh -o CheckHostIP=no -p 2222 ${TSA_HOST} -i /etc/concourse/keys/worker_key -R0.0.0.0:7777:127.0.0.1:7777 -R0.0.0.0:7788:127.0.0.1:7788 forward-worker --garden 0.0.0.0:7777 --baggageclaim 0.0.0.0:7788 < /opt/concourse/worker.json
/opt/concourse/worker.json:
{
"platform": "linuxvm",
"tags": ["my-worker"],
"version": "1.2"
}
This successfully registers the worker, when I run fly workers I see:
name containers platform tags team state version
10.0.0.108:39011 0 linuxvm my-worker none running 1.2
I then want to test that it works with fly execute --tag my-worker -c test.yml.
test.yml:
---
platform: linuxvm
run:
path: echo
args:
- test
but I get the output:
executing build 73426 at ${TSA_HOST}/73426
initializing
running echo test
hijack: Backend error: Exit status: 500, message: {"Type":"","Message":"chdir /opt/concourse/worker/containers/000000hfgeo/tmp/build/e55deab7: no such file or directory","Handle":""}
errored
Is there something that I am missing for registering a houdini worker in my concourse setup?
Reacted by grsmith-projects and Nepoxx
Activity
grsmith-projects commentedon Oct 3, 2017
I actually had a very similar problem, I thought it was just me being new at this.. I can +1 that there is something weird going on.
vito commentedon Oct 3, 2017
Where'd you get your
houdinibinary from? I haven't published a release of it in a long time, so it's probably out of date. Your best bet will be to build if from source, withgo get github.com/vito/houdini/cmd/houdini.kurtmc commentedon Oct 4, 2017
@vito I was using the binary from the github releases. I have now switched to building from source and it's working initially but the worker will stall after a few seconds.
Here's the logs from the forward-worker command:
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
wagdav commentedon Feb 14, 2019
Would #3153 solve the issue? If yes, this could be closed.
kurtmc commentedon Feb 14, 2019
@wagdav I think it would.
vito commentedon Feb 15, 2019
@wagdav Ah good catch! I forgot there was an issue for this. This can indeed be closed. This'll be in 5.0.0.