Skip to content

Releases: Azure/WALinuxAgent

v2.3.0.2

19 Aug 15:28
b24a4df
Compare
Choose a tag to compare

New Features

  • Enforce CPUQuota on agent #2222, #2226
  • Add support for RequiredFeatures and GoalStateAggregateStatus APIs #2190, #2206, #2209, #2216
  • Added fallback locations for extension manifests #2188

Bug fixes

  • Add missing call to str.format() when creating exception #2193
  • Remove helper network service on deprovision #2191
  • Use a helper script to start the network service #2225 #2253
  • Initialize published_hostname using /var/lib/cloud/data/set-hostname #2215
  • Fix utf logging for persist firewall rules #2237
  • Replace firewall-setup unit file if changed #2236

Logging improvements

  • Add debug info #2199
  • Mark cgroup messages as INFO #2202
  • Log a warning when HTTP fetch fails #2205
  • Log changes in Extension.Enabled #2208
  • Mark messsage as Cgroups Warning #2220

Test improvements

  • Set Agent version to 9.9.9.9 for testing #2198
  • Fixed get-pip uri #2201
  • Use a sample agent zip for update tests #2200
  • Add Debug options to disable checks on cgroups #2203
  • Add custom trigger for GHA workflows #2214
  • Disable pylint warning: "consider using with" #2238

v2.2.53.1

09 Feb 00:47
2f30411
Compare
Choose a tag to compare

This release is for releasing the Extension Telemetry Pipeline as a private-preview feature.

v2.2.53

06 Nov 20:54
d834f0f
Compare
Choose a tag to compare

This release includes all changes from v2.2.52 plus the ones listed below.

