[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
** Description changed: [Impact] - Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. + + * The PATH_ID for SCSI disks on Azure/Hyper-V might not be unique +with the systemd/udev version in Ubuntu 18.04 LTS (Bionic Beaver). + + * This cause issues on applications that require unique PATH_IDs; +for example Veritas Dynamic Multi-Pathing (DMP). + + * The fix introduces changes to PATH_ID format/values for VMBUS, +which would break stable names/links, so it must be an opt-in. + + * The kernel command line option 'udev.new_vmbus_path_id' (boolean) +can be used to opt in to (different) unique PATH_IDs. + + * It's not used by default (i.e., no behavior change by default). [Test Plan] - 1. launch 18.04 on azure - 2. add extra disk to #1 vm - 3. check the path - xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH - E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 - E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 - xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH - E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 - E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 - xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH - E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 - E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 + 1. Launch an Ubuntu 18.04 VM on Azure + 2. Add extra disks to the VM + 3. Check the disks PATH_ID for (non-)unique values + 4. (Opt-in for the fix with kernel cmdline option; repeat 3.) + + * Before: + + $ lsscsi | grep /dev/sd + [0:0:0:0]diskMsft Virtual Disk 1.0 /dev/sdc + [0:0:0:1]diskMsft Virtual Disk 1.0 /dev/sdd + [1:0:0:0]diskMsft Virtual Disk 1.0 /dev/sda + [1:0:0:1]diskMsft Virtual Disk 1.0 /dev/sdb + + $ for sd in /dev/sd?; do \ + udevadm test-builtin path_id /block/${sd#/dev} \ + 2>/dev/null | grep ID_PATH=; \ + done | sort | uniq -c + 2 ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 + 2 ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 + + * After: + + Opt-in mechanism: + + $ cat
[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
** Description changed: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD - [Others] + [Other Info] - upstream patch - https://github.com/systemd/systemd/commit/cf3fabacaa141a1224a2ad239806a1fa28b51687 + * upstream patch: + https://github.com/systemd/systemd/commit/cf3fabacaa141a1224a2ad239806a1fa28b51687 + + * present in Focal and later: + + systemd.git$ git describe --contains cf3fabacaa141a1224a2ad239806a1fa28b51687 + v239~511 + + $ rmadison -a source systemd + systemd | 204-5ubuntu20 | trusty | source + systemd | 204-5ubuntu20.31 | trusty-security | source + systemd | 204-5ubuntu20.31 | trusty-updates | source + systemd | 229-4ubuntu4 | xenial | source + systemd | 229-4ubuntu21.27 | xenial-security | source + systemd | 229-4ubuntu21.31 | xenial-updates | source + systemd | 237-3ubuntu10 | bionic | source + systemd | 237-3ubuntu10.56 | bionic-security | source + systemd | 237-3ubuntu10.56 | bionic-updates | source + systemd | 245.4-4ubuntu3| focal | source + systemd | 245.4-4ubuntu3.15 | focal-security | source + systemd | 245.4-4ubuntu3.18 | focal-updates | source + systemd | 245.4-4ubuntu3.19 | focal-proposed | source + systemd | 249.11-0ubuntu3 | jammy | source + systemd | 249.11-0ubuntu3.6 | jammy-updates | source + systemd | 251.4-1ubuntu7| kinetic | source + systemd | 251.4-1ubuntu7| lunar | source -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1996958 Title: [Azure] 18.04 - /by-path/ has the same path Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: In Progress Bug description: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Other Info] * upstream patch: https://github.com/systemd/systemd/commit/cf3fabacaa141a1224a2ad239806a1fa28b51687 * present in Focal and later: systemd.git$ git describe --contains cf3fabacaa141a1224a2ad239806a1fa28b51687 v239~511 $ rmadison -a source systemd systemd | 204-5ubuntu20 | trusty | source systemd | 204-5ubuntu20.31 | trusty-security | source systemd | 204-5ubuntu20.31 | trusty-updates | source systemd | 229-4ubuntu4 | xenial | source systemd | 229-4ubuntu21.27 | xenial-security | source systemd | 229-4ubuntu21.31 | xenial-updates | source systemd | 237-3ubuntu10 | bionic | source systemd | 237-3ubuntu10.56 | bionic-security | source systemd | 237-3ubuntu10.56 | bionic-updates | source systemd | 245.4-4ubuntu3| focal | source systemd | 245.4-4ubuntu3.15 | focal-security | source systemd | 245.4-4ubuntu3.18 | focal-updates | source systemd | 245.4-4ubuntu3.19 | focal-proposed | source systemd | 249.11-0ubuntu3 | jammy | source systemd | 249.11-0ubuntu3.6 | jammy-updates | source systemd | 251.4-1ubuntu7| kinetic | source systemd | 251.4-1ubuntu7| lunar | source To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
** Description changed: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Others] upstream patch - https://github.com/systemd/systemd/pull/8509/commits/f3a1d5756e2fc4a8508caf3859a481cebf9d28a7 + https://github.com/systemd/systemd/commit/cf3fabacaa141a1224a2ad239806a1fa28b51687 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1996958 Title: [Azure] 18.04 - /by-path/ has the same path Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: In Progress Bug description: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Others] upstream patch https://github.com/systemd/systemd/commit/cf3fabacaa141a1224a2ad239806a1fa28b51687 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
I deleted the patch as if I put higher Lun number when I add disk ( in Azure UI ), it works fine. even with this patch, it is the same. ** Patch removed: "lp1996958_bionic.debdiff" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+attachment/5631295/+files/lp1996958_bionic.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1996958 Title: [Azure] 18.04 - /by-path/ has the same path Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: In Progress Bug description: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Others] upstream patch https://github.com/systemd/systemd/pull/8509/commits/f3a1d5756e2fc4a8508caf3859a481cebf9d28a7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
** Patch added: "lp1996958_bionic.debdiff" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+attachment/5631295/+files/lp1996958_bionic.debdiff ** Patch removed: "lp1996958_bionic.debdiff" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+attachment/5631294/+files/lp1996958_bionic.debdiff ** Description changed: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 - [Where problems might occur] TBD [Others] + + upstream patch + https://github.com/systemd/systemd/pull/8509/commits/f3a1d5756e2fc4a8508caf3859a481cebf9d28a7 ** Also affects: systemd (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu) Status: New => Fix Released ** Changed in: systemd (Ubuntu Bionic) Status: New => In Progress ** Changed in: systemd (Ubuntu Bionic) Assignee: (unassigned) => Seyeong Kim (seyeongkim) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1996958 Title: [Azure] 18.04 - /by-path/ has the same path Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: In Progress Bug description: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Others] upstream patch https://github.com/systemd/systemd/pull/8509/commits/f3a1d5756e2fc4a8508caf3859a481cebf9d28a7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
** Patch added: "lp1996958_bionic.debdiff" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+attachment/5631294/+files/lp1996958_bionic.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1996958 Title: [Azure] 18.04 - /by-path/ has the same path Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: In Progress Bug description: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Others] upstream patch https://github.com/systemd/systemd/pull/8509/commits/f3a1d5756e2fc4a8508caf3859a481cebf9d28a7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1996958] Re: [Azure] 18.04 - /by-path/ has the same path
** Description changed: + [Impact] + Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. + + [Test Plan] + 1. launch 18.04 on azure + 2. add extra disk to #1 vm + 3. check the path + + xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH + E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 + E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 + xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH + E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 + E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 + xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH + E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 + E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 + + + [Where problems might occur] TBD + + [Others] -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1996958 Title: [Azure] 18.04 - /by-path/ has the same path Status in systemd package in Ubuntu: New Bug description: [Impact] Azure 18.04 has issue with /dev/disk/by-path/ has the same path name when vm has multiple disks. [Test Plan] 1. launch 18.04 on azure 2. add extra disk to #1 vm 3. check the path xtrusia@test-canonical:~$ udevadm info --name=/dev/sda | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdb | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:1 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_1 xtrusia@test-canonical:~$ udevadm info --name=/dev/sdc | grep ID_PATH E: ID_PATH=acpi-VMBUS:00-scsi-0:0:0:0 E: ID_PATH_TAG=acpi-VMBUS_00-scsi-0_0_0_0 [Where problems might occur] TBD [Others] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1996958/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp