Hello community,

here is the log from the commit of package python-azure-agent for 
openSUSE:Factory checked in at 2020-10-02 17:28:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-agent (Old)
 and      /work/SRC/openSUSE:Factory/.python-azure-agent.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-azure-agent"

Fri Oct  2 17:28:17 2020 rev:16 rq:835300 version:2.2.49.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-agent/python-azure-agent.changes    
2020-08-15 21:20:37.591631772 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-azure-agent.new.4249/python-azure-agent.changes
  2020-10-02 17:29:27.814457552 +0200
@@ -1,0 +2,72 @@
+Thu Sep 10 13:02:13 UTC 2020 - Robert Schweikert <[email protected]>
+
+- Update to version 2.2.49.2 (bsc#1176368, bsc#1176369)
+  + 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
+    the file system to read the Protocol info
+  + Fetch goal state when creating HostPluginProtocol (#1799)
+  + Separate goal state from the protocol class (#1777)
+  + Make protocol util a singleton per thread (#1743, #1756)
+  + Fetch goal state before sending telemetry (#1751)
+  + Remove file dependency (#1754)
+  + Others (#1758, #1767, #1744, #1749, #1816, #1820)
+  + 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)
+  + Handling errors while reading extension status files
+    (Limiting Size and Transient issues)(#1761)
+  + Enable SWAP on Resource Disk as Application Certification Support
+    suggested (#1762)
+  + Update 'Provisioning' options in default configs ( #1853)
+  + 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)
+
+- From 2.2.46
+  + [#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
+
+-------------------------------------------------------------------

Old:
----
  WALinuxAgent-2.2.45.tar.gz
  paa_use_hostnamectl.patch

New:
----
  WALinuxAgent-2.2.49.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-azure-agent.spec ++++++
--- /var/tmp/diff_new_pack.zkmge7/_old  2020-10-02 17:29:33.822461149 +0200
+++ /var/tmp/diff_new_pack.zkmge7/_new  2020-10-02 17:29:33.826461151 +0200
@@ -20,13 +20,12 @@
 Summary:        Microsoft Azure Linux Agent
 License:        Apache-2.0
 Group:          System/Daemons
-Version:        2.2.45
+Version:        2.2.49.2
 Release:        0
 URL:            https://github.com/Azure/WALinuxAgent
 Source0:        WALinuxAgent-%{version}.tar.gz
 Patch1:         agent-no-auto-update.patch
 Patch6:         paa_force_py3_sle15.patch
-Patch10:        paa_use_hostnamectl.patch
 Patch11:        proper_dhcp_config_set.patch
 BuildRequires:  dos2unix
 
@@ -120,7 +119,6 @@
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 %patch6
 %endif
-%patch10
 %patch11
 
 %build
@@ -162,6 +160,7 @@
 chmod +x %{buildroot}/%{_sbindir}/waagent2.0
 ### naming issues
 mv %{buildroot}/%{_sysconfdir}/logrotate.d/waagent.logrotate 
%{buildroot}/%{_sysconfdir}/logrotate.d/waagent
+mv %{buildroot}/%{_sysconfdir}/logrotate.d/waagent-extn.logrotate 
%{buildroot}/%{_sysconfdir}/logrotate.d/waagent-extn
 
 # install tests
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
@@ -203,6 +202,7 @@
 %attr(0755,root,root) %{_sbindir}/waagent
 %attr(0755,root,root) %{_sbindir}/waagent2.0
 %config(noreplace) %{_sysconfdir}/logrotate.d/waagent
+%config(noreplace) %{_sysconfdir}/logrotate.d/waagent-extn
 %config(noreplace) %{_sysconfdir}/waagent.conf
 %ghost %{_localstatedir}/log/waagent.log
 %if 0%{?suse_version} > 1140

++++++ WALinuxAgent-2.2.45.tar.gz -> WALinuxAgent-2.2.49.2.tar.gz ++++++
++++ 26785 lines of diff (skipped)

++++++ proper_dhcp_config_set.patch ++++++
--- /var/tmp/diff_new_pack.zkmge7/_old  2020-10-02 17:29:34.046461283 +0200
+++ /var/tmp/diff_new_pack.zkmge7/_new  2020-10-02 17:29:34.046461283 +0200
@@ -1,29 +1,6 @@
 --- azurelinuxagent/common/osutil/suse.py.orig
 +++ azurelinuxagent/common/osutil/suse.py
-@@ -16,20 +16,12 @@
- # Requires Python 2.6+ and Openssl 1.0+
- #
- 
--import os
--import re
--import pwd
--import shutil
--import socket
--import array
--import struct
--import fcntl
- import time
-+
- import azurelinuxagent.common.logger as logger
- import azurelinuxagent.common.utils.fileutil as fileutil
- import azurelinuxagent.common.utils.shellutil as shellutil
--import azurelinuxagent.common.utils.textutil as textutil
--from azurelinuxagent.common.version import DISTRO_NAME, DISTRO_VERSION, 
DISTRO_FULL_NAME
-+
- from azurelinuxagent.common.osutil.default import DefaultOSUtil
- 
- 
-@@ -82,11 +74,64 @@ class SUSEOSUtil(SUSE11OSUtil):
+@@ -69,9 +69,62 @@ class SUSEOSUtil(SUSE11OSUtil):
          super(SUSEOSUtil, self).__init__()
          self.dhclient_name = 'wickedd-dhcp4'
  
@@ -50,9 +27,7 @@
 +                    logger.warn("exceeded restart retries")
 +
      def set_hostname(self, hostname):
-         shellutil.run(
-             "hostnamectl set-hostname {0}".format(hostname), chk_err=False
-         )
+         self._run_command_without_raising(["hostnamectl", "set-hostname", 
hostname], log_error=False)
  
 +    def set_dhcp_hostname(self, hostname):
 +        dhcp_config_file_path = '/etc/sysconfig/network/dhcp'
@@ -86,5 +61,5 @@
 +            )
 +
      def stop_dhcp_service(self):
-         cmd = "systemctl stop {0}".format(self.dhclient_name)
-         return shellutil.run(cmd, chk_err=False)
+         self._run_command_without_raising(["systemctl", "stop", 
"{}.service".format(self.dhclient_name)],
+                                           log_error=False)


Reply via email to