Bug fixes:

  • Start exthandler with the same python interpreter (#2007)
  • Verify that the extension status is an array (#2010)
  • Remove enum _UpdateType and retry fetching goal state (#2018)
  • use dd for ext4 as well as xfs (#2042)
  • Fix path for error.json (#2044)
  • Switch to run command changes, + provisioning changes that need to be reverted. (#2050)
  • Fix timestamp for goal state archive (#2051)
  • Case insensitive parsing or Plugins and PluginSettings (#2054)
  • Revert "Fixed delays for HTTP retries rather than exponential delays (#1967)" (#2065)
  • Fixed bug causing "MAC verified OK" message (#2069)
  • Revert unicode fix manually (#1937) (#2070)

New features and improvements:

  • Recreate handler environment file on service startup (#1960)
  • Add log collection tool and thread (#1987)
  • Thread interface (#1990)
  • Verify that the CPU and Memory cgroups for the agent are properly initialized; disabled cgroups if they are not active. (#2015)
  • SUSE config: use Btrfs LZO compression for ResourceDisk (#2055)

Telemetry and logging improvements:

  • Extension telemetry pipeline (#1918)
  • Reformatted the heartbeat event (#2009)
  • Add LIS version to OSInfo.message (#2011)
  • One thread for telemetry (#2019)
  • Limit description character length sent for health report (#2020)
  • Remove Serial Console Logging (#2028)
  • Echo log to /dev/console during provisioning (#2043)
  • Adding telemetry for logrotate (#2045)
  • Report placeholder extension status as an array (#2068)

Documentation updates:

  • Fix broken link in readme (#2014)
  • Add log collector flags to README (#2029)

Testing and code quality improvements:

v2.2.51 - this release was not completed in all regions

29 Sep 23:56
f4522f9
Compare
Choose a tag to compare

This release is a re-release of v2.2.49.2. There are no new changes in this as compared to the last known good v2.2.49.2

v2.2.52 - this release was not completed in all regions

10 Aug 21:52
392103d
Compare
Choose a tag to compare

Major bug fixes -

  • Do not retrieve users in each goal state (#1935)
  • Fix check for systemd-run failure when invoking extensions (#1943)
  • Fix telemetry unicode errors (#1937)
  • Uninstall unregistered extensions (#1970)
  • Use run_command to execute iptables (#1944)
  • Use run_command for ip route (#1958)
  • Fix handling of gen2 disks with udev rules (#1954)

New features/improvements -

  • Add API for uploading logs via host plugin (#1902)
  • Fixed delays for HTTP retries rather than exponential delays (#1967)

Documentation changes -

  • python3 must be used in Ubuntu (#1932)

Other fixes -

  • Resolve undefined variable (#1950)
  • Convert owner uid to string (#1949)
  • Fix Travis special checks for distro and remove useless cgroup tests (#1959)
  • Use tmp_dir instead of data_dir (#1968)

v2.2.49.2

22 Jun 19:39
3979ee2
Compare
Choose a tag to compare

Improvements in cgroups:

  • 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)

Testing and dev-infra improvements:

  • Remove import * (#1900)
  • Fix flaky ExtensionCleanupTest class (#1898)
  • Fix codecov badge (#1883)
  • Changed codecov to run on py3.8 (#1875)

Documentation improvements:

  • Update documentation on /dev/random (#1909)
  • Mount options are in mount(8) (#1893)

Logging and telemetry improvements:

  • 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)

Extension workflow improvements:

  • 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)

Other:

v2.2.48.1

27 Apr 18:58
1e5b9a0
Compare
Choose a tag to compare

Refactoring GoalState class out of Protocol, making Protocol thread-safe, removing stale dependencies of Protocol and removing the dependency on the file system to read the Protocol info:

Adding and improving log messages and adding thread names to each logline:

  • New logs for goal state fetch (#1797) and refresh (#1794).
  • Thread name added to logs (#1778)
  • Populate telemetry events at creation time (#1791)
  • Periodic HeartBeat to be logged to the file (#1755)
  • Add unit test to verify call stacks on telemetry events (#1828)
  • Others (#1841, #1842, #1846)

Improving agent status reporting:

  • Handling errors while reading extension status files (Limiting Size and Transient issues)(#1761)

Provisioning Agent changes:

  • Enable SWAP on Resource Disk as Application Certification Support suggested (#1762)
  • Update 'Provisioning' options in default configs ( #1853)

Other fixes:

  • Drop Metadata Server Support (#1806, #1839, #1840 )
  • Improve documentation of ResourceDisk.EnableSwapEncryption (#1782)
  • Removed is_snappy function (#1774)
  • Handle exceptions in monitor thread (#1770)
  • Fix timestamp for periodic operations in the monitor thread (#1879)
  • Fix permissions on the Ubuntu systemd service file (#1814)
  • Update hostname setting for SUSE distros (#1832)
  • Python 3.8 improvements + support for Ubuntu 20.04 (#1860, #1865, #1738)
  • Testing and dev-infra improvements [#1771, #1768, #1800, #1826, #1827, #1833]
  • Others (#1854, #1858)

v2.2.46

15 Jan 20:39
e6155f4
Compare
Choose a tag to compare

[#1741] Do not update goal state when refreshing the host plugin
[#1731] Fix upgrade sequence when update command fails
[#1725] Initialize CPU usage
[#1716, #1737] Added UTC logging and correcting the format
[#1651, #1729] Start sending PerformanceCounter metrics and additional memory information for Cgroups

v2.2.45

07 Nov 04:40
3dff408
Compare
Choose a tag to compare

[#1654] Add support for Gen2 VM resource disks
[#1677] Use alternate systemd detection
[#1638] Fix /proc/net/route requirement that causes errors on FreeBSD
[#1633] Add cloud-init auto-detect to prevent multiple provisioning mechanisms from relying on configuration for coordination
[#1688] Disable cgroups when daemon is setup incorrectly
[#1686] Remove upgrade extension loop for the same goal state
[#1696] Add container id for extension telemetry events
[#1695] Be more exact when detecting IMDS service health
[#1663] Changing add_event to start sending missing fields

Bug fixes and minor improvements: [#1679, #1680, #1681, #1683, #1685, #1699, #1698, #1701]

v2.2.44

16 Oct 18:40
8158b45
Compare
Choose a tag to compare

[#1642] Remove outdated extension ZIP packages
[#1623] Improved error handling when starting extensions using systemd
[#1619] Reduce provisioning time of some custom images
[#1617] Improve the handling of extension download errors
[#1634, #1640] New API for extension authors to handle errors during extension update
[#1606] Fix handling of errors in calls to openssl
[#1599] Improve logic to determine current distro
[#1567, #1614] Reduce verbosity of several logging statements

Bug fixes: [#1506 #1563 #1568 #1570 #1572 #1573 #1576 #1580 #1583 #1595 #1600 #1606 #1607 #1616 #1625 #1628 #1630 #1641 #1644 #1655 #1664 #1666]