Cannot create /dev/disk/azure/resource softlinks in Gen2 VM

Bug #1971141 reported by Utkarsh Gupta
10
This bug affects 1 person
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-storage.rules cannot create /dev/disk/azure/resource and /dev/disk/azure/root softlinks. :(

[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/rules.d/66-azure-storage.rules:
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. :)

Utkarsh Gupta (utkarsh)
Changed in walinuxagent (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in walinuxagent (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Utkarsh, or anyone else affected,

Accepted walinuxagent into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/walinuxagent/2.2.46-0ubuntu5.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in walinuxagent (Ubuntu Jammy):
status: New → Fix Committed
Changed in walinuxagent (Ubuntu Impish):
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Utkarsh, or anyone else affected,

Accepted walinuxagent into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/walinuxagent/2.2.46-0ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in walinuxagent (Ubuntu Focal):
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Utkarsh, or anyone else affected,

Accepted walinuxagent into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/walinuxagent/2.2.46-0ubuntu1.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in walinuxagent (Ubuntu Bionic):
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Utkarsh, or anyone else affected,

Accepted walinuxagent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/walinuxagent/2.2.45-0ubuntu1~18.04.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Chris Newcomer (cnewcomer) wrote :

This has been validated for B,F,I,J: https://pastebin.ubuntu.com/p/cmK87VJwVB/

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Thank you, Chris! \o/

tags: added: verification-done-bionic verification-done-focal verification-done-impish verification-done-jammy verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package walinuxagent - 2.2.45-0ubuntu1~18.04.3

---------------
walinuxagent (2.2.45-0ubuntu1~18.04.3) bionic; urgency=medium

  * Add patch to fix handling of gen2 disks
    w/ udev rules. (LP: #1971141)

 -- Utkarsh Gupta <email address hidden> Thu, 12 May 2022 10:55:42 +0530

Changed in walinuxagent (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for walinuxagent has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package walinuxagent - 2.2.46-0ubuntu3.2

---------------
walinuxagent (2.2.46-0ubuntu3.2) impish; urgency=medium

  * Add patch to fix handling of gen2 disks
    w/ udev rules. (LP: #1971141)

 -- Utkarsh Gupta <email address hidden> Thu, 12 May 2022 10:15:01 +0530

Changed in walinuxagent (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package walinuxagent - 2.2.46-0ubuntu5.1

---------------
walinuxagent (2.2.46-0ubuntu5.1) jammy; 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

Changed in walinuxagent (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package walinuxagent - 2.2.46-0ubuntu1.2

---------------
walinuxagent (2.2.46-0ubuntu1.2) focal; urgency=medium

  * Add patch to fix handling of gen2 disks
    w/ udev rules. (LP: #1971141)

 -- Utkarsh Gupta <email address hidden> Thu, 12 May 2022 10:40:33 +0530

Changed in walinuxagent (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.