3 Aug 2023 |
| @silvio:booq.org left the room. | 16:20:11 |
5 Aug 2023 |
| @fpletz:lodere.es joined the room. | 11:59:53 |
Tobias Pankrath | I just tried to build an azure images on an azure vm, but a 'x86_64-linux' with features {kvm} is required to build '/nix/store/8pb7ph0p7j1mhwsiz9mfmp92ps6nvx24-azure-image.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test, uid-range} . Is there a way to circumvent this? | 12:10:43 |
Tobias Pankrath | azureuser@vet-tst-vm:~/$ sudo /usr/sbin/kvm-ok INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used that explains is. | 12:20:52 |
Tobias Pankrath | * azureuser@vet-tst-vm:~/$ sudo /usr/sbin/kvm-ok INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used that explains it. | 12:20:59 |
Tobias Pankrath | If anyone knows how to build images on azure, please let me know. I only found some info about instance types that support kvm (DC.*), but they don't seem to be available anymore. | 12:35:33 |
@j4:matrix.org | Well, I'm not familiar with azure VMs supporting kvm virtualization. If your does however, you also need to configure your nix machine to accept build by adding this to settings :
nix.settings.system-features = ["kvm"];
With a quick googling (I don't have access to an azure account), seems like Ev3 / Dv3 support it. You need to look for "nested virtualization" (see https://stackoverflow.com/questions/49099428/is-it-possible-to-run-kvm-on-azure https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization https://learn.microsoft.com/en-us/azure/virtual-machines/ev3-esv3-series https://learn.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series)
| 12:45:42 |
Tobias Pankrath | In reply to @j4:matrix.org
Well, I'm not familiar with azure VMs supporting kvm virtualization. If your does however, you also need to configure your nix machine to accept build by adding this to settings :
nix.settings.system-features = ["kvm"];
With a quick googling (I don't have access to an azure account), seems like Ev3 / Dv3 support it. You need to look for "nested virtualization" (see https://stackoverflow.com/questions/49099428/is-it-possible-to-run-kvm-on-azure https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization https://learn.microsoft.com/en-us/azure/virtual-machines/ev3-esv3-series https://learn.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series)
Thanks. The output from kvm-ok was from a Dv3, so it seems kvm does not work even on machines that support nested virt. | 15:23:02 |
@j4:matrix.org | Mmmmm, maybe it's because it's an azure thing and they only support hyperv ? :/ Not my area of expertise unfortunately Tobias Pankrath | 15:24:18 |
Tobias Pankrath | I'll try that again tomorrow. At least according to SO it should be possible. | 15:27:48 |
@j4:matrix.org | Please post the solution, I'm also curious about the solution :) | 15:28:23 |
13 Aug 2023 |
| @10leej:matrix.org joined the room. | 01:24:43 |
15 Aug 2023 |
| Christina Sørensen changed their profile picture. | 14:57:59 |
| @10leej:matrix.org left the room. | 19:34:01 |
18 Aug 2023 |
| arichtman joined the room. | 04:07:20 |
20 Aug 2023 |
| @erremilia:matrix.org joined the room. | 17:48:17 |
27 Aug 2023 |
Tobias Pankrath | In reply to @j4:matrix.org Please post the solution, I'm also curious about the solution :) It works on the correct machine type. | 08:54:40 |
31 Aug 2023 |
| Moritz Hedtke removed their display name moritz.hedtke. | 16:13:35 |
| @superherointj:matrix.org left the room. | 20:50:34 |
3 Sep 2023 |
| Hayden joined the room. | 08:57:53 |
| Hayden changed their profile picture. | 13:11:01 |
4 Sep 2023 |
| Robert Hensing (roberth) changed their display name from Robert Hensing (roberth) to roberth. | 15:27:38 |
| Robert Hensing (roberth) changed their display name from roberth to Robert Hensing (roberth). | 15:28:24 |
7 Sep 2023 |
| Andrew Shebanow joined the room. | 20:40:24 |
9 Sep 2023 |
| @msanft:matrix.org joined the room. | 12:13:22 |
10 Sep 2023 |
| Edgar Lee joined the room. | 07:09:55 |
ris_ | today's discovery - you need to add cni-podman0 to networking.firewall.trustedInterfaces if you want to be able to use host.containers.internal from a podman container | 17:53:26 |
ris_ | 😓 | 17:53:38 |
21 Sep 2023 |
| spolakh joined the room. | 03:25:46 |
| dedmunwalk joined the room. | 23:05:18 |