-
jdt
bahamat: I did some experimenting, and that problem with the DNS servers being tied to the global zone configuration (8.8.8.8/8.8.4.4) does seem to be exlusive to the debian-12 image. The ubuntu-22.04 HVM image seems to resolve against my internal resolvers just fine. The base-64-lts zone does as well.
-
jdt
In general, LX images aren't working well for me at the moment, so I can't really test that (lots of angry errors like: "netmgr/udp.c:1019:isc_nm_udpconnect(): fatal error: RUNTIME_CHECK(result == ISC_R_SUCCESS || result == ISC_R_NOTIMPLEMENTED) failed").
-
jdt
I did try the debian-12 HVM image on both KVM and Bhyve and they both exhibit the same problem behavior.
-
bahamat
jdt: I found the cause of the issue with the deb12 images. FWIW, it also affects deb11.
-
bahamat
I'll be publishing new images soon (tomorrow, or early next week) that will address it.
-
bahamat
What application are you running that's producing those errors? I'd like to dig more into that.
-
jdt
just dig and nslookup
-
jdt
here's a quick (multi-line) example:
-
jdt
root@varnish-test:~# dig cnn.com
-
jdt
netmgr/udp.c:1019:isc_nm_udpconnect(): fatal error: RUNTIME_CHECK(result == ISC_R_SUCCESS || result == ISC_R_NOTIMPLEMENTED) failed
-
jdt
Aborted (core dumped)
-
jdt
root@varnish-test:~# nslookup
-
jdt
> cnn.com
-
jdt
netmgr/udp.c:1019:isc_nm_udpconnect(): fatal error: RUNTIME_CHECK(result == ISC_R_SUCCESS || result == ISC_R_NOTIMPLEMENTED) failed
-
jdt
Aborted (core dumped)
-
bahamat
And that's the deb11/12 LX image?
-
jdt
LX Instance (Debian GNU/Linux 12 (bookworm) 20230721)
-
jdt
Fwiw, I couldn't get the latest void LX instance to provision at all. It tries to, spins for 5 minutes in "provisioning" and then fails.
-
bahamat
Yeah, I've had some issues with the void image which is why I haven't published a new one recently.
-
jdt
I figured that was probably a known issue.
-
jdt
Random question - I'm thinking about adding another CN to my cluster and was thinking mayby Linux CN. Probably obvious, but I wouldn't be able to run SmartOS zones on that, right?
-
jdt
*maybe
-
bahamat
definitely not
-
bahamat
Linux doesn't do illumos syscall translation in any form.
-
jdt
Makes sense. I assume it does bhyve and kvm, though?
-
bahamat
No.
-
jdt
Oh, okay.
-
bahamat
Currently it's LXC only.
-
jdt
Got it.
-
jdt
Thanks for the clarification.
-
bahamat
Adding KVM is possible, and not even really that hard. But it would take some additional work in imgapi/imgadm and vmapi/vmadm.
-
bahamat
It just remains to be done.
-
bahamat
But we're not porting bhyve to Linux.
-
jdt
Ah yeah, I see that now in the "Importing Supported Images".
-
bahamat
A prerequisite to even considering bhyve on linux is someone from the linux and/or freebsd communit(y|ies) does that work first.
-
bahamat
Until then, there's zero chance.
-
bahamat
Odds of that even happening, I think are roughly zero.
-
jdt
Still, LXC is useful in its own right.
-
bahamat
It is. It's super useful in some cases.
-
bahamat
Even getting KVM on Linux working with the rest of our stuff, whether we can use the same images as SmartOS remains to be seen.
-
bahamat
LXC provides KVM images, and it uses a model similar to SmartOS where they run qemu inside a container.
-
bahamat
So we could just get those, but those images probably wouldn't be usable on SmartOS, and the images we produce now probably wouldn't be usable by LXC.
-
jdt
At some point the cost-benefit ratio has to be considered, I suppose. Do you think there's a desire to move toward Linux with the platform as a whole?
-
jdt
Whether the strategy is "SmartOS for the future" or "Linux for the future" is probably the most important decision.
-
bahamat
Well, SmartOS zones alone can fill the vast majority of needs. But we're not going to dictate that people use SmartOS zones if they don't want to. People have preferences, existing tooling, existing workflows, etc. It can be extremely disruptive to change all of that. And I get it.
-
bahamat
LX also satisfies a huge set of use cases. There are some bugs and incompatibilities with it. Some of those are easier to address than others.
-
bahamat
Where there are issues with LX, bhyve is almost always sufficient. Certainly at least as sufficient as any other VM platform from any other provider.
-
bahamat
There's an extremely narrow set of cases where someone wants container level performance (i.e., a vm isn't good enough), but LX also won't work.
-
bahamat
In those cases, LXC solves that.
-
jdt
Personally, I like using SmartOS zones when I can, but I do find myself using Debian more frequently (mostly because the company I do the most work with prefers it and is currently using Ganeti to manage VMs - I'd love to move them to Triton at some point, though).
-
bahamat
The use cases that I know of where LXC is definitely more suited are running a firewall/router/packet filter in a continer (i.e., you actually want iptables)
-
bahamat
The other is like running Oracle DB (or something similar..maybe SAP?)
-
jdt
Interesting:
github.com/jack9603301/vyos-on-lxd - that's something to experiment with.
-
jdt
(For me. :) )
-
bahamat
Yeah, that's the kind of thing where LXC is the best place to run it.
-
bahamat
We're never going to provide netfilter compatibility, and for something like that you want higher performance than you can get out of a VM.