!VhbWwlUdjHkamKnfrK:nixos.org

Nix: Cloud Native

174 Members
44 Servers

Load older messages


SenderMessageTime
3 Aug 2023
@silvio:booq.org@silvio:booq.org left the room.16:20:11
5 Aug 2023
@fpletz:lodere.es@fpletz:lodere.es joined the room.11:59:53
@tpankrath:matrix.orgTobias 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
@tpankrath:matrix.orgTobias 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
@tpankrath:matrix.orgTobias 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
@tpankrath:matrix.orgTobias PankrathIf 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@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
@tpankrath:matrix.orgTobias 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@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
@tpankrath:matrix.orgTobias PankrathI'll try that again tomorrow. At least according to SO it should be possible.15:27:48
@j4:matrix.org@j4:matrix.orgPlease post the solution, I'm also curious about the solution :)15:28:23
13 Aug 2023
@10leej:matrix.org@10leej:matrix.org joined the room.01:24:43
15 Aug 2023
@cafkafk:nixos.devChristina Sørensen changed their profile picture.14:57:59
@10leej:matrix.org@10leej:matrix.org left the room.19:34:01
18 Aug 2023
@arichtman:matrix.orgarichtman joined the room.04:07:20
20 Aug 2023
@erremilia:matrix.org@erremilia:matrix.org joined the room.17:48:17
27 Aug 2023
@tpankrath:matrix.orgTobias 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:matrix.orgMoritz Hedtke removed their display name moritz.hedtke.16:13:35
@superherointj:matrix.org@superherointj:matrix.org left the room.20:50:34
3 Sep 2023
@itshaydendev:matrix.orgHayden joined the room.08:57:53
@itshaydendev:matrix.orgHayden changed their profile picture.13:11:01
4 Sep 2023
@roberthensing:matrix.orgRobert Hensing (roberth) changed their display name from Robert Hensing (roberth) to roberth.15:27:38
@roberthensing:matrix.orgRobert Hensing (roberth) changed their display name from roberth to Robert Hensing (roberth).15:28:24
7 Sep 2023
@ashebanow:matrix.orgAndrew Shebanow joined the room.20:40:24
9 Sep 2023
@msanft:matrix.org@msanft:matrix.org joined the room.12:13:22
10 Sep 2023
@edgarlee:matrix.orgEdgar Lee joined the room.07:09:55
@r_i_s:matrix.orgris_ 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
@r_i_s:matrix.orgris_😓17:53:38
21 Sep 2023
@spolakh:matrix.orgspolakh joined the room.03:25:46
@dedmunwalk:matrix.orgdedmunwalk joined the room.23:05:18

Show newer messages


Back to Room ListRoom Version: 6