Closed thorpj closed 3 years ago
Your container requires a rootfs volume. And I don't see any in your mount points screenshot forms.
Interesting, here's what I found. The rootfs option was not showing up for me, which is why I was creating a mount point, figuring that the wording was just awkward, and it wasn't actually referring to a mount point.
If I remove the Roofts, then click "Add Volume", it adds a Mount Point, instead of a rootfs. This means once you remove the rootfs, you need to delete the Compute Profile in order to get a rootfs again. The same thing happens if you create a host withoout applying a Compute Profile, and then delete the rootfs and click "Add Volume".
From a cursory glance, the culrpit appears to be this
Perhaps two buttons giving the option of adding a mount point or a rootfs (and disabling the add rootfs button if one is already added).
I can probably make a PR if that's the case.
Yes if you remove rootfs (volume with id=rootfs) you can't add it later. It is because the Add volume
button adds only mount points i=mp[n] with n integer. You should not remove rootfs because it is required.
Yes if you remove rootfs (volume with id=rootfs) you can't add it later. It is because the
Add volume
button adds only mount points i=mp[n] with n integer. You should not remove rootfs because it is required.
I see. Would you like me to submit a PR preventing the rootfs device from being removed, or adding a note in the documentation?
Your contributions are welcome @thorpj ! Preventing rootfs from being remove should be the best indeed.
Hi, really loving this plugin, thank you. I'll write a PR if I can, but at this stage I've spent some time trying to understand how this works to fix this bug, and I'm not having much luck. Any advice would be greatly appreciated.
Describe the bug Unable to create a container.
To Reproduce Steps to reproduce the behavior:
Expected behavior A container is created in Proxmox, and the Foreman page does not show an error
Desktop (please complete the following information): Server info:
Proxmox: 6.2-6 Foreman: 2.1.3 foreman_fog_proxmox: 0.12.4 Ubuntu Server 18.04.5
Additional context Add any other context about the problem here.
Storage configuration is based on examples from here
Here's the config of the container Foreman tried to create:
I have tried variations of the path and device settings in foreman:
In addition to the usual Google searches, i have tried searching:
Foreman can communicate with Proxmox, screenshot from the VIrtual Machines page: