-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
vmspawn: implement machinectl shell for vm class machines and send termination signal via D-Bus-over-SSH #32701
Conversation
Can I ask why instead of stabilizing the release and addressing known regressions like #30421 introduced by sloppy merges new features with no tests are being pushed in a hurry? |
Yeah, since we've already taken over the PR, there's genuinely no need to rush it in. I'll move the milestone to v257. |
See yesterday's chat |
I've read that. But there's no clear indication that we need to get this in for v256, and when you asked "anyone disagrees" I wasn't there... |
This breaks registering vmspawn vms when using newer vmspawn with older machined, which is pretty much every vmspawn invocation right now. The varlink method will not be available and registering will fail. |
6f9d482
to
ffbb046
Compare
Rebased on top of #32709 |
Can anyone copy-paste that here for mere mortals to see? |
Either way I guess the question isn't going to be answered. It answers my question too in a different way. |
@bluca can you please stop deleting comments? That's not how open source projects are supposed to operate. I've found the feedback form on the STF site and I'll contact them. I was going to do that anyway in the context of their bug resilience program. Thanks to the recent improvements (which I have no problem with) and miscommunications (which are problematic) I pulled out my downstream fuzzing infrastructure (even though it isn't broken yet) and they'd probably be interested to see the spreadsheets showing how much they should invest in the infrastructure alone to even cover the basics. Just to be clear I don't think it's STF fault. They were probably be misled into thinking that there is some actual upstream infrastructure where use-after-frees appear out of thin air. |
3e5a8ed
to
06a5706
Compare
Rebased and picked changes from #32482 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're supposed to merge this after -rc1, the commits must include a solid explanation what is being done and why and what the implications are.
When available, use varlink to register the VM, so that we can talk over SSH to the guest. Enables 'machinectl shell' for vmspawn guests.
Allow to gracefully shutdown by initiating the operation from the guest
06a5706
to
521e928
Compare
Code LGTM. I think it's fine to merge this now. The first commit is a fix, and the other two are relatively simple plumbing changes that will make |
Ubunutautopkgtests are busted. |
There are still no tests though as far as I can see.
|
Looking at ssh: Could not resolve hostname vsock/2747562528: Name or service not known
Failed to get init process of VM: Transport endpoint is not connected I'm not sure stuff should get stuck like that for several hours but OK. |
Cannot push to org, so continuing here from #32208