-
Notifications
You must be signed in to change notification settings - Fork 49
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
Multiple worker_gateway.authorized_keys passed in as an array results in none being used by the TSA process #18
Comments
Hi @edwardecook , Thanks for putting the time to describe the issue so well! concourse-bosh-release/jobs/web/spec Lines 1104 to 1114 in 0265654
Such an example could perhaps have multiple keys concatenated there as you mentioned. Wdyt? thx! |
Hi @cirocosta, I think an example would certainly be reasonable, the issue I would have is that it does feel like a bit of a regression with 5.0.0 as with 4.2.3 passing in an array worked. |
Oh, I see, indeed! (from 4.2.3 tag): concourse-bosh-release/jobs/tsa/spec Lines 70 to 73 in f3af9eb
|
cc @vito, how do you see these changes being documented? I remember talking about something related the other day, but I don't remember the output of that 😬 Should we document this separately from |
Yeah, sorry about the lack of release notes for this. I wonder if we should start giving this repo its own release cycle and its own release notes; I tend to focus on the core feature set for concourse-ci.org - it's also doesn't even mention all our work on the Helm chart. 🤔 edit: opened #21 based on this |
Now that I look at it, this definitely doesn't seem to be working how I intended - as @edwardecook pointed out, the spec description says an array should work, and that description was written fresh for 5.0. I'm almost certain I had this working at some point, but maybe I had to change it for some other property that required its array value to be passed one-by-one. Looking at the other properties, I can't find any though. The only hint I can find is that Probably a good time to backfill tests for all this. There's a start on this in #20. |
fixes #18 Signed-off-by: Alex Suraci <[email protected]>
This will be out in 5.0.1 soon (aiming for today). |
Bug Report
Hi, we (Redis for PCF) have a concourse deployment that includes both internal workers (which all have the same worker key) and external workers (which have a different worker key). We have recently started work on upgrading from 4.2.3 to 5.0.0 and found that the way in which we are templating in our web authorized keys:
does not work despite the suggestion in the spec that it should:
concourse-bosh-release/jobs/web/spec
Lines 1100 to 1101 in 0265654
It appears that the issue revolves around the fact that the
env_file_writer
func,concourse-bosh-release/jobs/web/templates/pre_start.erb
Lines 22 to 29 in 0265654
concourse-bosh-release/jobs/web/templates/bpm.yml.erb
Line 840 in 0265654
Note: as a workaround we have moved to passing the authorized keys line separated in a single string which works:
cc @jplebre
The text was updated successfully, but these errors were encountered: