Comment 4 for bug 1735839

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

subscribed ~field-critical

Considering https://bugs.launchpad.net/juju/+bug/1691694 and some other design issues which make Juju storage not applicable for day 2 operations when used with MAAS for now this lp has been re-qualified into a bug by FE as, besides Juju storage, there is no way to logically tie dnames in MAAS with wwn/eui identifiers (stored as idpath parameter) and use them in charm config values to identify storage devices without partition tables/superblocks in a persistent way.

There are two types of NVME devices below SSDPE21K375GA and SSDPE2KX040T7 while they all appear as /dev/nvme<something>. dnames pointing to persistent symlinks are needed for them to be logically meaningful.

ls -al /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 1040 Jul 23 09:55 .
drwxr-xr-x 8 root root 160 Jul 23 09:55 ..
lrwxrwxrwx 1 root root 9 Jul 23 10:02 ata-XF1230-1A0960_7CW009J0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009J0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009J0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009J0-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009J0-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 9 Jul 23 10:02 ata-XF1230-1A0960_7CW009NY -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009NY-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009NY-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009NY-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 23 10:02 ata-XF1230-1A0960_7CW009NY-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-name-fnos-nvme08:0 -> ../../md0
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-name-fnos-nvme08:1 -> ../../md1
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-name-fnos-nvme08:2 -> ../../md2
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-name-fnos-nvme08:3 -> ../../md3
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-uuid-09b65367:fd20d811:43cd7b64:9e775cbb -> ../../md0
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-uuid-7242c36e:8e717cf2:528c60ba:2cfd1711 -> ../../md2
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-uuid-7839e948:130f8c65:0ba12c3c:6d8931d3 -> ../../md1
lrwxrwxrwx 1 root root 9 Jul 23 10:02 md-uuid-bb9db413:cd06ea5b:8d689c5a:d2fa83cd -> ../../md3
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE21K375GA_PHKE730200GL375AGN -> ../../nvme8n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802000Y84P0IGN -> ../../nvme4n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802001054P0IGN -> ../../nvme1n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101JV4P0IGN -> ../../nvme9n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101JX4P0IGN -> ../../nvme5n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101KJ4P0IGN -> ../../nvme0n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101RP4P0IGN -> ../../nvme7n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101RT4P0IGN -> ../../nvme3n1
lrwxrwxrwx 1 root root 14 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101RW4P0IGN -> ../../nvme10n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101RY4P0IGN -> ../../nvme2n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-INTEL_SSDPE2KX040T7_PHLF802101S84P0IGN -> ../../nvme6n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e400be0d4f51 -> ../../nvme3n1
lrwxrwxrwx 1 root root 14 Jul 23 10:02 nvme-eui.01000000010000005cd2e403be0d4f51 -> ../../nvme10n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e405be0d4f51 -> ../../nvme2n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e40bbe0d4f51 -> ../../nvme6n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e428a30d4f51 -> ../../nvme1n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e49ebd0d4f51 -> ../../nvme9n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e4a0bd0d4f51 -> ../../nvme5n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e4b0bd0d4f51 -> ../../nvme0n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e4f0a20d4f51 -> ../../nvme4n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-eui.01000000010000005cd2e4fcbd0d4f51 -> ../../nvme7n1
lrwxrwxrwx 1 root root 13 Jul 23 10:02 nvme-nvme.8086-50484b45373330323030474c33373541474e-494e54454c20535344504532314b3337354741-00000001 -> ../../nvme8n1
lrwxrwxrwx 1 root root 9 Jul 23 10:02 wwn-0x5000c500813bed13 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bed13-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bed13-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bed13-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bed13-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 9 Jul 23 10:02 wwn-0x5000c500813bedb6 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bedb6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bedb6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bedb6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 23 10:02 wwn-0x5000c500813bedb6-part4 -> ../../sda4