[2026-07-21T16:19:44.916+0800] INFO - ::group::Pre task execution logs [2026-07-21T16:19:45.104+0800] INFO - Dependencies all met for dep_context=non-requeueable deps ti= [2026-07-21T16:19:45.120+0800] INFO - Dependencies all met for dep_context=requeueable deps ti= [2026-07-21T16:19:45.121+0800] INFO - Starting attempt 3 of 3 [2026-07-21T16:19:45.173+0800] INFO - Executing on 2026-07-21 06:49:19.350049+00:00 [2026-07-21T16:19:45.177+0800] INFO - Started process 13089 to run task [2026-07-21T16:19:45.181+0800] INFO - Running: ['airflow', 'tasks', 'run', 'init_server_with_tag', 'config_deps', 'manual__2026-07-21T06:49:19.350049+00:00', '--job-id', '9177', '--raw', '--subdir', 'DAGS_FOLDER/init_server_with_tag.py', '--cfg-path', '/tmp/tmpcrykfizg'] [2026-07-21T16:19:45.183+0800] INFO - Job 9177: Subtask config_deps [2026-07-21T16:19:45.241+0800] INFO - Running on host observer65 [2026-07-21T16:19:45.392+0800] INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='airflow' AIRFLOW_CTX_DAG_ID='init_server_with_tag' AIRFLOW_CTX_TASK_ID='config_deps' AIRFLOW_CTX_EXECUTION_DATE='2026-07-21T06:49:19.350049+00:00' AIRFLOW_CTX_TRY_NUMBER='3' AIRFLOW_CTX_DAG_RUN_ID='manual__2026-07-21T06:49:19.350049+00:00' [2026-07-21T16:19:45.392+0800] INFO - ::endgroup:: [2026-07-21T16:19:45.403+0800] INFO - Running statement: select oat_server.id, oat_credential.id as credential_id, ip, ssh_port, username, password, auth_type, key_data, passphrase from oat_server, oat_credential where oat_server.credential_id=oat_credential.id and oat_server.id=%s, parameters: [16] [2026-07-21T16:19:45.404+0800] INFO - Rows affected: 1 [2026-07-21T16:19:45.529+0800] INFO - os type is centos7_or_uosc, need install deps and cmd is mysql:mariadb python:python ifconfig:net-tools mtr:mtr tar:tar strings:binutils dig:bind-utils :libaio curl:curl :libatomic nc:nc ip:iproute gdb:gdb sar:sysstat perf:perf top:procps-ng asar:antsar [2026-07-21T16:19:45.530+0800] INFO - execute command on 10.30.12.60: os_type=centos7_or_uosc final_exit_code=0 install_failed_deps="" if [[ "$os_type" =~ ^(centos7_or_uosc|redhat9_or_rocky9|kylin_like)$ ]]; then for cmd_pkg in mysql:mariadb python:python ifconfig:net-tools mtr:mtr tar:tar strings:binutils dig:bind-utils :libaio curl:curl :libatomic nc:nc ip:iproute gdb:gdb sar:sysstat perf:perf top:procps-ng asar:antsar do cmd=$(echo "$cmd_pkg" | cut -d':' -f1) pkg=$(echo "$cmd_pkg" | cut -d':' -f2) if [[ "$pkg" == "antsar" ]]; then if ! rpm --quiet --query antsar; then rpm -i /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.2ldihavi.rpm tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi fi elif [[ "$pkg" =~ ^python ]]; then python_version=$(python -V 2>&1 | awk '{print $2}') if [[ "$pkg" == "python2" && "$python_version" =~ ^2 ]] || [[ "$pkg" == "python3" && "$python_version" =~ ^3 ]]; then continue fi yum install --nogpgcheck -y $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" else python_version=$(python -V 2>&1 | awk '{print $2}') if [[ "$pkg" == "python2" ]]; then if ! echo "$python_version"|grep -q "^2"; then alternatives --install /usr/bin/python python /usr/bin/python2 1 fi else if ! echo "$python_version"|grep -q "^3"; then alternatives --install /usr/bin/python python /usr/bin/python3 1 fi fi fi else if [[ -n "$cmd" ]] && which "$cmd" >/dev/null 2>&1; then continue fi yum install --nogpgcheck -y $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi fi done elif [[ "$os_type" == "suse" ]]; then for cmd_pkg in mysql:mariadb python:python ifconfig:net-tools mtr:mtr tar:tar strings:binutils dig:bind-utils :libaio curl:curl :libatomic nc:nc ip:iproute gdb:gdb sar:sysstat perf:perf top:procps-ng asar:antsar do cmd=$(echo "$cmd_pkg" | cut -d':' -f1) pkg=$(echo "$cmd_pkg" | cut -d':' -f2) if [[ "$pkg" == "antsar" ]]; then zypper --no-gpg-checks in -y /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.2ldihavi.rpm tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi elif [[ "$pkg" == "net-tools" ]]; then if [[ -n "$cmd" ]] && which "$cmd" >/dev/null 2>&1; then continue fi zypper in -y net-tools tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]] || ! which ifconfig &>/dev/null; then zypper in -y net-tools-deprecated tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps net-tools-deprecated" fi fi elif [[ "$pkg" =~ ^python ]]; then python_version=$(python -V 2>&1 | awk '{print $2}') if [[ "$pkg" == "python2" && "$python_version" =~ ^2 ]] || [[ "$pkg" == "python3" && "$python_version" =~ ^3 ]]; then continue fi zypper in -y $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" else python_version=$(python -V 2>&1 | awk '{print $2}') if [[ "$pkg" == "python2" ]]; then if ! echo "$python_version"|grep -q "^2"; then alternatives --install /usr/bin/python python /usr/bin/python2 1 fi else if ! echo "$python_version"|grep -q "^3"; then alternatives --install /usr/bin/python python /usr/bin/python3 1 fi fi fi else if [[ -n "$cmd" ]] && which "$cmd" >/dev/null 2>&1; then continue fi zypper in -y $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi fi done elif [[ "$os_type" == "debian" ]]; then for cmd_pkg in mysql:mariadb python:python ifconfig:net-tools mtr:mtr tar:tar strings:binutils dig:bind-utils :libaio curl:curl :libatomic nc:nc ip:iproute gdb:gdb sar:sysstat perf:perf top:procps-ng asar:antsar do cmd=$(echo "$cmd_pkg" | cut -d':' -f1) pkg=$(echo "$cmd_pkg" | cut -d':' -f2) if [[ "$pkg" == "antsar" ]]; then alien -i /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.2ldihavi.rpm which asar >/dev/null 2>&1 || rpm -ivh /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.2ldihavi.rpm --nodeps tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi elif [[ "$pkg" == "libaio1" ]]; then apt-get --allow-unauthenticated -y install $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then apt-get --allow-unauthenticated -y install libaio1t64 tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi fi elif [[ "$pkg" =~ ^python ]]; then python_version=$(python -V 2>&1 | awk '{print $2}') if [[ "$pkg" == "python2" && "$python_version" =~ ^2 ]] || [[ "$pkg" == "python3" && "$python_version" =~ ^3 ]]; then continue fi apt-get --allow-unauthenticated -y install $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" else python_version=$(python -V 2>&1 | awk '{print $2}') if [[ "$pkg" == "python2" ]]; then if ! echo "$python_version"|grep -q "^2"; then update-alternatives --install /usr/bin/python python /usr/bin/python2 1 fi else if ! echo "$python_version"|grep -q "^3"; then update-alternatives --install /usr/bin/python python /usr/bin/python3 1 fi fi fi else if [[ -n "$cmd" ]] && which "$cmd" >/dev/null 2>&1; then continue fi apt-get --allow-unauthenticated -y install $pkg tmp_exit_code=$? if [[ $tmp_exit_code != 0 ]]; then final_exit_code=$tmp_exit_code install_failed_deps="$install_failed_deps $pkg" fi fi done else echo "can not get the linux distribution info, need to install package manually. tips: you can skip this step, then install the packages if the later precheck step suggest" exit 1 fi if [[ $final_exit_code != 0 ]]; then echo "Install deps${install_failed_deps} failed. If you are sure that the dependencies that failed to install are not needed, you can ignore them by specifying the system parameter oat.server.ignore_deps" >&2 fi exit $final_exit_code [2026-07-21T16:19:45.689+0800] INFO - Loaded plugins: fastestmirror, langpacks [2026-07-21T16:19:45.740+0800] INFO - Loading mirror speeds from cached hostfile [2026-07-21T16:19:45.741+0800] INFO - * base: mirrors.aliyun.com [2026-07-21T16:19:45.741+0800] INFO - * extras: mirrors.aliyun.com [2026-07-21T16:19:45.742+0800] INFO - * updates: mirrors.aliyun.com [2026-07-21T16:19:45.912+0800] INFO - Package python-2.7.5-94.el7_9.x86_64 already installed and latest version [2026-07-21T16:19:45.912+0800] INFO - Nothing to do [2026-07-21T16:19:46.108+0800] INFO - Loaded plugins: fastestmirror, langpacks [2026-07-21T16:19:46.162+0800] INFO - Loading mirror speeds from cached hostfile [2026-07-21T16:19:46.162+0800] INFO - * base: mirrors.aliyun.com [2026-07-21T16:19:46.163+0800] INFO - * extras: mirrors.aliyun.com [2026-07-21T16:19:46.163+0800] INFO - * updates: mirrors.aliyun.com [2026-07-21T16:19:46.319+0800] INFO - Package libaio-0.3.109-13.el7.x86_64 already installed and latest version [2026-07-21T16:19:46.320+0800] INFO - Nothing to do [2026-07-21T16:19:46.484+0800] INFO - Loaded plugins: fastestmirror, langpacks [2026-07-21T16:19:46.540+0800] INFO - Loading mirror speeds from cached hostfile [2026-07-21T16:19:46.540+0800] INFO - * base: mirrors.aliyun.com [2026-07-21T16:19:46.540+0800] INFO - * extras: mirrors.aliyun.com [2026-07-21T16:19:46.541+0800] INFO - * updates: mirrors.aliyun.com [2026-07-21T16:19:46.706+0800] INFO - Resolving Dependencies [2026-07-21T16:19:46.707+0800] INFO - --> Running transaction check [2026-07-21T16:19:46.707+0800] INFO - ---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed [2026-07-21T16:19:47.883+0800] INFO - --> Finished Dependency Resolution [2026-07-21T16:19:48.093+0800] INFO - [2026-07-21T16:19:48.093+0800] INFO - Dependencies Resolved [2026-07-21T16:19:48.093+0800] INFO - [2026-07-21T16:19:48.094+0800] INFO - ================================================================================ [2026-07-21T16:19:48.094+0800] INFO - Package Arch Version Repository Size [2026-07-21T16:19:48.094+0800] INFO - ================================================================================ [2026-07-21T16:19:48.094+0800] INFO - Installing: [2026-07-21T16:19:48.095+0800] INFO - libatomic x86_64 4.8.5-44.el7 base 51 k [2026-07-21T16:19:48.095+0800] INFO - [2026-07-21T16:19:48.095+0800] INFO - Transaction Summary [2026-07-21T16:19:48.095+0800] INFO - ================================================================================ [2026-07-21T16:19:48.095+0800] INFO - Install 1 Package [2026-07-21T16:19:48.095+0800] INFO - [2026-07-21T16:19:48.096+0800] INFO - Total download size: 51 k [2026-07-21T16:19:48.096+0800] INFO - Installed size: 26 k [2026-07-21T16:19:48.096+0800] INFO - Downloading packages: [2026-07-21T16:19:48.103+0800] ERROR - [2026-07-21T16:19:48.104+0800] ERROR - [2026-07-21T16:19:48.104+0800] ERROR - Error downloading packages: [2026-07-21T16:19:48.104+0800] ERROR - libatomic-4.8.5-44.el7.x86_64: [Errno 5] [Errno 40] Too many levels of symbolic links [2026-07-21T16:19:48.318+0800] INFO - Loaded plugins: fastestmirror, langpacks [2026-07-21T16:19:48.375+0800] INFO - Loading mirror speeds from cached hostfile [2026-07-21T16:19:48.376+0800] INFO - * base: mirrors.aliyun.com [2026-07-21T16:19:48.376+0800] INFO - * extras: mirrors.aliyun.com [2026-07-21T16:19:48.376+0800] INFO - * updates: mirrors.aliyun.com [2026-07-21T16:19:48.607+0800] INFO - Resolving Dependencies [2026-07-21T16:19:48.608+0800] INFO - --> Running transaction check [2026-07-21T16:19:48.608+0800] INFO - ---> Package perf.x86_64 0:3.10.0-1160.119.1.el7 will be installed [2026-07-21T16:19:49.033+0800] INFO - --> Finished Dependency Resolution [2026-07-21T16:19:49.413+0800] INFO - [2026-07-21T16:19:49.414+0800] INFO - Dependencies Resolved [2026-07-21T16:19:49.414+0800] INFO - [2026-07-21T16:19:49.415+0800] INFO - ================================================================================ [2026-07-21T16:19:49.415+0800] INFO - Package Arch Version Repository Size [2026-07-21T16:19:49.415+0800] INFO - ================================================================================ [2026-07-21T16:19:49.415+0800] INFO - Installing: [2026-07-21T16:19:49.416+0800] INFO - perf x86_64 3.10.0-1160.119.1.el7 updates 9.7 M [2026-07-21T16:19:49.416+0800] INFO - [2026-07-21T16:19:49.416+0800] INFO - Transaction Summary [2026-07-21T16:19:49.416+0800] INFO - ================================================================================ [2026-07-21T16:19:49.416+0800] INFO - Install 1 Package [2026-07-21T16:19:49.416+0800] INFO - [2026-07-21T16:19:49.416+0800] INFO - Total download size: 9.7 M [2026-07-21T16:19:49.417+0800] INFO - Installed size: 6.5 M [2026-07-21T16:19:49.417+0800] INFO - Downloading packages: [2026-07-21T16:19:49.423+0800] ERROR - [2026-07-21T16:19:49.423+0800] ERROR - [2026-07-21T16:19:49.423+0800] ERROR - Error downloading packages: [2026-07-21T16:19:49.424+0800] ERROR - perf-3.10.0-1160.119.1.el7.x86_64: [Errno 5] [Errno 40] Too many levels of symbolic links [2026-07-21T16:19:49.512+0800] ERROR - Install deps libatomic perf failed. If you are sure that the dependencies that failed to install are not needed, you can ignore them by specifying the system parameter oat.server.ignore_deps [2026-07-21T16:19:49.513+0800] INFO - execute command on 10.30.12.60: rm -f /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.2ldihavi.rpm [2026-07-21T16:19:49.545+0800] ERROR - Task failed with exception Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/airflow/models/taskinstance.py", line 768, in _execute_task result = _execute_callable(context=context, **execute_callable_kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/models/taskinstance.py", line 734, in _execute_callable return ExecutionCallableRunner( File "/usr/local/lib/python3.9/site-packages/airflow/utils/operator_helpers.py", line 252, in run return self.func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/models/baseoperator.py", line 424, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/decorators/base.py", line 266, in execute return_value = super().execute(context) File "/usr/local/lib/python3.9/site-packages/airflow/models/baseoperator.py", line 424, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/operators/python.py", line 238, in execute return_value = self.execute_callable() File "/usr/local/lib/python3.9/site-packages/airflow/operators/python.py", line 256, in execute_callable return runner.run(*self.op_args, **self.op_kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/utils/operator_helpers.py", line 252, in run return self.func(*args, **kwargs) File "/oat/task_engine/dags/init_server_with_tag.py", line 66, in config_deps common.config_os_deps(ctx, logger) File "/oat/task_engine/plugins/common.py", line 2633, in config_os_deps raise RuntimeError('config os deps failed') RuntimeError: config os deps failed [2026-07-21T16:19:49.555+0800] INFO - Marking task as FAILED. dag_id=init_server_with_tag, task_id=config_deps, run_id=manual__2026-07-21T06:49:19.350049+00:00, execution_date=20260721T064919, start_date=20260721T081945, end_date=20260721T081949 [2026-07-21T16:19:49.556+0800] INFO - Executing callback at index 0: task_failure_status [2026-07-21T16:19:49.583+0800] INFO - ::group::Post task execution logs [2026-07-21T16:19:49.583+0800] ERROR - Failed to execute job 9177 for task config_deps (config os deps failed; 13089) [2026-07-21T16:19:49.608+0800] INFO - Task exited with return code 1 [2026-07-21T16:19:49.624+0800] INFO - 0 downstream tasks scheduled from follow-on schedule check [2026-07-21T16:19:49.625+0800] INFO - ::endgroup: