Cannot create /dev/disk/azure/resource softlinks in Gen2 VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
walinuxagent (Ubuntu) |
Fix Released
|
Undecided
|
Utkarsh Gupta | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
========
In Gen2 VM, the 66-azure-
[Test Plan]
===========
-> Untouched VM:
ssh -l ubuntu 20.119.40.77
disk tree:
/dev/disk/azure
└── scsi0
├── lun0 -> ../../../sda
├── lun0-part1 -> ../../../sda1
├── lun0-part14 -> ../../../sda14
├── lun0-part15 -> ../../../sda15
├── lun1 -> ../../../sdb
└── lun1-part1 -> ../../../sdb1
-> VM with fixed /etc/udev/
ssh -l ubuntu 20.119.40.87
disk tree:
/dev/disk/azure
├── resource -> ../../sdb
├── resource-part1 -> ../../sdb1
├── root -> ../../sda
├── root-part1 -> ../../sda1
├── root-part14 -> ../../sda14
└── root-part15 -> ../../sda15
[Where Problems Could Occur]
=======
Right now the symlinks are broken and don't work as-is. With this fix, they should start working again. The only part where this fix could break stuff is where the users have done workarounds to make it work. That shall be broken with this fix BUT either way, things would work. Just not the way they'd have workaround'd it as. :)
Changed in walinuxagent (Ubuntu): | |
status: | Confirmed → Fix Committed |
This bug was fixed in the package walinuxagent - 2.2.46-0ubuntu6
---------------
walinuxagent (2.2.46-0ubuntu6) kinetic; urgency=medium
* Add patch to fix handling of gen2 disks
w/ udev rules. (LP: #1971141)
-- Utkarsh Gupta <email address hidden> Mon, 02 May 2022 16:34:50 +0530