Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1794682

Summary: [Azure][RHEL-7]Rebase WALinuxAgent to 2.2.46
Product: Red Hat Enterprise Linux 7 Reporter: Oliver Falk <ofalk>
Component: WALinuxAgentAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED ERRATA QA Contact: Yuxin Sun <yuxisun>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.6CC: ij2fdc402, kkinge, klaas, mkalinin, mtessun, peter.vreman, ribarry, vkuznets, yacao, yuxisun
Target Milestone: rcKeywords: Extras, Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: WALinuxAgent-2.2.46-1.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 07:44:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1714167, 1801317, 1822883    
Bug Blocks: 1122832, 1782469, 1797441    
Attachments:
Description Flags
Patch for WALinuxAgent spec. Version from 2.2.38 -> 2.2.46 none

Description Oliver Falk 2020-01-24 10:43:00 UTC
Description of problem:
The current version of WALinuxAgent as shipped with RHEL 7, has an issue mounting resource disks on Gen 2 VMs in Azure.

The Gen2 VM on Azure is mandatory for instance type M208s_v2, supporting HANA on RHEL 7.6.

Putting this on Severity urgent, since my customer is already running into that issue and we urgently need to get this fixed; Especially, since this could eventually affect other customers trying the same as well.
I know RHEL7 is deep in maintenance phase, but given this is the currently only support combination, I'm asking for an exception and fix in RHEL 7.6, 7.7 and 7.8.


Version-Release number of selected component (if applicable): 2.2.38


How reproducible: Always


Steps to Reproduce:
1. Add resource disk to Gen 2 Azure VM
2. Run WALinuxAgent

Actual results:
    Jan 23 19:50:12 xx-xx-xxxx python: 2020/01/23 19:50:12.392148 ERROR Daemon Failed to mount resource disk [Resource DiskError] unable to detect disk topology
    Jan 23 19:50:12 xx-xx-xxxx python: 2020/01/23 19:50:12.392253 ERROR Daemon Event: name=WALinuxAgent, op=ActivateResourceDisk, message=[ResourceDiskError] unable to detect disk topology, duration=0


Expected results:
Resource disk gets mounted.

Additional info:
Customer case will be linked. Patch for the WALinuxAgent RPM SPEC file will be attached as well. RPM itself can be considered untested at this point in time!

Comment 2 Oliver Falk 2020-01-24 10:44:47 UTC
Created attachment 1655053 [details]
Patch for WALinuxAgent spec. Version from 2.2.38 -> 2.2.46

Comment 12 Peter Vreman 2020-02-04 13:13:38 UTC
Using the auto_update=y does not help either. The resource disk mounting is done by the Agent installed from the RPM (currently 2.2.36). Only later in the process the latest agent (2.2.46) is downloaded and started.

Comment 23 Peter Vreman 2020-02-13 13:22:08 UTC
Why only to 2.2.45 and not 2.2.46?

Comment 24 Rick Barry 2020-02-13 13:51:28 UTC
(In reply to Peter Vreman from comment #23)
> Why only to 2.2.45 and not 2.2.46?

2.2.45 is the version that Microsoft requested us to update for RHEL, but we'll review with Microsoft.

Comment 25 Steve Bonds 2020-02-19 17:27:42 UTC
I have a similar request outstanding with Microsoft. I've asked them to pass along that 2.2.46 is fine and 2.2.45 was mentioned only because that was the current version at the time of the request.

Comment 26 Rick Barry 2020-02-24 18:30:04 UTC
Confirmed with Microsoft: We'll rebase walinuxagent to 2.2.46.

Comment 34 errata-xmlrpc 2020-09-30 07:44:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (WALinuxAgent bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4083