-
Notifications
You must be signed in to change notification settings - Fork 902
Open
Labels
Description
What happened?
Microsoft.Azure.DevOps.Pipelines.Agent extension for Virtual Machine Scale Set depends on distutils, but distutils is removed from recent python versions.
Versions
Agent 4.261.0
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Debian 13
Version controll system
No response
Relevant log output
Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/Utils/WAAgentUtil.py", line 82, in <module> waagent = load_source('waagent', agentPath) File "/var/lib/waagent/Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/Utils/WAAgentUtil.py", line 46, in load_source spec.loader.exec_module(module) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "<frozen importlib._bootstrap_external>", line 1026, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/var/lib/waagent/Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/./WaagentLib.py", line 59, in <module> from distutils.version import LooseVersion ModuleNotFoundError: No module named 'distutils' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/waagent/Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/./AzureRM.py", line 9, in <module> import Utils.HandlerUtil as Util File "/var/lib/waagent/Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/Utils/HandlerUtil.py", line 71, in <module> from .WAAgentUtil import waagent File "/var/lib/waagent/Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/Utils/WAAgentUtil.py", line 89, in <module> waagent = load_source('waagent', agentPath) File "/var/lib/waagent/Microsoft.VisualStudio.Services.TeamServicesAgentLinux-1.26.2.0/Utils/WAAgentUtil.py", line 44, in load_source module = importlib.util.module_from_spec(spec) File "<frozen importlib._bootstrap>", line 810, in module_from_spec AttributeError: 'NoneType' object has no attribute 'loader' '. 'Install handler failed for the extension.