You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In docs it is stated, that any correctly labeled partition on block device can be used to provide configuration to Talos - https://www.talos.dev/v1.8/reference/kernel/#metal-iso. But is it not. Only labeled filesystem that occupies whole block device can be used.
Description
i digged the code and placing config file in partition doesn’t work. at least in version 1.7.7, that i checked. in readConfigFromISO definition probe.GetDevWithFileSystemLabel(constants.MetalConfigISOLabel) return correct device (partition) name (for example, /dev/loop0p7), but later in filesystem.Probe(dev.Device().Name()) .Name() return block device name without partition in it (/dev/loop0) and .Probe() can’t parse superblock because of it.
List of partitions:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS NAME FSTYPE FSVER LABEL UUID
loop0 7:0 0 10G 0 loop loop0
├─loop0p1 259:0 0 100M 0 part loop0p1 vfat FAT32 EFI A9C5-03C6
├─loop0p2 259:1 0 1M 0 part loop0p2
├─loop0p3 259:2 0 1000M 0 part loop0p3 xfs BOOT 8310ba69-b39b-482b-80b6-79ebbdf1ffc9
├─loop0p4 259:3 0 1M 0 part loop0p4
└─loop0p5 259:4 0 9M 0 part loop0p5 ext4 1.0 metal-iso 2a1e612c-a81d-49e2-80e9-d6c27679874d
Bug Report
In docs it is stated, that any correctly labeled partition on block device can be used to provide configuration to Talos - https://www.talos.dev/v1.8/reference/kernel/#metal-iso. But is it not. Only labeled filesystem that occupies whole block device can be used.
Description
i digged the code and placing config file in partition doesn’t work. at least in version 1.7.7, that i checked. in readConfigFromISO definition probe.GetDevWithFileSystemLabel(constants.MetalConfigISOLabel) return correct device (partition) name (for example, /dev/loop0p7), but later in filesystem.Probe(dev.Device().Name()) .Name() return block device name without partition in it (/dev/loop0) and .Probe() can’t parse superblock because of it.
List of partitions:
Logs
metal-iso-logs.txt
Environment
This patch should fix issue:
The text was updated successfully, but these errors were encountered: