+ 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
+ During separation of the config file into subpackages it was forgotten
that on update of the main package the previously provided config file
would be removed. SInce we do not know which flavor of our images the
package is being upgraded on, preserve the previously existing config
file. This will orphan the file if non of the -config-* packages gets
installed.
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=103
+ 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 remove-mock.patch
+ 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
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=97
- 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.
- Tighten Requires against python3-mock.
OBS-URL: https://build.opensuse.org/request/show/1063998
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=95
+ Enabled support for Fast Track (faster processing of extensions)
+ Add telemetry for VM Size
+ Add telemetry for environment variables passed to extensions
+ Enforce CPU quota on the Agent on Red Hat and CentOS 7.4+
+ Restore all firewall rules needed for communication with the WireServer
+ Fix false positives reporting processes in the Agent's cgroup
+ Fix false errors when collecting debug logs
+ Don't report incorrect CPU usage data
+ Fetching a goal state with empty certificates property
+ Silence goal state fetch errors after 3 logs
+ Change fast track timestamp default from None to datetime.min
+ Retry HGAP's extensionsArtifact requests on BAD_REQUEST status
+ Support for Rocky Linux
+ RHEL 8
+ RHEL 9
+ Preliminary work to enforce CPU quota on extensions
+ Preliminary work for management of agent self-updates [GA Versioning]
+ Add CentOS 7.9 to end-to-end-tests
+ Add Mariner to end-to-end-tests
- 2.8.0.11 followed 2.7.3.0, no intermediate releases
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=87
+ Remove proper_dhcp_config_set.patch included upstream
+ Remove sle_hpc-is-sles.patch included upstream
+ Forward port reset-dhcp-deprovision.patch
+ Retry HGAP's extensionsArtifact requests on BAD_REQUEST status #2622
+ Use 'ip' instead of 'ifdown/ifup' to restart network interface on
RHEL >= 8.6 #2612#2624
- From 2.7.1.0
+ hotfix for OOM errors on the log collector
- From 2.7.0.6
+ Increase time of autoupdates after updates are available #2403
+ Send telemetry when upgrade available #2421
+ Enable collection of debugging information #2436, #2453, #2510
+ Add support for Python 2.6 to the debug info collection code #2452
+ Enable CPU/memory data collection on RedHat and CentOS #2450
+ Exclude end-to-end tests from Agent setup #2396, #2402
+ Fix log message in cgroups management #2427
+ Fix parsing of malformed error.json files #2433
+ Allow DNS queries over TCP #2429
+ Dont exit extension handler process if unable to fetch
first goal state #2440
+ Improvements for Mariner #2407, #2414
+ Add uos support #2420
+ Add support for VMware PhotonOS #2431
- From 2.6.0.2
+ added cloudlinux support (#2344)
+ Enable extensions cpu monitoring (#2357, #2384, #2391)
+ Support Flatcar Container Linux (#2365)
+ Retrieve VmSettings from HostGAPlugin
(#2378, #2382, #2386, #2394, #2397, #2404)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=85
+ Remove paa_use_hostnamectl.patch included upstream
+ Forwrad port proper_dhcp_config_set.patch
+ Do not use --unit with systemd-cgls (#1910)
+ Report processes that do not belong to the agent's cgroup (#1908)
+ Use controller mount point for extension cgroup path (#1899)
+ Improvements in setup of cgroups (#1896)
+ Remove ExtensionsMetricsData and per-process Memory data (#1884)
+ Fix return value of start_extension_command (#1927)
+ Remove import * (#1900)
+ Fix flaky ExtensionCleanupTest class (#1898)
+ Fix codecov badge (#1883)
+ Changed codecov to run on py3.8 (#1875)
+ Update documentation on /dev/random (#1909)
+ Mount options are in mount(8) (#1893)
+ Remove ssh host key thumbprint in report ready (#1913)
+ Emit AutoUpdate value at service start only (#1907)
+ Add logging for version mismatch (#1895)
+ Send telemetry event if libdir changes (#1897)
+ Add log collector utility (#1847)
+ Move AutoUpdate reporting to HeartBeat event (#1919)
+ Removing infinite download of extension manifest without a new GS (#1874)
+ Fix wrongful dir deletion (#1873)
+ Fix the cleanup-outdated-handlers to only delete handlers that are not
present in the GS (#1889)
+ Expose periods of environment thread in waagent.conf (#1891)
+ Added user @kevinclark19a as Contributor. (#1906)
- From 2.2.48.1
+ Refactoring GoalState class out of Protocol, making Protocol thread-safe,
removing stale dependencies of Protocol and removing the dependency on
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=67
- Update to version 2.2.45 (jsc#ECO-80)
+ Remove paa_cve_2019-0804.patch, included upstream
+ Add support for Gen2 VM resource disks
+ Use alternate systemd detection
+ Fix /proc/net/route requirement that causes errors on FreeBSD
+ Add cloud-init auto-detect to prevent multiple provisioning mechanisms
from relying on configuration for coordination
+ Disable cgroups when daemon is setup incorrectly
+ Remove upgrade extension loop for the same goal state
+ Add container id for extension telemetry events
+ Be more exact when detecting IMDS service health
+ Changing add_event to start sending missing fields
- From 2.2.44
+ Remove outdated extension ZIP packages
+ Improved error handling when starting extensions using systemd
+ Reduce provisioning time of some custom images
+ Improve the handling of extension download errors
+ New API for extension authors to handle errors during extension update
+ Fix handling of errors in calls to openssl
+ Improve logic to determine current distro
+ Reduce verbosity of several logging statements
- From 2.2.42
+ Poll for artifact blob, addresses goal state procesing issue
- From 2.2.41
+ Rewriting the mechanism to start the extension using systemd-run for
systems using systemd for managing
+ Refactoring of resource monitoring framework using cgroup for both
systemd and non-systemd approaches [#1530, #1534]
+ Telemetry pipeline for resource monitoring data
- From 2.2.40
OBS-URL: https://build.opensuse.org/request/show/755926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=11
+ Remove paa_cve_2019-0804.patch, included upstream
+ Add support for Gen2 VM resource disks
+ Use alternate systemd detection
+ Fix /proc/net/route requirement that causes errors on FreeBSD
+ Add cloud-init auto-detect to prevent multiple provisioning mechanisms
from relying on configuration for coordination
+ Disable cgroups when daemon is setup incorrectly
+ Remove upgrade extension loop for the same goal state
+ Add container id for extension telemetry events
+ Be more exact when detecting IMDS service health
+ Changing add_event to start sending missing fields
- From 2.2.44
+ Remove outdated extension ZIP packages
+ Improved error handling when starting extensions using systemd
+ Reduce provisioning time of some custom images
+ Improve the handling of extension download errors
+ New API for extension authors to handle errors during extension update
+ Fix handling of errors in calls to openssl
+ Improve logic to determine current distro
+ Reduce verbosity of several logging statements
- From 2.2.42
+ Poll for artifact blob, addresses goal state procesing issue
- From 2.2.41
+ Rewriting the mechanism to start the extension using systemd-run for
systems using systemd for managing
+ Refactoring of resource monitoring framework using cgroup for both
systemd and non-systemd approaches [#1530, #1534]
+ Telemetry pipeline for resource monitoring data
- From 2.2.40
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=55
- Add paa_cve_2019-0804.patch (bsc#1127838)
- An issue with swapfile handling in the agent creates a data leak situation
that exposes system memory data.
- Update to 2.2.36 (bsc#1119542)
- Remove, included upstream
+ paa_fix_driver_install_detect.patch
+ paa_rdma_install_proper_driver.patch
+ 0001-Obtain-platform-information-in-Python-version-depend.patch
+ 0001-Detect-openSUSE-and-SLES.patch
+ 0001-Handle-the-disapperance-of-net-tools.patch
+ 0001-Properly-detect-SLES-15-for-rdma-support.patch
- Forward port agent-no-auto-update.patch
- [#1451] Do not utf-8 encode telemetry messages
- From 2.2.35
+ [#1434] Use files instead of pipes to capture stdout/stderr
+ [#1431] Prevent multiple downloads of zips
+ [#1418] Add main module to Python's egg
+ [#1416] Fix UTF-8 encoding for telemetry payload
+ [#1408] Honor the 'no_proxy' flag
+ [#1391, #1401, #1441] Azure Stack improvements
+ [#1384] Write status file in WALinuxAgent lib folder
+ [#1375] Add support for Redhat
+ [#1373] Handle different kernel builds on SUSE Linux Enterprise
+ [#1365, #1385, #1389] Fixes for RDMA
- From 2.2.34
+ [#1397] Send events when extensions fail to complete operation
+ [#1394/#1366] Fix the threshold telemetry issue
+ [#1298] Implementing extension sequencing in azure Linux agent
+ [#1340] Allow Clear Linux detection in python2 and python3
OBS-URL: https://build.opensuse.org/request/show/685775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=10
- An issue with swapfile handling in the agent creates a data leak situation
that exposes system memory data.
- Update to 2.2.36 (bsc#1119542)
- Remove, included upstream
+ paa_fix_driver_install_detect.patch
+ paa_rdma_install_proper_driver.patch
+ 0001-Obtain-platform-information-in-Python-version-depend.patch
+ 0001-Detect-openSUSE-and-SLES.patch
+ 0001-Handle-the-disapperance-of-net-tools.patch
+ 0001-Properly-detect-SLES-15-for-rdma-support.patch
- Forward port agent-no-auto-update.patch
- [#1451] Do not utf-8 encode telemetry messages
- From 2.2.35
+ [#1434] Use files instead of pipes to capture stdout/stderr
+ [#1431] Prevent multiple downloads of zips
+ [#1418] Add main module to Python's egg
+ [#1416] Fix UTF-8 encoding for telemetry payload
+ [#1408] Honor the 'no_proxy' flag
+ [#1391, #1401, #1441] Azure Stack improvements
+ [#1384] Write status file in WALinuxAgent lib folder
+ [#1375] Add support for Redhat
+ [#1373] Handle different kernel builds on SUSE Linux Enterprise
+ [#1365, #1385, #1389] Fixes for RDMA
- From 2.2.34
+ [#1397] Send events when extensions fail to complete operation
+ [#1394/#1366] Fix the threshold telemetry issue
+ [#1298] Implementing extension sequencing in azure Linux agent
+ [#1340] Allow Clear Linux detection in python2 and python3
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=53
+ Switch to using "ip route" command
- Add paa_sudo_sle15_nopwd.patch
+ Work around issue where SLE 15 will not accept the user password when
using sudo, cause unknown, needed to time constraints w.r.t. release
- Add 0001-Properly-detect-SLES-15-for-rdma-support.patch
+ Properly detect SLES 15 for RDMA support
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=49
- Fix typo in dependency
- Update to version 2.2.17 (bsc#1058974, bsc#1058975)
+ Remove paa_noref_local_install.patch, included upstream
+ Setup build for Python 3 for distros > SLE 12
+ [#879] -- OS.EnableFirewall=y breaks load balanced sets probing
- From 2.2.16
+ [#865] -- The agent should retry ETIMEDOUT (110) IOErrors
- From 2.2.15
+ [#783] -- The agent fails to use the standard Linux environment variables
for HTTP proxy
+ [#784] -- Adjust http retry and logging
+ [#786] -- Add Provisioning.SshHostKeyPairType=auto to support ssh-keygen -A
+ [#791] -- Prevent bloating sudoers waagent when agent has problem
+ [#792] -- Clearlinux distro_name does not match
+ [#796] -- Accommodate new Clear Linux distro string in os-release
+ [#798] -- Support Ubuntu RDMA driver update
+ [#800] -- HostGAPlugin still use proxy while auto-updating
+ [#801] -- Agent fails to clean-up PID files
+ [#807] -- The agent should not emit duplicate events
+ [#808] -- The agent should more gracefully handle out-of-space disk
errors (IOError 28)
+ [#811] -- Comments inline in /etc/waagent.conf cause config to not be read
+ [#812] -- Agent fails and isn't recoverable if an extension's log
directory is not present anymore
+ [#823] -- Show config options in use
+ [#830] -- Ensure VM identifier is properly ordered
+ [#845] -- ')' is missed in show-configuration
+ [#850] -- Cannot get to state 'Running' with Provisioning.Enabled=n
OBS-URL: https://build.opensuse.org/request/show/527525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=3
+ Remove paa_noref_local_install.patch, included upstream
+ Setup build for Python 3 for distros > SLE 12
+ [#879] -- OS.EnableFirewall=y breaks load balanced sets probing
- From 2.2.16
+ [#865] -- The agent should retry ETIMEDOUT (110) IOErrors
- From 2.2.15
+ [#783] -- The agent fails to use the standard Linux environment variables
for HTTP proxy
+ [#784] -- Adjust http retry and logging
+ [#786] -- Add Provisioning.SshHostKeyPairType=auto to support ssh-keygen -A
+ [#791] -- Prevent bloating sudoers waagent when agent has problem
+ [#792] -- Clearlinux distro_name does not match
+ [#796] -- Accommodate new Clear Linux distro string in os-release
+ [#798] -- Support Ubuntu RDMA driver update
+ [#800] -- HostGAPlugin still use proxy while auto-updating
+ [#801] -- Agent fails to clean-up PID files
+ [#807] -- The agent should not emit duplicate events
+ [#808] -- The agent should more gracefully handle out-of-space disk
errors (IOError 28)
+ [#811] -- Comments inline in /etc/waagent.conf cause config to not be read
+ [#812] -- Agent fails and isn't recoverable if an extension's log
directory is not present anymore
+ [#823] -- Show config options in use
+ [#830] -- Ensure VM identifier is properly ordered
+ [#845] -- ')' is missed in show-configuration
+ [#850] -- Cannot get to state 'Running' with Provisioning.Enabled=n
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=32
+ [#777] -- Deprovisioning when VM identifier changes is too aggressive
+ [#769] -- HostGAPlugin requests should never go through proxy
+ [#764] -- waagent -configuration-path:/path -start not take effect
+ [#761] -- MetadataProtocol has no client object
+ [#757] -- deprovision is executed even if input 'n'
+ [#754] -- /etc/resolv.conf is removed if create a VM base on
an specialized image
+ [#746] -- Agent WALinuxAgent-2.2.12 is blacklisted - skipping download
+ [#740] -- Duplicate logging on RHEL/CentOS
- Remove timeout udev rules (bsc#1049480)
+ 99-azure-timeout.rules
+ Rule is broken
+ Timeout is being set by the eagent code
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=24
+ [#712] Initial support for OpenBSD
+ [#730] Archlinux documentation
+ [#743] Fix for FreeBSD resource disk discovery
+ [#748] Fix for host plugin response encoding
+ [#750] Fix for GAiA public key handling
+ [#751] Fix for host plugin channel initialization
+ [#752] Fix for AzureStack protocol error handling
+ [#753] Removal of iptables rules from AzureStack protocol
- From 2.2.12
+ [#711] -- There are too many log print to /var/log/waagent.log
+ [#714] -- Questionable split call in common/conf.py
+ [#717] -- Remove extension logs during deprovision
+ [#720] -- Reset of RDMA drivers not taking effect
+ [#721] -- WALA deprovision process not clean up all cloudinit files
+ [#724] -- Location of configuration file should be editable issue
+ [#725] -- v2.2.11 can throw unexpected exceptions on provisioned VMs
+ [#727] -- v2.2.11 cannot update status for RDFE VMs
- From 2.2.11
+ [#463] Ensure the transport certificate expires in no more than two
years enhancement
+ [#470] Emit goal state processing performance metrics enhancement
+ [#518] Align with the Azure Stack protocol enhancement
+ [#531] Location of configuration file should be editable feature request
+ [#604] v2.2.x - Need new OS.SshDir in waagent.conf feature request
+ [#631] Will "waagent -deprovision[+user]" wipe the cloud-init data?
feature request
+ [#668] Agent continuously logs error on FIPS compliant server
+ [#679] Enable auto-update for AzureStack feature request
+ [#682] Default route is not added if it already exists cla-not-required
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=21
+ NSG improvements
+ CoreOS fix
+ Debian fixes
+ Apply patch from Debian
+ Unhandled errors
+ Handle ExtensionError from decide_version
+ Correct mkfile size check
+ Add a log message when primary nic is not found
+ Add telemetry event for host plugin usage
+ Fix typo in log message
+ Prevent duplicates in sysinfo
+ Add support for Match blocks in sshd config
+ Fix the logic for agent version
+ Support offline hostname changes
+ Ensure config file is updated correctly
+ Support NetworkManager leases
+ Fix password encoding
+ Minor bug fixes
+ Fix for hostnamectl
+ RHEL-7 hostname
+ Fix password encrypting failure in python 2.*
+ Handle interrupt signal
+ Fix the issues for mounting resourcedisk
- From 2.2.2
+ Cleanup SUSE config
+ Support for F5 Networks BIG-IP
+ Fix sfdisk options
+ Fix for fetch manifest
+ Fix config options for RDMA
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=18
+ Non linear release number jump
+ Add agent-no-auto-update.patch
+ [#361] More graceful 503 handling
+ [#364] Enforce http proxy support for calls to storage
+ [#367] Stop disabling SELinux during provisioning
+ [#377] Fix partition table race condition
+ [#387] Fix latest version selection
+ [#388] Fix extension substatus structure
+ [#389] Fix shlex related update bug in Python 2.6
+ [#391] Correct behavior of register-service
+ [#398] AzureStack fixes
+ [#400] Support xfs filesystem
+ [#404] Correct service start/restart behavior
+ [#411] Support for disabling provisioning
+ [#417] Stop spamming journal with pidof dhlient related messages
+ [#418] Add goal state processor to the version output
+ [#425] Fix walinuxagent.service Want, After
+ [#439] Ensure to load latest agents
+ [#451] Correct proxy port type
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=16
+ Remove 99-azure-product-uuid.rules included from upstream
+ Remove python-azure-agent-setup.diff no longer needed
+ Remove python-azure-agent-disable-test-check-pid.diff
+ Disable tests
- Test have been re-written such that they are expected to run in
Azure, since we build the package in the build service 95% fail
+ goal state processing extension
+ multi-nic improvements
+ Fix failed to mount Resource Disk #145
+ Fix PID file not updating on service restart #141
+ Fix libglibmm-2.4-1c2a dependency #133
+ Fix Creating a swap file takes too long #116
+ Fix ERROR:unicode argument without an encoding occured creating
/var/lib/waagent/CustomData #187
+ Fix Should evaluate ssh pub key file before using it #169
+ Fix waagent fails to deploy SSH key on CentOS 7 #104
+ Fix Creating a swapfile using dd is extremely slow, please use
fallocate on Linux #127
+ Fix ERROR:Unable to fetch Bundle URI from manifest for
Microsoft.OSTCExtensions.LinuxDiagnostic v 2.3.4 #163
+ Fix Incorrect host route set for 168.63.129.16 on machines with
multiple NICs (CentOS 7) #190
+ agent list trim fix
+ telemetry improvements
+ signal forwarding fix
+ self-update bug-fixes
+ poll timeout fix
+ RDMA updates
+ telemetry updates
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=10
+ we want to allow users to install the WE pattern in Azure. This is
not possible if python-azure-agent conflicts with NetworkManager.
Testing shows that the system is still accessible if NM is installed
after the initial boot that sets up networking. The downside, during
image build a user could incidentally install NM and the agent and forget
to disable NM, an instance from this image may not be reachable.
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=9
import azurelinuxagent.common.utils.networkutil as networkutil
from tests.tools import AgentTestCase
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.