Nov 5 08:03:13 User python3[740]: 2024-11-05T08:03:13.352390Z ERROR Daemon Event: name=WALinuxAgent, op=Enable, message=eJw1zLsOgzAMQNFf8cYUokLVgS07e2eXuE2kYCrHFvTveUgdr3R1wodY4RnGzLaFM1zXdu39AQWNp0QR1qwJpmWekSM035+mhXtwBt6q+PrK7FfEy3Fi7GjTdKyFpDbwxlz+hpCa8EFFGuC2AyUXKrQ=, duration=0
Nov 5 08:03:13 User python3[740]: 2024-11-05T08:03:13.361035Z WARNING Daemon Agent WALinuxAgent-2.2.46 launched with command 'python3 -u /usr/sbin/waagent -run-exthandlers' returned code: 1
Nov 5 08:03:13 User python3[740]: 2024-11-05T08:03:13.366356Z INFO Daemon Installed Agent WALinuxAgent-2.2.46 is the most current agent
Nov 5 08:03:13 User python3[1385810]: /usr/sbin/waagent:27: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
Nov 5 08:03:13 User python3[1385810]: import imp
Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.594790Z INFO ExtHandler Agent WALinuxAgent-2.2.46 is running as the goal state agent
Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.598997Z INFO ExtHandler Distro info: ubuntu 20.04, osutil class being used: UbuntuOSUtil, agent service name: walinuxagent
Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.652966Z INFO ExtHandler WireServer endpoint 168.63.129.16 read from file
Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.656023Z INFO ExtHandler Wire server endpoint:168.63.129.16
Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.659958Z WARNING ExtHandler Agent WALinuxAgent-2.2.46 failed with exception: str expected, not NoneType
Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.666322Z WARNING ExtHandler Traceback (most recent call last):
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/update.py", line 268, in run
Nov 5 08:03:13 User python3[1385810]: monitor_thread.run()
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/monitor.py", line 146, in run
Nov 5 08:03:13 User python3[1385810]: self.init_sysinfo()
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/monitor.py", line 185, in init_sysinfo
Nov 5 08:03:13 User python3[1385810]: vminfo = self.protocol.get_vminfo()
Nov 5 08:03:13 User python3[1385810]: ^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 113, in get_vminfo
Nov 5 08:03:13 User python3[1385810]: goal_state = self.client.get_goal_state()
Nov 5 08:03:13 User python3[1385810]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 856, in get_goal_state
Nov 5 08:03:13 User python3[1385810]: self.goal_state = GoalState(xml_text)
Nov 5 08:03:13 User python3[1385810]: ^^^^^^^^^^^^^^^^^^^
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 1381, in __init__
Nov 5 08:03:13 User python3[1385810]: self._parse(xml_text)
Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 1398, in _parse
Nov 5 08:03:13 User python3[1385810]: os.environ[CONTAINER_ID_ENV_VARIABLE] = self.container_id
Nov 5 08:03:13 User python3[1385810]: ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 5 08:03:13 User python3[1385810]: File "", line 684, in __setitem__
Nov 5 08:03:13 User python3[1385810]: File "", line 758, in encode
Nov 5 08:03:13 User python3[1385810]: TypeError: str expected, not NoneType
он жалуется на переменную контейнера, но не знаете, как это решить?
У меня есть одна виртуальная машина Azure, которая выдает ошибку. [code]Nov 5 08:03:13 User python3[740]: 2024-11-05T08:03:13.352390Z ERROR Daemon Event: name=WALinuxAgent, op=Enable, message=eJw1zLsOgzAMQNFf8cYUokLVgS07e2eXuE2kYCrHFvTveUgdr3R1wodY4RnGzLaFM1zXdu39AQWNp0QR1qwJpmWekSM035+mhXtwBt6q+PrK7FfEy3Fi7GjTdKyFpDbwxlz+hpCa8EFFGuC2AyUXKrQ=, duration=0 Nov 5 08:03:13 User python3[740]: 2024-11-05T08:03:13.361035Z WARNING Daemon Agent WALinuxAgent-2.2.46 launched with command 'python3 -u /usr/sbin/waagent -run-exthandlers' returned code: 1 Nov 5 08:03:13 User python3[740]: 2024-11-05T08:03:13.366356Z INFO Daemon Installed Agent WALinuxAgent-2.2.46 is the most current agent Nov 5 08:03:13 User python3[1385810]: /usr/sbin/waagent:27: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses Nov 5 08:03:13 User python3[1385810]: import imp Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.594790Z INFO ExtHandler Agent WALinuxAgent-2.2.46 is running as the goal state agent Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.598997Z INFO ExtHandler Distro info: ubuntu 20.04, osutil class being used: UbuntuOSUtil, agent service name: walinuxagent Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.652966Z INFO ExtHandler WireServer endpoint 168.63.129.16 read from file Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.656023Z INFO ExtHandler Wire server endpoint:168.63.129.16 Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.659958Z WARNING ExtHandler Agent WALinuxAgent-2.2.46 failed with exception: str expected, not NoneType Nov 5 08:03:13 User python3[1385810]: 2024-11-05T08:03:13.666322Z WARNING ExtHandler Traceback (most recent call last): Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/update.py", line 268, in run Nov 5 08:03:13 User python3[1385810]: monitor_thread.run() Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/monitor.py", line 146, in run Nov 5 08:03:13 User python3[1385810]: self.init_sysinfo() Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/ga/monitor.py", line 185, in init_sysinfo Nov 5 08:03:13 User python3[1385810]: vminfo = self.protocol.get_vminfo() Nov 5 08:03:13 User python3[1385810]: ^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 113, in get_vminfo Nov 5 08:03:13 User python3[1385810]: goal_state = self.client.get_goal_state() Nov 5 08:03:13 User python3[1385810]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 856, in get_goal_state Nov 5 08:03:13 User python3[1385810]: self.goal_state = GoalState(xml_text) Nov 5 08:03:13 User python3[1385810]: ^^^^^^^^^^^^^^^^^^^ Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 1381, in __init__ Nov 5 08:03:13 User python3[1385810]: self._parse(xml_text) Nov 5 08:03:13 User python3[1385810]: File "/usr/lib/python3/dist-packages/azurelinuxagent/common/protocol/wire.py", line 1398, in _parse Nov 5 08:03:13 User python3[1385810]: os.environ[CONTAINER_ID_ENV_VARIABLE] = self.container_id Nov 5 08:03:13 User python3[1385810]: ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 5 08:03:13 User python3[1385810]: File "", line 684, in __setitem__ Nov 5 08:03:13 User python3[1385810]: File "", line 758, in encode Nov 5 08:03:13 User python3[1385810]: TypeError: str expected, not NoneType [/code] он жалуется на переменную контейнера, но не знаете, как это решить?