Comment 1 for bug 2068021

Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ): Re: MRE updates 2.11.1.4 into N/J/F

Pre-SRU tests for Noble: All OK.

#Checking enviroment prior to upgrading

ubuntu@noble:~$ uname -a
Linux noble 6.8.0-1009-azure #9-Ubuntu SMP Wed Jun 12 17:19:57 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

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

ubuntu@noble:~$ waagent -version
WALinuxAgent-2.9.1.1 running on ubuntu 24.04
Python: 3.12.3
Goal state agent: 2.11.1.4

ubuntu@noble:~$ ps -ef | grep -i agent | grep -v grep
root 730 1 0 06:59 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon
root 914 730 0 06:59 ? 00:00:01 /usr/bin/python3 -u bin/WALinuxAgent-2.11.1.4-py3.9.egg -run-exthandlers

ubuntu@noble:~$ sudo systemctl status walinuxagent
● walinuxagent.service - Azure Linux Agent
     Loaded: loaded (/usr/lib/systemd/system/walinuxagent.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-06-28 06:59:35 UTC; 38min ago
   Main PID: 730 (python3)
      Tasks: 6 (limit: 19119)
     Memory: 54.5M (peak: 57.7M)
        CPU: 3.046s
     CGroup: /azure.slice/walinuxagent.service
             ├─730 /usr/bin/python3 -u /usr/sbin/waagent -daemon
             └─914 /usr/bin/python3 -u bin/WALinuxAgent-2.11.1.4-py3.9.egg -run-exthandlers

# Upgrading...

ubuntu@noble:~$ apt list --upgradable -a | grep walinuxagent

walinuxagent/noble 2.11.1.4-0ubuntu1~24.04.1+ppa1 amd64 [upgradable from: 2.9.1.1-0ubuntu3]
walinuxagent/noble,now 2.9.1.1-0ubuntu3 amd64 [installed,upgradable to: 2.11.1.4-0ubuntu1~24.04.1+ppa1]

# Status after upgrading:

ubuntu@noble:~$ ps -ef | grep -i agent | grep -v grep
root 6279 1 0 08:38 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon
root 6326 6279 1 08:38 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

ubuntu@noble:~$ waagent --version
WALinuxAgent-2.11.1.4 running on ubuntu 24.04
Python: 3.12.3
Goal state agent: 2.11.1.4

ubuntu@noble:~$ sudo systemctl status walinuxagent
● walinuxagent.service - Azure Linux Agent
     Loaded: loaded (/usr/lib/systemd/system/walinuxagent.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-06-28 08:38:09 UTC; 1min 38s ago
   Main PID: 6279 (python3)
      Tasks: 6 (limit: 19119)
     Memory: 46.4M (peak: 48.8M)
        CPU: 1.017s
     CGroup: /azure.slice/walinuxagent.service
             ├─6279 /usr/bin/python3 -u /usr/sbin/waagent -daemon
             └─6326 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

Jun 28 08:38:10 noble python3[6326]: pkts bytes target prot opt in out source destination
Jun 28 08:38:10 noble python3[6326]: 0 0 ACCEPT 6 -- * * 0.0.0.0/0 168.63.129.16 tcp dpt:53
Jun 28 08:38:10 noble python3[6326]: 1861 443774 ACCEPT 6 -- * * 0.0.0.0/0 168.63.129.16 owner UID match 0
Jun 28 08:38:10 noble python3[6326]: 0 0 DROP 6 -- * * 0.0.0.0/0 168.63.129.16 ctstate INVALID,NEW
Jun 28 08:38:10 noble python3[6326]: 2024-06-28T08:38:10.689753Z INFO ExtHandler ExtHandler
Jun 28 08:38:10 noble python3[6326]: 2024-06-28T08:38:10.689874Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState started [incarnation_1 channel: WireServer source: Fabric activity: cc95bf88-557c-444d-aa4b-9b0afed594f6 correlat>
Jun 28 08:38:10 noble python3[6326]: 2024-06-28T08:38:10.690299Z INFO ExtHandler ExtHandler No extension handlers found, not processing anything.
Jun 28 08:38:10 noble python3[6326]: 2024-06-28T08:38:10.690793Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState completed [incarnation_1 1 ms]
Jun 28 08:38:10 noble python3[6326]: 2024-06-28T08:38:10.707220Z INFO ExtHandler ExtHandler Looking for existing remote access users.
Jun 28 08:38:10 noble python3[6326]: 2024-06-28T08:38:10.713439Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.11.1.4 is running as the goal state agent [DEBUG HeartbeatCounter: 0;HeartbeatId: D4AB2A37-F9F3-4143-8881-B>
lines 1-21/21 (END)

# Reboot:

ubuntu@noble:~$ uptime
 08:42:58 up 0 min, 2 users, load average: 0.12, 0.03, 0.01

last login: Fri Jun 28 08:42:50 2024 from 83.60.31.103
ubuntu@noble:~$ sudo systemctl status walinuxagent
● walinuxagent.service - Azure Linux Agent
     Loaded: loaded (/usr/lib/systemd/system/walinuxagent.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-06-28 08:42:43 UTC; 41s ago
   Main PID: 738 (python3)
      Tasks: 6 (limit: 19119)
     Memory: 52.5M (peak: 54.5M)
        CPU: 1.481s
     CGroup: /azure.slice/walinuxagent.service
             ├─738 /usr/bin/python3 -u /usr/sbin/waagent -daemon
             └─921 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

Jun 28 08:42:45 noble python3[921]: 0 0 ACCEPT 6 -- * * 0.0.0.0/0 168.63.129.16 tcp dpt:53
Jun 28 08:42:45 noble python3[921]: 101 13562 ACCEPT 6 -- * * 0.0.0.0/0 168.63.129.16 owner UID match 0
Jun 28 08:42:45 noble python3[921]: 0 0 DROP 6 -- * * 0.0.0.0/0 168.63.129.16 ctstate INVALID,NEW
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.616417Z INFO EnvHandler ExtHandler Set block dev timeout: sda with timeout: 300
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.658135Z INFO ExtHandler ExtHandler
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.658246Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState started [incarnation_1 channel: WireServer source: Fabric activity: cc95bf88-557c-444d-aa4b-9b0afed594f6 correlation 3af01aac-ae18->
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.658581Z INFO ExtHandler ExtHandler No extension handlers found, not processing anything.
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.659121Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState completed [incarnation_1 0 ms]
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.671189Z INFO ExtHandler ExtHandler Looking for existing remote access users.
Jun 28 08:42:45 noble python3[921]: 2024-06-28T08:42:45.687515Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.11.1.4 is running as the goal state agent [DEBUG HeartbeatCounter: 0;HeartbeatId: 207205C8-863D-4A85-99C1-EEBCD19C99BD;Droppe>

ubuntu@noble:~$ ps -ef | grep -i agent | grep -v grep
root 738 1 0 08:42 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon
root 921 738 0 08:42 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -run-exthandlers

No errors on the logs attached after upgrading (
2024-06-28T08:38:09.599875Z INFO Daemon Daemon Azure Linux Agent Version: 2.11.1.4) and rebooting (2024-06-28T08:42:44.216842Z INFO Daemon Daemon Azure Linux Agent Version: 2.11.1.4)