Upgrade to v2.11.1.4 on Oracular (24.10)

Bug #2068019 reported by Miriam España Acebal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
walinuxagent (Ubuntu)
Fix Released
Undecided
Miriam España Acebal

Bug Description

The latest version was released upstream on April 26, and it is GA since 5 days ago, as per [1]

We are currently at version 2.9.1.1.
This bug will serve to track the upgrade before starting with the corresponding MREs.

[1] https://github.com/Azure/WALinuxAgent/releases/tag/v2.11.1.4

Related branches

Changed in walinuxagent (Ubuntu):
status: New → In Progress
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Once this new version is ready Miriam will also include the fix for bug 2063046 in the upload.
Thanks!

Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ):
Download full text (3.6 KiB)

Manual tests for checking behaviour/usefullness (using Pre-SRU tests cases as guidance): All OK.

Attached log without errors.

ubuntu@oracular:~$ uname -a
Linux oracular 6.8.0-1007-azure #7-Ubuntu SMP Sat Apr 20 00:06:31 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

#Before upgrade
ubuntu@oracular:~$ dpkg -l | grep walinuxagent
ii walinuxagent 2.9.1.1-0ubuntu3 amd64 Windows Azure Linux Agent

#Upgrading

ubuntu@oracular:~$ apt list --upgradable -a
walinuxagent/oracular 2.11.1.4-0ubuntu1+ppa2 amd64 [upgradable from: 2.9.1.1-0ubuntu3]
walinuxagent/oracular,now 2.9.1.1-0ubuntu3 amd64 [installed,upgradable to: 2.11.1.4-0ubuntu1+ppa2]

ubuntu@oracular:~$ sudo apt upgrade
Upgrading:
  walinuxagent

Summary:
  Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
  Download size: 279 kB
  Space needed: 48.1 kB / 28.2 GB available

Continue? [Y/n] y
Get:1 https://ppa.launchpadcontent.net/mirespace/azure/ubuntu oracular/main amd64 walinuxagent amd64 2.11.1.4-0ubuntu1+ppa2 [279 kB]

Restarting services...
 systemctl restart walinuxagent.service

ubuntu@oracular:~$ ps -ef | grep agent | grep -v grep
root 16243 1 0 14:08 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon
root 16300 16243 0 14:08 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

ubuntu@oracular:~$ grep ERROR /var/log/waagent.log
ubuntu@oracular:~$

ubuntu@oracular:~$ sudo systemctl status walinuxagent
● walinuxagent.service - Azure Linux Agent
     Loaded: loaded (/usr/lib/systemd/system/walinuxagent.service; enabled; p>
     Active: active (running) since Thu 2024-06-27 14:08:27 UTC; 17h ago
   Main PID: 16243 (python3)
      Tasks: 6 (limit: 19119)
     Memory: 48.6M (peak: 52.1M)
        CPU: 41.955s
     CGroup: /azure.slice/walinuxagent.service
             ├─16243 /usr/bin/python3 -u /usr/sbin/waagent -daemon
             └─16300 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

#After reboot:

ubuntu@oracular:~$ uptime
 07:41:29 up 0 min, 1 user, load average: 0.00, 0.00, 0.00

ubuntu@oracular:~$ ps -ef | grep -i agent | grep -v grep
root 742 1 0 07:41 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon
root 916 742 0 07:41 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

ubuntu@oracular:~$ sudo systemctl status walinuxagent
● walinuxagent.service - Azure Linux Agent
     Loaded: loaded (/usr/lib/systemd/system/walinuxagent.service; enabled; p>
     Active: active (running) since Fri 2024-06-28 07:41:06 UTC; 49s ago
   Main PID: 742 (python3)
      Tasks: 6 (limit: 19119)
     Memory: 49.6M (peak: 52.2M)
        CPU: 1.027s
     CGroup: /azure.slice/walinuxagent.service
             ├─742 /usr/bin/python3 -u /usr/sbin/waagent -daemon
             └─916 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

Jun 28 07:41:08 oracular python3[916]: 0 0 ACCEPT 6 -- >
Jun 28 07:41:08 oracular python3[916]: 94 12644 ACCEPT 6 -- >
Jun 28 07:41:08 oracular python3[916]: 0 0 DROP 6 -- >
Jun 28 07:41:08 oracular python3...

Read more...

Revision history for this message
Miriam España Acebal (mirespace) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package walinuxagent - 2.11.1.4-0ubuntu1

---------------
walinuxagent (2.11.1.4-0ubuntu1) oracular; urgency=medium

  * New upstream release (LP: #2068019):
    - Full list of changes is available at:
      https://github.com/Azure/WALinuxAgent/releases/tag/v2.11.1.4
    - Remove patches:
      + d/p/fix_systemd_networkd_lease_file_path.patch: Merged
        upstream (#2979) and released in version 2.10.0.8.
      + d/p/fix_cgroup_v2_mounting_and_systemd_process.patch: Drop
        because for now is intentional that the agent does not enable
        cgroup usage when v2 is detected, but it is allowed that users
        run the log collector by command line without cgroup monitoring
        (#2939). This was released in version 2.10.0.8.
    - Refresh patches:
      + d/p/update_dhcp_client_ubuntu_supported_versions.patch:
        Merged upstream (#2980) and released in version 2.10.0.8.,
        but still need to fix a version (#3159).
      + d/p/fix_escape_sequence_warning.patch.
  * d/p/complete_exception_info_on_test.patch: Fix incomplete
    mocked exception creation to prevent it from being lost
    when another exception occurs.
  * d/p/disable_udev_overrides.patch: Refresh to make it compliant
    with DEP-3.
  * d/p/embed-distutils-to-azurelinuxagent.patch: due to distutils
    deprecation, upstream embedded it (#3063).
  * d/p/update-test-certificate-data.patch: Avoid decryption failure
    that was making some tests behave unexpectedly (#3166) (fixes #3163).
  * Drop the use of nose (LP: #2063046):
    - d/control: Remove nose dependencies in favor of pytest.
    - d/p/run-unit-test-with-pytest-python3_10.patch: Apply upstream
      (#3081) merged at develop.
    - d/rules: Test overriding to avoid launching tests that require
      sudo.
  * Some polishing actions were taken:
    - d/control:
      + No need to rely on dh-systemd anymore since we have
        debhelper > 11.
      + Drop redundant build-dependency.
    - d/rules:
      + Get DEB_* variables from pkg-info.mk instead of parsing
        changelog.
      + Drop get-packaged-orig-source target because it is deprecated
        since Debian Policy version 4.1.4.
    - d/copyright: Change protocol to use https

 -- Miriam España Acebal <email address hidden> Thu, 20 Jun 2024 09:49:05 +0200

Changed in walinuxagent (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.