+ Remove agent-no-auto-update.patch handeled by config file specialization
sub-packages
+ Remove paa_force_py3_sle15.patch handled by RPM macro
+ Remove agent-micro-is-sles.patch included upstream
+ Forward port paa_12_sp5_rdma_no_ext_driver.patch
+ Forward port remove-mock.patch
+ Fix install_requires list syntax
+ Update spec file
~ Remove conditions for distros no longer maintained
~ Switch to new Python version and wheel build for newer distros
From 2.12.02
+ Enable GA versioning #3082 #3184 #3189
+ Cgroups api refactor for v2 #3096 #3135 #3188 #3196
+ Fix JIT for FIPS 140-3 #3190
+ reset network service unit file if python version changes #3058
+ Recognize SLE-Micro as a SLE based distribution #3048
+ Add distutils/version.py to azurelinuxagent #3063
+ Use legacycrypt instead of crypt on Python >= 3.13 #3070
+ Fix osutil/default route_add to pass string array. #3072
+ Fix argument to GoalState.init #3073
+ Add lock around access to fast_track.json #3076
+ Add DistroVersion class to compare distro versions #3078
+ LogCollector should skip and log warning for files that don't exist #3098
+ check for unexpected process in agent cgroups before cgroups enabled #3103
+ [Redo with correct source/target]: Remove check for "ibXX" interface
format and rework mac-address regex to expand support #3150
+ Fix Ubuntu version codename for 24.04 #3159
+ Update test certificate data #3166
+ move setupslice after cgroupsv2 check, remove unit file for
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=124
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
Index: WALinuxAgent-2.12.0.4/azurelinuxagent/pa/rdma/suse.py
|
|
===================================================================
|
|
--- WALinuxAgent-2.12.0.4.orig/azurelinuxagent/pa/rdma/suse.py
|
|
+++ WALinuxAgent-2.12.0.4/azurelinuxagent/pa/rdma/suse.py
|
|
@@ -31,8 +31,17 @@ class SUSERDMAHandler(RDMAHandler):
|
|
def install_driver(self): # pylint: disable=R1710
|
|
"""Install the appropriate driver package for the RDMA firmware"""
|
|
|
|
+ suport_pci_passthrough = False
|
|
+ if DistroVersion(DISTRO_VERSION) == DistroVersion('12'):
|
|
+ release_data = open('/etc/os-release').read()
|
|
+ if 'SP5' in release_data:
|
|
+ suport_pci_passthrough = True
|
|
+
|
|
if DistroVersion(DISTRO_VERSION) >= DistroVersion('15'):
|
|
- msg = 'SLE 15 and later only supports PCI pass through, no '
|
|
+ suport_pci_passthrough = True
|
|
+
|
|
+ if suport_pci_passthrough:
|
|
+ msg = 'SLE 12 SP5 and later only supports PCI pass through, no '
|
|
msg += 'special driver needed for IB interface'
|
|
logger.info(msg)
|
|
return True
|