[Bug 2077975] Re: walinuxagent.service fails to start on oracular

Ubuntu Foundations Team Bug Bot 2077975 at bugs.launchpad.net
Tue Aug 27 16:23:13 UTC 2024


The attachment "walinuxagent.debdiff" seems to be a debdiff.  The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2077975

Title:
  walinuxagent.service fails to start on oracular

Status in cloud-images:
  In Progress
Status in walinuxagent package in Ubuntu:
  In Progress

Bug description:
  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.

  $ /usr/bin/python3 -u /usr/sbin/waagent
  Traceback (most recent call last):
    File "/usr/sbin/waagent", line 35, in <module>
      import azurelinuxagent.agent as agent
    File "/usr/lib/python3/dist-packages/azurelinuxagent/agent.py", line 31, in <module>
      from azurelinuxagent.ga import logcollector, cgroupconfigurator
    File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/logcollector.py", line 29, in <module>
      from azurelinuxagent.common.conf import get_lib_dir, get_ext_log_dir, get_agent_log_file
    File "/usr/lib/python3/dist-packages/azurelinuxagent/common/conf.py", line 26, in <module>
      from azurelinuxagent.common.utils.fileutil import read_file #pylint: disable=R0401
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/azurelinuxagent/common/utils/fileutil.py", line 31, in <module>
      import azurelinuxagent.common.logger as logger
    File "/usr/lib/python3/dist-packages/azurelinuxagent/common/logger.py", line 24, in <module>
      from azurelinuxagent.common.future import ustr
    File "/usr/lib/python3/dist-packages/azurelinuxagent/common/future.py", line 75, in <module>
      from azurelinuxagent.distutils import version
  ModuleNotFoundError: No module named 'azurelinuxagent.distutils'

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2077975/+subscriptions




More information about the Ubuntu-sponsors mailing list