Skip to content
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

Proxmox VMA can not be deployed #364

Open
skutter-de opened this issue Aug 24, 2024 · 3 comments
Open

Proxmox VMA can not be deployed #364

skutter-de opened this issue Aug 24, 2024 · 3 comments

Comments

@skutter-de
Copy link

I built an image using this command:

nix --extra-experimental-features nix-command --extra-experimental-features flakes run github:nix-community/nixos-generators -- --format proxmox

after scp'ing the image over and running qmrestore, I get the following error:

root@pve1:/var/lib/vz/dump# qmrestore nixos-24-11.vma.zst 111111
error before or during data restore, some or all disks were not completely restored. VM 111111 state is NOT cleaned up.
ERROR: couldn't determine archive info from '/var/lib/vz/dump/nixos-24-11.vma.zst'

I haven't found a way to get a more verbose error, this is all I have.

@Mic92
Copy link
Member

Mic92 commented Aug 25, 2024

Likely needs to be fixed in nixpkgs. nixos-generators is just a thin layer above it:

"${toString modulesPath}/virtualisation/proxmox-image.nix"

@max-pfeiffer
Copy link

Same problem here and very annoying. Did someone manage to get that problem fixed?

@Gaming4LifeDE Did you manage to fix it meanwhile?

@max-pfeiffer
Copy link

max-pfeiffer commented Sep 22, 2024

@Gaming4LifeDE Just found the solution in some older issue: the file name needs to start with vzdump-qemu-!
So filenaming convention is vzdump-qemu-whatever.vma.zst. Otherwise the import fails.

Damn I just lost half a day of my life on this frikin issue. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants