############{1}{2026-03-17T00:07:23+08:00}############ [2026-03-17T00:07:23.024+0800] INFO - ::group::Pre task execution logs [2026-03-17T00:07:23.091+0800] INFO - Dependencies all met for dep_context=non-requeueable deps ti= [2026-03-17T00:07:23.131+0800] INFO - Dependencies all met for dep_context=requeueable deps ti= [2026-03-17T00:07:23.132+0800] INFO - Starting attempt 1 of 1 [2026-03-17T00:07:23.178+0800] INFO - Executing on 2026-03-16 16:07:12.606325+00:00 [2026-03-17T00:07:23.190+0800] INFO - Started process 5162 to run task [2026-03-17T00:07:23.200+0800] INFO - Running: ['airflow', 'tasks', 'run', 'init_server_with_tag', 'config_deps', 'manual__2026-03-16T16:07:12.606325+00:00', '--job-id', '79', '--raw', '--subdir', 'DAGS_FOLDER/init_server_with_tag.py', '--cfg-path', '/tmp/tmp0wmhqr3u'] [2026-03-17T00:07:23.206+0800] INFO - Job 79: Subtask config_deps [2026-03-17T00:07:23.387+0800] INFO - Running on host ocp [2026-03-17T00:07:24.002+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-03-16T16:07:12.606325+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='manual__2026-03-16T16:07:12.606325+00:00' [2026-03-17T00:07:24.004+0800] INFO - ::endgroup:: [2026-03-17T00:07:24.042+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: [4] [2026-03-17T00:07:24.046+0800] INFO - Rows affected: 1 [2026-03-17T00:07:24.386+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 fio:fio zstd:zstd asar:antsar [2026-03-17T00:07:24.392+0800] INFO - execute command on 172.18.8.77: 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 fio:fio zstd:zstd 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 if rpm --help 2>&1 | grep -q -- '--nosignature'; then rpm -i --nosignature /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.G1FAJFIB.rpm else rpm -i /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.G1FAJFIB.rpm fi 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 fio:fio zstd:zstd 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.G1FAJFIB.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 fio:fio zstd:zstd 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.G1FAJFIB.rpm if ! which asar >/dev/null 2>&1; then if rpm --help 2>&1 | grep -q -- '--nosignature'; then rpm -ivh --nosignature /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.G1FAJFIB.rpm --nodeps else rpm -ivh /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.G1FAJFIB.rpm --nodeps fi fi 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-03-17T00:07:25.274+0800] INFO - Loaded plugins: fastestmirror [2026-03-17T00:07:25.302+0800] INFO - Determining fastest mirrors [2026-03-17T00:07:25.848+0800] INFO - Package python-2.7.5-89.el7.x86_64 already installed and latest version [2026-03-17T00:07:25.849+0800] INFO - Nothing to do [2026-03-17T00:07:25.968+0800] ERROR - bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory [2026-03-17T00:07:25.988+0800] ERROR - bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory [2026-03-17T00:07:26.081+0800] ERROR - bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory [2026-03-17T00:07:27.481+0800] INFO - enable asar... [2026-03-17T00:07:27.489+0800] ERROR - Created symlink from /etc/systemd/system/multi-user.target.wants/asar.service to /usr/lib/systemd/system/asar.service. [2026-03-17T00:07:27.614+0800] INFO - start asar.... [2026-03-17T00:07:29.927+0800] ERROR - Install deps libaio libatomic zstd 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-03-17T00:07:29.930+0800] INFO - execute command on 172.18.8.77: rm -f /tmp/antsar-2.1.9-20250905115440.alios7.x86_64.rpm.G1FAJFIB.rpm [2026-03-17T00:07:30.011+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 60, in config_deps common.config_os_deps(ctx, logger) File "/oat/task_engine/plugins/common.py", line 2670, in config_os_deps raise RuntimeError('config os deps failed') RuntimeError: config os deps failed [2026-03-17T00:07:30.044+0800] INFO - Marking task as FAILED. dag_id=init_server_with_tag, task_id=config_deps, run_id=manual__2026-03-16T16:07:12.606325+00:00, execution_date=20260316T160712, start_date=20260316T160723, end_date=20260316T160730 [2026-03-17T00:07:30.045+0800] INFO - Executing callback at index 0: task_failure_status [2026-03-17T00:07:30.113+0800] INFO - ::group::Post task execution logs [2026-03-17T00:07:30.115+0800] ERROR - Failed to execute job 79 for task config_deps (config os deps failed; 5162) [2026-03-17T00:07:30.143+0800] INFO - Task exited with return code 1 [2026-03-17T00:07:30.232+0800] INFO - 0 downstream tasks scheduled from follow-on schedule check [2026-03-17T00:07:30.248+0800] INFO - ::endgroup::