Comment 2 for bug 2068019

Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ):

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[916]: 2024-06-28T07:41:08.114205Z INFO EnvHa>
Jun 28 07:41:08 oracular python3[916]: 2024-06-28T07:41:08.176466Z INFO ExtHa>
Jun 28 07:41:08 oracular python3[916]: 2024-06-28T07:41:08.176543Z INFO ExtHa>
Jun 28 07:41:08 oracular python3[916]: 2024-06-28T07:41:08.176806Z INFO ExtHa>
Jun 28 07:41:08 oracular python3[916]: 2024-06-28T07:41:08.177201Z INFO ExtHa>
Jun 28 07:41:08 oracular python3[916]: 2024-06-28T07:41:08.201924Z INFO ExtHa>
Jun 28 07:41:08 oracular python3[916]: 2024-06-28T07:41:08.207781Z INFO ExtHa>