-
Notifications
You must be signed in to change notification settings - Fork 166
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
WIP alpine: support alpine 3.5 #989
Conversation
Would pinning the OpenSSH package to a version prior to 7.5 be viable? Something like:
That should, in theory, install the latest available OpenSSH package that's less than version 7.5. Any https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Holding_a_specific_package_back |
@rvagg Unfortunately I don't have the bandwidth to assist you with this right now :( |
I've opened an internal support ticket. I'll update here if I receive any news. |
wew. Thanks for chiming in @chorrell, I saw you in that original ticket but noticed you're not at Joyent anymore so didn't want to bother you by pinging you here. Great to see you're still with us! |
We also have @geek on the build team 😄 |
Are there and security issues with sshd<7.5? Otherwise pinning seems like the simplest solution. |
@rvagg I'll plan to take a look tomorrow morning. |
I had to make a change in jenkins because it was forcing use of Unfortunately one of our Alpine 3.4 hosts is uncontactable via ssh. My guess is that it's the same problem as this OpenSSH upgrade. It's still connected to Jenkins and able to run jobs but we can't perform maintenance. This will likely mean that as soon as it becomes a problem we'll just have to yank Alpine 3.4 from the list completely. |
So, it seems that we have a very firm limit on CPU usage in these containers on Joyent. They get part way through build & test and then just freeze up. I can log in to the machine and check do stuff on it myself but the processes doing the work are sitting idle. @jbergstroem we never fully enabled the alpine34 Joyent containers in CI replacing the single DO Docker alpine34 host we have going. What was the blocker to getting that done, was it this same issue I'm seeing here? Is this even going to be possible or do we need to go full Docker ourselves for these? I just deleted my WIP standalone Docker/alpine Ansible script PR from this repo, maybe I need to open that back up and go that route again? |
70eda27
to
22297c1
Compare
@geek perhaps you could have a look at these, it's just weird, I've left them hanging and they are in the middle of a run, just at the start of test: https://ci.nodejs.org/job/node-test-commit-linux/13958/nodes=alpine34-x64/console & https://ci.nodejs.org/job/node-test-commit-linux/13958/nodes=alpine35-x64/console, it's as if they are just paused but they are still responsive and you can log in and mess around. You should have access to the build/test key to get into them I think. If it helps, the former is infrastructure container UUID 8b68e6f8-587f-4936-8b61-c45fa22c8cf1 and the latter is UUID 1b909000-11d6-69b2-f145-b97b6fdc4092. |
Just noticed this in the ansible/README.md:
I think that answers my question so perhaps this PR can sit idle or be closed. Joyent folks: if our work here is helpful at all to you we can proceed to tinker, otherwise we'll just move on to running our own Docker hosts (PR incoming for that). |
Docker approach active according to this: #992 |
How does 3.6 support look? That's been out for a while now |
Ah, nevermind, I see that's referenced in #992 |
yep, I'll consider this closed and power down the joyent containers, perhaps we can revisit this in the future |
This should work in theory but there's a problem with the containers on Joyent once you upgrade the packages. It pulls in a new sshd that doesn't like the
UsePrivilegeSeparation
option (deprecated) but sandbox setup appears to be why any additional ssh connections fail. i.e. once the ansible script updates the packages on the host, you can no longer establish new ssh connections. I've tried a bunch of things with sshd config to make it work with no success. Googling doesn't help much either although the one interesting result is this https://smartos.org/bugview/OS-4407 which looks connected, although old. TheResource temporarily unavailable [preauth]
message is the same, and theDEBUG3
output is very similar, butUsePrivilegeSeparation
deprecation seems to be the problem. My guess is that since openssh 7.5, privilege separation is mandatory so you can't turn it off but the underlying platform doesn't support what it's trying to do (smartos?).@misterdjules any thoughts on who we could ping for support on this?