proxmox-nixos
proxmox-nixos copied to clipboard
volume_size_info error when setting up vms
proxmoxer.core.ResourceException: 500 Internal Server Error: volume_size_info on 'local:iso/fg6h0pjs26025yxhr0zv9rxw2dwyabga-latest-nixos-minimal-x86_64-linux.iso' failed
^ error
[spiderunderurbed@daspidercave:~/nixnuc/nixmoxer]$ du -h latest-nixos-minimal-x86_64-linux.iso 1.2G latest-nixos-minimal-x86_64-linux.iso
^ size of my ISO
[spiderunderurbed@intelnuc:~]$ df -h /
Filesystem Size Used Avail Use% Mounted on
tmpfs 7.8G 1.5G 6.3G 20% /
Here is my configuration, my issue should be repoducable with my configuration with nixmoxer, also i shared all this storage information because I assumed it was relevent, other than that I dont know how to debug this issue.
{ config, lib, pkgs, ... }:
{
networking.hostName = "myvm";
virtualisation.proxmox = {
node = "intelnuc";
autoInstall = lib.mkForce true;
# iso = pkgs.runCommand "nixos-minimal.iso" {
# src = ../latest-nixos-minimal-x86_64-linux.iso;
# } ''
# mkdir -p $out
# mkdir $out/iso
# cp $src $out/iso/
# '';
vmid = 100;
memory = 12288;
cores = 3;
sockets = 1;
boot.order = [ "disk" ];
scsi = [
{ file = "/home/spiderunderurbed/hdds/vms/vm-1/result/nixos.qcow2"; size = "20G"; }
];
};
services.openssh.enable = true;
time.timeZone = "UTC";
# Fix conflicting image.baseName
# image.baseName = lib.mkForce "nixos-custom";
}