uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
434 stars 181 forks source link

mgr-storage-server should support LVM scenarios #9225

Open stdevel opened 2 months ago

stdevel commented 2 months ago

Short description

When installing Uyuni as container, mgr-storage-server is used to prepare storage devices for container volumes. It currently doesn't support LVM scenarios and tries to further partition LVM devices if specified. As a result, the utility stops with an error:

# mgr-storage-server /dev/vg_uyuni/lv_packages /dev/vg_uyuni/lv_database
--> Checking disk for content signature
--> Creating partition on disk /dev/dm-0
--> Creating xfs filesystem
Error: xfs filesystem setup failed: Error accessing specified device /dev/dm-01: No such file or directory

Details

There is already a KB article for SUMA 5.0 that describes the necessary steps - these could be implemented in mgr-storage-server.

mbussolotto commented 1 month ago

Hi @stdevel , we have it in out backlog and it should be tackle soon.