Recommended update for python-azure-agent

Announcement ID: SUSE-RU-2024:1180-1
Rating: important
References:
Affected Products:
  • openSUSE Leap 15.5
  • Public Cloud Module 15-SP2
  • Public Cloud Module 15-SP3
  • Public Cloud Module 15-SP4
  • Public Cloud Module 15-SP5
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP3
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Micro 5.2
  • SUSE Linux Enterprise Micro for Rancher 5.2
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • SUSE Manager Proxy 4.1
  • SUSE Manager Proxy 4.2
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Retail Branch Server 4.2
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.1
  • SUSE Manager Server 4.2
  • SUSE Manager Server 4.3

An update that contains one feature and has two fixes can now be installed.

Description:

This update for python-azure-agent contains the following fixes:

  • Recognise SLE-Micro as a SLE based distro.

  • Create sub-packages for the config (jsc#PED-7869)

  • Remove config manipulation from image building
  • Set up a config for SLE-Micro
  • Makes deafult upstream config available

  • Update to 2.9.1.1 (bsc#1217301, bsc#1217302)

  • Update unittest.mock
  • Download certificates when goal state source is fast track #2761
  • Increase the max number of extension events by 20% #2785
  • Remove version suffix from extension slice #2782
  • Support int type for eventPid and eventTid fields #2786
  • Improve log for swap counter not found #2789
  • Remove cgroup files during deprovisioning #2790
  • Log VM architecture in heartbeat telemetry for arm64 adoption monitoring #2818
  • Enforce memory usage for agent #2671
  • Use common download logic for agent downloads #2682
  • Implement Fedora distro #2642
  • Report message in handler heartbeat #2688
  • Remove dependency on pathlib from makepkg #2717
  • Do not fetch extensions goal state in log collector #2713
  • Update log collector unit file to remove memory limit #2757
  • Fix bug in get_dhcp_pid (CoreOS) #2784
  • Fetch full distro version for mariner #2773

From 2.9.04 + Resource Governance on extensions (CPU monitoring and enforcing & Memory monitoring) #2632 #2581 #2555 + Agent resource governance #2597 #2591 #2546 + monitor system-wide memory metrics (#2610) + Additional telemetry for goal state (#2675) + HostGAPlugin usage improvements #2662 #2673 #2655 #2651 + Add logging statements for mrseq migration during update (#2667) + Logcollector memory usage #2658 #2637 + Update Log Collector default in Comments and Readme (#2608) + Improve telemetry success and failure markers (#2605) #2604 #2599 + Fix formatting of exceptions on Python 3.10 (traceback.format's etype argument) (#2663) + Fix UNKNOWN(Zombie) Process in unexpected processes check (#2644) + SUSE: Fix valid values for DHCLIENT_HOSTNAME_OPTION (#2643) + Debian - string conversion for systemd service (#2574) + Do not set a CPU quota on the agent for RHEL and Centos (#2685) #2689 #2693 + support rhel distro (#2620) #2598 + Added support for devuan linux distribution (#2553)

No incremental updates between 2.8.011 and 2.9.0.4

  • Clean up conditions in spec file:
  • There is no maintained distro > 1315 (SLE12) AND < 1500 (SLE15). Only openSUSE 13.2 and 13.3 lived in that space, but they are clearly not the target of this spec file.
  • if 0%{?Suse_version} && 0{?suse_version} > 1315: no need to first validate suse_version being defined: whenever it is > 1315, must be defined.

  • Add patch to use unittest.mock first, falling back to mock if required.

  • Tighten Requires against python3-mock.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.5
    zypper in -t patch openSUSE-SLE-15.5-2024-1180=1
  • Public Cloud Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-SP2-2024-1180=1
  • Public Cloud Module 15-SP3
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-SP3-2024-1180=1
  • Public Cloud Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-SP4-2024-1180=1
  • Public Cloud Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-SP5-2024-1180=1
  • SUSE Linux Enterprise Micro 5.2
    zypper in -t patch SUSE-SUSE-MicroOS-5.2-2024-1180=1
  • SUSE Linux Enterprise Micro for Rancher 5.2
    zypper in -t patch SUSE-SUSE-MicroOS-5.2-2024-1180=1

Package List:

  • openSUSE Leap 15.5 (noarch)
    • python-azure-agent-test-2.9.1.1-150100.3.29.1
    • python-azure-agent-2.9.1.1-150100.3.29.1
  • Public Cloud Module 15-SP2 (noarch)
    • python-azure-agent-config-default-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-hpc-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-server-2.9.1.1-150100.3.29.1
    • python-azure-agent-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-micro-2.9.1.1-150100.3.29.1
  • Public Cloud Module 15-SP3 (noarch)
    • python-azure-agent-config-default-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-hpc-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-server-2.9.1.1-150100.3.29.1
    • python-azure-agent-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-micro-2.9.1.1-150100.3.29.1
  • Public Cloud Module 15-SP4 (noarch)
    • python-azure-agent-config-default-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-hpc-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-server-2.9.1.1-150100.3.29.1
    • python-azure-agent-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-micro-2.9.1.1-150100.3.29.1
  • Public Cloud Module 15-SP5 (noarch)
    • python-azure-agent-config-default-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-hpc-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-server-2.9.1.1-150100.3.29.1
    • python-azure-agent-2.9.1.1-150100.3.29.1
    • python-azure-agent-config-micro-2.9.1.1-150100.3.29.1
  • SUSE Linux Enterprise Micro 5.2 (noarch)
    • python-azure-agent-2.9.1.1-150100.3.29.1
  • SUSE Linux Enterprise Micro for Rancher 5.2 (noarch)
    • python-azure-agent-2.9.1.1-150100.3.29.1

References: