Pre-SRU tests for Focal: All OK #Checking enviroment prior to upgrading
azureuser@wala-focal-vm:~$ uname -a Linux wala-focal-vm 5.15.0-1073-azure #82~20.04.1-Ubuntu SMP Tue Sep 3 12:27:43 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux azureuser@wala-focal-vm:~$ dpkg -l | grep walinuxagent ii walinuxagent 2.2.46-0ubuntu1.2 amd64 Windows Azure Linux Agent azureuser@wala-focal-vm:~$ waagent --version /usr/sbin/waagent:27: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp WALinuxAgent-2.2.46 running on ubuntu 20.04 Python: 3.8.10 Goal state agent: 2.12.0.2 azureuser@wala-focal-vm:~$ ps -ef | grep -i agent | grep -v grep root 835 1 0 14:57 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon root 1508 835 0 14:57 ? 00:00:04 python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers azureuser@wala-focal-vm:~$ sudo systemctl status walinuxagent ● walinuxagent.service - Azure Linux Agent Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/walinuxagent.service.d └─10-Slice.conf, 11-CPUAccounting.conf, 12-CPUQuota.conf, 13-MemoryAccounting.conf Active: active (running) since Tue 2024-10-08 14:57:39 UTC; 1h 8min ago Main PID: 835 (python3) Tasks: 7 (limit: 9456) Memory: 45.6M CPU: 5.541s CGroup: /system.slice/walinuxagent.service ├─ 835 /usr/bin/python3 -u /usr/sbin/waagent -daemon └─1508 python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers Oct 08 15:07:46 wala-focal-vm python3[1508]: 2024-10-08T15:07:46.157268Z INFO MonitorHandler ExtHandler Stopped tracking cgroup Microsoft.CPlat.Core.LinuxPatchExtension-1.6.55 [/> Oct 08 15:07:46 wala-focal-vm python3[1508]: 2024-10-08T15:07:46.157468Z INFO MonitorHandler ExtHandler Stopped tracking cgroup Microsoft.CPlat.Core.LinuxPatchExtension-1.6.55 [/> Oct 08 15:07:46 wala-focal-vm python3[1508]: 2024-10-08T15:07:46.267890Z INFO TelemetryEventsCollector ExtHandler Collected 171 events for extension: Microsoft.CPlat.Core.LinuxPa> Oct 08 15:12:44 wala-focal-vm python3[835]: 2024-10-08T15:12:44.113385Z INFO Daemon Agent WALinuxAgent-2.12.0.2 launched with command 'python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.> Oct 08 15:27:48 wala-focal-vm python3[1508]: 2024-10-08T15:27:48.757784Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.12.0.2 is running as the goal state agent [DE> Oct 08 15:57:51 wala-focal-vm python3[1508]: 2024-10-08T15:57:51.842838Z INFO ExtHandler ExtHandler Downloading agent manifest Oct 08 15:57:51 wala-focal-vm python3[1508]: 2024-10-08T15:57:51.895007Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.12.0.2 is running as the goal state agent [DE> Oct 08 16:02:58 wala-focal-vm python3[1508]: 2024-10-08T16:02:58.096845Z INFO CollectLogsHandler ExtHandler Starting log collection... Oct 08 16:03:09 wala-focal-vm python3[1508]: 2024-10-08T16:03:09.891087Z INFO CollectLogsHandler ExtHandler Successfully collected logs. Archive size: 98682 b, elapsed time: 1179> Oct 08 16:03:09 wala-focal-vm python3[1508]: 2024-10-08T16:03:09.896194Z INFO CollectLogsHandler ExtHandler Successfully uploaded logs. # Upgrading... azureuser@wala-focal-vm:~$ apt list --upgradable -a | grep walinuxagent WARNING: apt does not have a stable CLI interface. Use with caution in scripts. walinuxagent/focal 2.11.1.4-0ubuntu1~20.04.1 amd64 [upgradable from: 2.2.46-0ubuntu1.2] walinuxagent/focal-updates,now 2.2.46-0ubuntu1.2 amd64 [installed,upgradable to: 2.11.1.4-0ubuntu1~20.04.1] walinuxagent/focal 2.2.46-0ubuntu1 amd64 azureuser@wala-focal-vm:~$ sudo apt upgrade walinuxagent Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: walinuxagent 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 272 kB of archives. After this operation, 450 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/mirespace/azure/ubuntu focal/main amd64 walinuxagent amd64 2.11.1.4-0ubuntu1~20.04.1 [272 kB] Fetched 272 kB in 0s (1221 kB/s) (Reading database ... 59003 files and directories currently installed.) Preparing to unpack .../walinuxagent_2.11.1.4-0ubuntu1~20.04.1_amd64.deb ... Unpacking walinuxagent (2.11.1.4-0ubuntu1~20.04.1) over (2.2.46-0ubuntu1.2) ... Setting up walinuxagent (2.11.1.4-0ubuntu1~20.04.1) ... Installing new version of config file /etc/waagent.conf ... update-initramfs: deferring update (trigger activated) azure-vmextensions.slice is a disabled or a static unit, not starting it. azure.slice is a disabled or a static unit, not starting it. Processing triggers for initramfs-tools (0.136ubuntu6.7) ... update-initramfs: Generating /boot/initrd.img-5.15.0-1073-azure # Status after upgrading: azureuser@wala-focal-vm:~$ ps -ef | grep -i agent | grep -v grep root 4431 1 0 16:10 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon root 4712 4431 0 16:10 ? 00:00:00 /usr/bin/python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers azureuser@wala-focal-vm:~$ waagent --version WALinuxAgent-2.11.1.4 running on ubuntu 20.04 Python: 3.8.10 Goal state agent: 2.12.0.2 azureuser@wala-focal-vm:~$ sudo systemctl status walinuxagent Warning: The unit file, source configuration file or drop-ins of walinuxagent.service changed on disk. Run 'systemctl daemon-reload' to reload units. ● walinuxagent.service - Azure Linux Agent Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/walinuxagent.service.d └─10-Slice.conf, 11-CPUAccounting.conf, 12-CPUQuota.conf, 13-MemoryAccounting.conf Active: active (running) since Tue 2024-10-08 16:10:14 UTC; 4min 24s ago Main PID: 4431 (python3) Tasks: 7 (limit: 9456) Memory: 33.7M CPU: 1.650s CGroup: /azure.slice/walinuxagent.service ├─4431 /usr/bin/python3 -u /usr/sbin/waagent -daemon └─4712 /usr/bin/python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers Oct 08 16:10:19 wala-focal-vm python3[4712]: Retaining 15 most recent operation Extension logs, deleting others. Oct 08 16:10:19 wala-focal-vm python3[4712]: -------------------------------------------------------------------------------------------------------------------------------- Oct 08 16:10:19 wala-focal-vm python3[4712]: Performing sudo status check... This should complete within 10 seconds. Oct 08 16:10:19 wala-focal-vm python3[4712]: [stderr] Oct 08 16:10:19 wala-focal-vm python3[4712]: Running scope as unit: enable_73ffbad1-1bea-461d-a36b-a146935767e1.scope Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.494266Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState completed [etag_15731748798722539797 2172 ms] Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.519956Z INFO ExtHandler ExtHandler Extension status: [('Microsoft.CPlat.Core.LinuxPatchExtension', 'success')] Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.520477Z INFO ExtHandler ExtHandler All extensions in the goal state have reached a terminal state: [('Microsoft.C> Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.521056Z INFO ExtHandler ExtHandler Looking for existing remote access users. Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.532745Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.12.0.2 is running as the goal state agent azureuser@wala-focal-vm:~$ sudo systemctl daemon-reload azureuser@wala-focal-vm:~$ sudo systemctl status walinuxagent ● walinuxagent.service - Azure Linux Agent Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/walinuxagent.service.d └─12-CPUQuota.conf Active: active (running) since Tue 2024-10-08 16:10:14 UTC; 5min ago Main PID: 4431 (python3) Tasks: 7 (limit: 9456) Memory: 33.7M CPU: 1.680s CGroup: /azure.slice/walinuxagent.service ├─4431 /usr/bin/python3 -u /usr/sbin/waagent -daemon └─4712 /usr/bin/python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers Oct 08 16:10:19 wala-focal-vm python3[4712]: Retaining 15 most recent operation Extension logs, deleting others. Oct 08 16:10:19 wala-focal-vm python3[4712]: -------------------------------------------------------------------------------------------------------------------------------- Oct 08 16:10:19 wala-focal-vm python3[4712]: Performing sudo status check... This should complete within 10 seconds. Oct 08 16:10:19 wala-focal-vm python3[4712]: [stderr] Oct 08 16:10:19 wala-focal-vm python3[4712]: Running scope as unit: enable_73ffbad1-1bea-461d-a36b-a146935767e1.scope Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.494266Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState completed [etag_15731748798722539797 2172 ms] Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.519956Z INFO ExtHandler ExtHandler Extension status: [('Microsoft.CPlat.Core.LinuxPatchExtension', 'success')] Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.520477Z INFO ExtHandler ExtHandler All extensions in the goal state have reached a terminal state: [('Microsoft.C> Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.521056Z INFO ExtHandler ExtHandler Looking for existing remote access users. Oct 08 16:10:19 wala-focal-vm python3[4712]: 2024-10-08T16:10:19.532745Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.12.0.2 is running as the goal state agent [DE> lines 1-23/23 (END) # Reboot: azureuser@wala-focal-vm:~$ uptime 16:16:29 up 0 min, 1 user, load average: 0.00, 0.00, 0.00 azureuser@wala-focal-vm:~$ sudo systemctl status walinuxagent ● walinuxagent.service - Azure Linux Agent Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/walinuxagent.service.d └─12-CPUQuota.conf Active: active (running) since Tue 2024-10-08 16:16:10 UTC; 46s ago Main PID: 669 (python3) Tasks: 7 (limit: 9456) Memory: 37.7M CPU: 1.416s CGroup: /azure.slice/walinuxagent.service ├─669 /usr/bin/python3 -u /usr/sbin/waagent -daemon └─877 /usr/bin/python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers Oct 08 16:16:15 wala-focal-vm python3[877]: Retaining 15 most recent operation Extension logs, deleting others. Oct 08 16:16:15 wala-focal-vm python3[877]: -------------------------------------------------------------------------------------------------------------------------------- Oct 08 16:16:15 wala-focal-vm python3[877]: Performing sudo status check... This should complete within 10 seconds. Oct 08 16:16:15 wala-focal-vm python3[877]: [stderr] Oct 08 16:16:15 wala-focal-vm python3[877]: Running scope as unit: enable_9676a624-0864-49cd-9ec1-363fac440fbe.scope Oct 08 16:16:15 wala-focal-vm python3[877]: 2024-10-08T16:16:15.992621Z INFO ExtHandler ExtHandler ProcessExtensionsGoalState completed [etag_15731748798722539797 2108 ms] Oct 08 16:16:16 wala-focal-vm python3[877]: 2024-10-08T16:16:16.008214Z INFO ExtHandler ExtHandler Extension status: [('Microsoft.CPlat.Core.LinuxPatchExtension', 'success')] Oct 08 16:16:16 wala-focal-vm python3[877]: 2024-10-08T16:16:16.008750Z INFO ExtHandler ExtHandler All extensions in the goal state have reached a terminal state: [('Microsoft.CP> Oct 08 16:16:16 wala-focal-vm python3[877]: 2024-10-08T16:16:16.009275Z INFO ExtHandler ExtHandler Looking for existing remote access users. Oct 08 16:16:16 wala-focal-vm python3[877]: 2024-10-08T16:16:16.020499Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.12.0.2 is running as the goal state agent [DEB> ~ azureuser@wala-focal-vm:~$ ps -ef | grep -i agent | grep -v grep root 669 1 0 16:16 ? 00:00:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon root 877 669 0 16:16 ? 00:00:00 /usr/bin/python3 -u bin/WALinuxAgent-2.12.0.2-py3.9.egg -run-exthandlers No errors on WALA log: azureuser@wala-focal-vm:~$ grep ERROR /var/log/waagent.log azureuser@wala-focal-vm:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068021 Title: MRE updates of walinuxagent 2.11.1.4 into N/J/F To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/2068021/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs