The issue is with the patch embed-distutils-to-azurelinuxagent.patch which creates the __init__.py file in distutils but this file is ignored by dpkg-source as it is empty. Because this file is not present, setuptools doesn't see this directory as a python package and doesn't include it in the debian package.
** Description changed: 2.11.1.4-0ubuntu1 introduces a bug which prevents the agent from starting. The issue is due to a missing python package: azurelinuxagent/distutils that should be installed with the package. + + + $ systemctl status walinuxagent + × walinuxagent.service - Azure Linux Agent + Loaded: loaded (/usr/lib/systemd/system/walinuxagent.service; enabled; preset: enabled) + Active: failed (Result: exit-code) since Fri 2024-08-16 03:38:40 UTC; 8min ago + Duration: 1.114s + Invocation: fcf1ab30b85b4de1850e748e935882ab + Process: 3840 ExecStart=/usr/bin/python3 -u /usr/sbin/waagent -daemon (code=exited, status=1/FAILURE) + Main PID: 3840 (code=exited, status=1/FAILURE) + + Aug 16 03:38:40 ctf-vgfygihvnn systemd[1]: walinuxagent.service: Scheduled restart job, restart counter is at 5. + Aug 16 03:38:40 ctf-vgfygihvnn systemd[1]: walinuxagent.service: Start request repeated too quickly. + Aug 16 03:38:40 ctf-vgfygihvnn systemd[1]: walinuxagent.service: Failed with result 'exit-code'. + Aug 16 03:38:40 ctf-vgfygihvnn systemd[1]: Failed to start walinuxagent.service - Azure Linux Agent. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077975 Title: agent fails to start on devel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/2077975/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
