Comment 10 for bug 1874243

Revision history for this message
Ɓukasz Zemczak (sil2100) wrote :

So it's as Brian commented, but it seems that this part of the code is the same since May 2019, and we have confirmed that encrypted LVM worked fine with 19.10. What I do find weird is that even with an empty dm_name things should still work in curtin, no? Per:

        dm_name = vol.get('dm_name')
        if not dm_name:
            dm_name = vol.get('id')
        volume_path = os.path.join("/dev", "mapper", dm_name)

from curtin/commands/block_meta.py. The id attribute seems to be set correctly, so I wouldn't expect it to suddenly be None? Though the logs seem to indicate that.