YunoHost-Apps / garage_ynh

Garage package for YunoHost
https://garagehq.deuxfleurs.fr/
GNU Affero General Public License v3.0
1 stars 2 forks source link

Garage install fails on Proxmox VMs #32

Open serversonic opened 1 month ago

serversonic commented 1 month ago

Describe the bug

Install fails on VMs hosted in Proxmox

Context

Steps to reproduce

Run yunohost app install garage on a Proxmox VM

Expected behavior

Application installs successfully

Logs

https://paste.yunohost.org/raw/afoyoxexel

Error in dmesg:

[1902310.707495] block nbd0: Attempted send on invalid socket
[1902310.715177] blk_update_request: I/O error, dev nbd0, sector 2 op 0x0:(READ) flags 0x1000 phys_seg 1 prio class 0
[1902310.717899] EXT4-fs (nbd0): unable to read superblock

It appears that Proxmox VMs don't have access to /dev/nbd0, but that mount_disk.sh loops over nbd devices starting at 0 and sees that nbd0 appears to be available.

When installing garage manually it allocates a block device correctly.

32bitx64bit commented 3 weeks ago

Yunohost application is also marked as broken, hopefully this gets resolved.