Closed DreamingRaven closed 1 year ago
I don't think it has anything to do with Talos itself, it might be that you need to map /dev
from the host into your container, or look into using host mount namespace, but tl;dr is that container spec doesn't allow you to do what you're looking for, but not Talos
@smira, thanks for the expedient response, ah ok, I though since other devices were accessible that this was a bug. I will look into proper mapping on the container side and report back if I have any success.
Also are there any plans for software raid extensions in talos?
Also are there any plans for software raid extensions in talos?
No plans officially, but PR's are welcome if it just works as an extension without modifications on the Talos side
Cool thanks for letting me know, will close as not a bug. Cheers guys sorry for pestering a few times recently. (will still report back when I have a moment for the next person)
Bug Report
LVS do not show in privileged pod for rook data removal as per https://www.talos.dev/v1.5/kubernetes-guides/configuration/ceph-with-rook/#talos-linux-rook-metadata-removal. LVM devices also do not show in talosctl disks. However LVS do appear with the lvs command and are properly consumed by rook-ceph.
As an asside are there any system extensions planned for software raid? (https://www.talos.dev/v1.5/talos-guides/configuration/system-extensions/) If there are not is there any way I can contribute to this as this is the biggest problem I currently face with Talos? I note the extensions repository has no mention of raid in the issues https://github.com/siderolabs/extensions/issues?q=raid nor is it mentioned in https://github.com/siderolabs/extensions#storage
Description
As a sysadmin I would like to be able to view existing lvmraid volumes or /dev/mapper devices in talos and within pods with the correct permissions. This would allow me to better monitor and maintain software raid volumes without having to boot a seperate OS to monitor or maintain the volumes used to back rook-ceph storage.
I have a software lvm raid volume between 3 pv devices /dev/sda1 /dev/sdb1 /dev/sdc1 in the volume group data and in the lv data. This was created outside of talos and talos at some level picks it up because rook-ceph is capable of claiming this lvmraid device, and it appears in priveleged pods using lvs command. However lsblk or dd do not pick up this volume!
This lv is created using
pvcreate /dev/sda1 /dev/sdb1 /dev/sdc1 && vgcreate data /dev/sda1 /dev/sdb1 /dev/sdc1 && lvcreate 100%FREE data -n data --type raid5
outside of talosprivileged pod spec:
output:
Environment