x2openEuler到底有没有通过测试啊?


第一个问题是:程序去/opt/x2openEuler/路径下拷贝rpm包,实际的rpm路径在/etc/x2openEuler/rpms下,所以 not found
第二个问题是:程序去/opt/x2openEuler-upgrade/output/upgrade-check/拷贝json文件,实际的json文件在/opt/x2openEuler/output/env-check/node-ip/下面 所以 not found

分别对应两个检查项:InstallPackageActor和CheckUpgradeNode

2024-10-29  04:44:14 Tue|6460:140074180654848|record_time.py:110|update_up_step_time|INFO|node test connectivity_test_in_progress start time is 2024-10-29 04:44:14.903087
 === 
2024-10-29  04:44:14 Tue|6532:140074428593920|actor_thread.py:24|run|INFO|run in <class 'taskmanager.actors.env_check_actor.target_con_check_actor.CheckTargetConActor'>
2024-10-29  04:44:14 Tue|6532:140074428593920|target_con_check_actor.py:33|run|INFO|in node < id:1 ip:*.*.*.* > ,SSH connectivity start check task start ......
2024-10-29  04:44:14 Tue|6532:140074428593920|try_connect.py:26|try_login|INFO|auth type is:password_auth
2024-10-29  04:44:15 Tue|6532:140074428593920|utils.py:173|_ssh_login_and_change_root|INFO|ssh_client login successfully
2024-10-29  04:44:15 Tue|6532:140074428593920|try_connect.py:47|try_login|INFO|now login as root!
2024-10-29  04:44:15 Tue|6532:140074428593920|try_connect.py:53|try_login|INFO|in node < id:1 ip:*.*.*.* > ,try ssh connect finish
2024-10-29  04:44:15 Tue|6532:140074428593920|target_con_check_actor.py:37|run|INFO|in node < id:1 ip:*.*.*.* > , try ssh connect success
2024-10-29  04:44:16 Tue|6532:140074413254400|env_check_scheduler.py:193|_analyse_actor_result|INFO|actor CheckTargetConActor executed finished
2024-10-29  04:44:16 Tue|6532:140074413254400|env_check_scheduler.py:203|_analyse_actor_result|INFO|[{'actor_name': 'CheckTargetConActor', 'actor_description': 'reluEnepo#
CheckTargetConActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetConActor_successful_solutionreluEn
epo#', 'failed_reason': 'reluEnepo#CheckTargetConActor_successful_reasonreluEnepo#'}]
2024-10-29  04:44:16 Tue|6532:140074413254400|env_check_scheduler.py:210|_run_actors|INFO|running actor:CheckOpenEulerCorePackageActor
2024-10-29  04:44:16 Tue|6532:140074428593920|actor_thread.py:24|run|INFO|run in <class 'taskmanager.actors.env_check_actor.openeuler_core_package_check_actor.CheckOpenEul
erCorePackageActor'>
2024-10-29  04:44:16 Tue|6532:140074428593920|try_connect.py:26|try_login|INFO|auth type is:password_auth
2024-10-29  04:44:17 Tue|6532:140074428593920|utils.py:173|_ssh_login_and_change_root|INFO|ssh_client login successfully
2024-10-29  04:44:17 Tue|6532:140074428593920|try_connect.py:47|try_login|INFO|now login as root!
2024-10-29  04:44:17 Tue|6532:140074428593920|try_connect.py:53|try_login|INFO|in node < id:1         ip:*.*.*.* > ,try ssh connect finish
2024-10-29  04:44:17 Tue|6532:140074428593920|openeuler_core_package_check_actor.py:60|run|INFO|start check x2openEuler-core package
2024-10-29  04:44:17 Tue|6532:140074428593920|openeuler_core_package_check_actor.py:63|run|INFO|status_code: 1, rpm_result: . The client node does not have the x2openEuler
 core package installed
2024-10-29  04:44:18 Tue|6532:140074413254400|env_check_scheduler.py:193|_analyse_actor_result|INFO|actor CheckOpenEulerCorePackageActor executed finished
2024-10-29  04:44:18 Tue|6532:140074413254400|env_check_scheduler.py:203|_analyse_actor_result|INFO|[{'actor_name': 'CheckTargetConActor', 'actor_description': 'reluEnepo#
CheckTargetConActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetConActor_successful_solutionreluEn
epo#', 'failed_reason': 'reluEnepo#CheckTargetConActor_successful_reasonreluEnepo#'}, {'actor_name': 'CheckOpenEulerCorePackageActor', 'actor_description': 'reluEnepo#Chec
kOpenEulerCorePackageActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckOpenEulerCorePackageActor_success
ful_solution_2reluEnepo#', 'failed_reason': 'reluEnepo#CheckOpenEulerCorePackageActor_successful_reason_2reluEnepo#'}]
2024-10-29  04:44:18 Tue|6532:140074413254400|env_check_scheduler.py:210|_run_actors|INFO|running actor:CheckTargetArchActor
2024-10-29  04:44:18 Tue|6532:140074428593920|actor_thread.py:24|run|INFO|run in <class 'taskmanager.actors.env_check_actor.target_arch_check_actor.CheckTargetArchActor'>
2024-10-29  04:44:18 Tue|6532:140074428593920|target_arch_check_actor.py:36|run|INFO|start get target node arch info...
2024-10-29  04:44:18 Tue|6532:140074428593920|try_connect.py:26|try_login|INFO|auth type is:password_auth
2024-10-29  04:44:19 Tue|6532:140074428593920|utils.py:173|_ssh_login_and_change_root|INFO|ssh_client login successfully
2024-10-29  04:44:19 Tue|6532:140074428593920|try_connect.py:47|try_login|INFO|now login as root!
2024-10-29  04:44:19 Tue|6532:140074428593920|try_connect.py:53|try_login|INFO|in node < id:1         ip:*.*.*.* > ,try ssh connect finish
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:86|target_arch_check|INFO|in node < id:1         ip:*.*.*.* > ,start os system arch check
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:88|target_arch_check|INFO|in node < id:1         ip:*.*.*.* > , sending uname -m command
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:91|target_arch_check|INFO|in node < id:1         ip:*.*.*.* > ,find arch result : x86_64
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:103|target_arch_check|INFO|current step:connectivity_test return message:in node < id:1         ip
:*.*.*.* > 检测源节点(分析节点)操作系统架构为 x86_64 
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:104|target_arch_check|INFO|in node < id:1         ip:*.*.*.* > ,updating systemStructure info 
into node and message
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:111|target_arch_check|INFO|in node < id:1         ip:*.*.*.* > ,remote arch check finish
2024-10-29  04:44:19 Tue|6532:140074428593920|target_arch_check_actor.py:77|run|INFO|in node < id:1         ip:*.*.*.* > . Succeeded in obtaining arch information from
 the target node.
2024-10-29  04:44:20 Tue|6532:140074413254400|env_check_scheduler.py:193|_analyse_actor_result|INFO|actor CheckTargetArchActor executed finished
2024-10-29  04:44:20 Tue|6532:140074413254400|env_check_scheduler.py:196|_analyse_actor_result|INFO|start to update message: {'system_detail_info': '{"systemStructure": "x
86_64", "productName": "", "manufacture": "", "supplier": "", "systemVersion": "", "modelName": ""}'}
2024-10-29  04:44:20 Tue|6532:140074413254400|env_check_scheduler.py:203|_analyse_actor_result|INFO|[{'actor_name': 'CheckTargetConActor', 'actor_description': 'reluEnepo#
CheckTargetConActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetConActor_successful_solutionreluEn
epo#', 'failed_reason': 'reluEnepo#CheckTargetConActor_successful_reasonreluEnepo#'}, {'actor_name': 'CheckOpenEulerCorePackageActor', 'actor_description': 'reluEnepo#Chec
kOpenEulerCorePackageActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckOpenEulerCorePackageActor_success
ful_solution_2reluEnepo#', 'failed_reason': 'reluEnepo#CheckOpenEulerCorePackageActor_successful_reason_2reluEnepo#'}, {'actor_name': 'CheckTargetArchActor', 'actor_descri
ption': 'reluEnepo#CheckTargetArchActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetArchActor_succ
essful_solutionreluEnepo#', 'failed_reason': 'reluEnepo#CheckTargetArchActor_successful_reasonreluEnepo#'}]
2024-10-29  04:44:20 Tue|6532:140074413254400|env_check_scheduler.py:210|_run_actors|INFO|running actor:LibsolvCheckActor
2024-10-29  04:44:20 Tue|6532:140074428593920|actor_thread.py:24|run|INFO|run in <class 'taskmanager.actors.env_check_actor.libsolv_check_actor.LibsolvCheckActor'>
2024-10-29  04:44:20 Tue|6532:140074428593920|libsolv_check_actor.py:34|run|INFO|start check libsolv...
2024-10-29  04:44:20 Tue|6532:140074428593920|try_connect.py:26|try_login|INFO|auth type is:password_auth
2024-10-29  04:44:21 Tue|6532:140074428593920|utils.py:173|_ssh_login_and_change_root|INFO|ssh_client login successfully
2024-10-29  04:44:21 Tue|6532:140074428593920|try_connect.py:47|try_login|INFO|now login as root!
2024-10-29  04:44:21 Tue|6532:140074428593920|try_connect.py:53|try_login|INFO|in node < id:1 ip:*.*.*.* > ,try ssh connect finish
2024-10-29  04:44:21 Tue|6532:140074428593920|utils.py:81|execute_at_remote|INFO|start to execute command [cat /etc/os-release]
2024-10-29  04:44:21 Tue|6532:140074428593920|utils.py:90|execute_at_remote|INFO|the command is execution is complete
2024-10-29  04:44:21 Tue|6532:140074428593920|libsolv_check_actor.py:76|libsolv_check_prepare|INFO|NAME="CentOS Linux"\r\nVERSION="7 (Core)"\r\nID="centos"\r\nID_LIKE="rhe
l fedora"\r\nVERSION_ID="7"\r\nPRETTY_NAME="CentOS Linux 7 (Core)"\r\nANSI_COLOR="0;31"\r\nCPE_NAME="cpe:/o:centos:centos:7"\r\nHOME_URL="https://www.centos.org/"\r\nBUG_R
EPORT_URL="https://bugs.centos.org/"\r\n\r\nCENTOS_MANTISBT_PROJECT="CentOS-7"\r\nCENTOS_MANTISBT_PROJECT_VERSION="7"\r\nREDHAT_SUPPORT_PRODUCT="centos"\r\nREDHAT_SUPPORT_
PRODUCT_VERSION="7
2024-10-29  04:44:21 Tue|6532:140074428593920|libsolv_check_actor.py:47|run|INFO|check libsolv SUCCESS
2024-10-29  04:44:22 Tue|6532:140074413254400|env_check_scheduler.py:193|_analyse_actor_result|INFO|actor LibsolvCheckActor executed finished
2024-10-29  04:44:22 Tue|6532:140074413254400|env_check_scheduler.py:203|_analyse_actor_result|INFO|[{'actor_name': 'CheckTargetConActor', 'actor_description': 'reluEnepo#
CheckTargetConActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetConActor_successful_solutionreluEn
epo#', 'failed_reason': 'reluEnepo#CheckTargetConActor_successful_reasonreluEnepo#'}, {'actor_name': 'CheckOpenEulerCorePackageActor', 'actor_description': 'reluEnepo#Chec
kOpenEulerCorePackageActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckOpenEulerCorePackageActor_success
ful_solution_2reluEnepo#', 'failed_reason': 'reluEnepo#CheckOpenEulerCorePackageActor_successful_reason_2reluEnepo#'}, {'actor_name': 'CheckTargetArchActor', 'actor_descri
ption': 'reluEnepo#CheckTargetArchActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetArchActor_succ
essful_solutionreluEnepo#', 'failed_reason': 'reluEnepo#CheckTargetArchActor_successful_reasonreluEnepo#'}, {'actor_name': 'LibsolvCheckActor', 'actor_description': 'reluE
nepo#LibsolvCheckActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#LibsolvCheckActor_successful_solutionreluE
nepo#', 'failed_reason': 'reluEnepo#LibsolvCheckActor_successful_reasonreluEnepo#'}]
2024-10-29  04:44:22 Tue|6532:140074413254400|env_check_scheduler.py:210|_run_actors|INFO|running actor:InstallPackageActor
2024-10-29  04:44:22 Tue|6532:140074428593920|actor_thread.py:24|run|INFO|run in <class 'taskmanager.actors.env_check_actor.install_package_actor.InstallPackageActor'>
2024-10-29  04:44:23 Tue|6532:140074428593920|install_package_actor.py:57|run|INFO|====== start install package ======
2024-10-29  04:44:23 Tue|6532:140074428593920|install_package_actor.py:73|run|INFO|task_type: [system_upgrade]
2024-10-29  04:44:23 Tue|6532:140074428593920|install_package_actor.py:98|_deploy|INFO|arch: [x86_64]
2024-10-29  04:44:23 Tue|6532:140074428593920|install_package_actor.py:99|_deploy|INFO|os_name: [CENTOS7]
2024-10-29  04:44:23 Tue|6532:140074428593920|get_ssh_client_action.py:81|get_ssh_client|INFO|=== start to connect to the node (*.*.*.*:22) ===
2024-10-29  04:44:23 Tue|6532:140074428593920|get_ssh_client_action.py:108|_login|INFO|user root starts to log in
2024-10-29  04:44:23 Tue|6532:140074428593920|get_ssh_client_action.py:115|_login|INFO|user root has logged in successfully
2024-10-29  04:44:23 Tue|6532:140074428593920|get_ssh_client_action.py:97|get_ssh_client|INFO|connected to the node (*.*.*.*:22) successfully
2024-10-29  04:44:23 Tue|6532:140074428593920|get_scp_client_action.py:45|get_scp_client|INFO|=== start to obtain the SCP client ===
2024-10-29  04:44:23 Tue|6532:140074428593920|get_scp_client_action.py:53|get_scp_client|INFO|obtaining the SCP client succeeded
2024-10-29  04:44:23 Tue|6532:140074428593920|install_package_actor.py:122|_deploy|INFO|x2_upgrade_path: [/etc/x2openEuler/rpms/x2openEuler-upgrade-3.0.0-20240818.x86_64.r
pm]
2024-10-29  04:44:23 Tue|6532:140074428593920|install_package_actor.py:138|_check_and_install_requires|INFO|scheme: [2]
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:59|query|INFO|start to query whether openssh-clients is installed
2024-10-29  04:44:23 Tue|6532:140074428593920|utils.py:81|execute_at_remote|INFO|start to execute command [rpm -qi openssh-clients]
2024-10-29  04:44:23 Tue|6532:140074428593920|utils.py:90|execute_at_remote|INFO|the command is execution is complete
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:87|query|INFO|openssh-clients has been installed
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:227|deploy|INFO|=== start to deploy x2openEuler-upgrade on (*.*.*.*:22) node ===
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:59|query|INFO|start to query whether x2openEuler-upgrade is installed
2024-10-29  04:44:23 Tue|6532:140074428593920|utils.py:81|execute_at_remote|INFO|start to execute command [rpm -qi x2openEuler-upgrade]
2024-10-29  04:44:23 Tue|6532:140074428593920|utils.py:90|execute_at_remote|INFO|the command is execution is complete
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:68|query|INFO|x2openEuler-upgrade is not installed
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:143|upload|INFO|start to upload x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm to the /opt/x2openEuler
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:148|upload|ERROR|scp finish and failed, not found /opt/x2openEuler/x2openEuler-upgrade-3.0.0-20240818.x86_64
.rpm,SCP File not find exception
2024-10-29  04:44:23 Tue|6532:140074428593920|deploy_action.py:149|upload|ERROR|failed to upload x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm
2024-10-29  04:44:24 Tue|6532:140074413254400|env_check_scheduler.py:190|_analyse_actor_result|INFO|mandatory actor InstallPackageActor executed failed, then env test will
 be failed
2024-10-29  04:44:24 Tue|6532:140074413254400|env_check_scheduler.py:193|_analyse_actor_result|INFO|actor InstallPackageActor executed finished
2024-10-29  04:44:24 Tue|6532:140074413254400|env_check_scheduler.py:203|_analyse_actor_result|INFO|[{'actor_name': 'CheckTargetConActor', 'actor_description': 'reluEnepo#
CheckTargetConActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetConActor_successful_solutionreluEn
epo#', 'failed_reason': 'reluEnepo#CheckTargetConActor_successful_reasonreluEnepo#'}, {'actor_name': 'CheckOpenEulerCorePackageActor', 'actor_description': 'reluEnepo#Chec
kOpenEulerCorePackageActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckOpenEulerCorePackageActor_success
ful_solution_2reluEnepo#', 'failed_reason': 'reluEnepo#CheckOpenEulerCorePackageActor_successful_reason_2reluEnepo#'}, {'actor_name': 'CheckTargetArchActor', 'actor_descri
ption': 'reluEnepo#CheckTargetArchActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetArchActor_succ
essful_solutionreluEnepo#', 'failed_reason': 'reluEnepo#CheckTargetArchActor_successful_reasonreluEnepo#'}, {'actor_name': 'LibsolvCheckActor', 'actor_description': 'reluE
nepo#LibsolvCheckActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#LibsolvCheckActor_successful_solutionreluE
nepo#', 'failed_reason': 'reluEnepo#LibsolvCheckActor_successful_reasonreluEnepo#'}, {'actor_name': 'InstallPackageActor', 'actor_description': 'reluEnepo#InstallRpmPackag
eActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': False, 'actor_solution': 'reluEnepo#InstallRpmPackageActor_failed_solution_2reluEnepo#', 'fai
led_reason': 'reluEnepo#InstallRpmPackageActor_failed_reason_1reluEnepo#scp finish and failed, not found /opt/x2openEuler/x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm,SCP
 File not find exception'}]
2024-10-29  04:44:24 Tue|6532:140074413254400|env_check_scheduler.py:232|_run_actors|INFO|EnvTest stop
2024-10-29  04:44:24 Tue|6532:140074413254400|env_check_scheduler.py:210|_run_actors|INFO|running actor:CheckUpgradeNode
2024-10-29  04:44:25 Tue|6532:140074428593920|actor_thread.py:24|run|INFO|run in <class 'taskmanager.actors.env_check_actor.upgrade_node_check_actor.CheckUpgradeNode'>
2024-10-29  04:44:25 Tue|6532:140074428593920|try_connect.py:26|try_login|INFO|auth type is:password_auth
2024-10-29  04:44:25 Tue|6532:140074428593920|utils.py:173|_ssh_login_and_change_root|INFO|ssh_client login successfully
2024-10-29  04:44:25 Tue|6532:140074428593920|try_connect.py:47|try_login|INFO|now login as root!
2024-10-29  04:44:25 Tue|6532:140074428593920|try_connect.py:53|try_login|INFO|in node < id:1 ip:*.*.*.* > ,try ssh connect finish
2024-10-29  04:44:25 Tue|6532:140074428593920|upgrade_node_check_actor.py:155|run|INFO|start check upgrade node in node < id:1 ip:*.*.*.* > 
2024-10-29  04:44:25 Tue|6532:140074428593920|upgrade_node_check_actor.py:74|execute_cmd|ERROR|scp finish and failed, not found /opt/x2openEuler-upgrade/output/upgrade-che
ck/pre-env-check-node-0280b3da-c7c0-48e0-8a01-6f140fd8d373.json,SCP File not find exception
2024-10-29  04:44:25 Tue|6532:140074428593920|upgrade_node_check_actor.py:75|execute_cmd|ERROR|copy local node info to remote host failed
2024-10-29  04:44:25 Tue|6532:140074428593920|upgrade_node_check_actor.py:161|run|ERROR|failed to check upgrade node
2024-10-29  04:44:30 Tue|6532:140074413254400|env_check_scheduler.py:190|_analyse_actor_result|INFO|mandatory actor CheckUpgradeNode executed failed, then env test will be
 failed
2024-10-29  04:44:30 Tue|6532:140074413254400|env_check_scheduler.py:193|_analyse_actor_result|INFO|actor CheckUpgradeNode executed finished
2024-10-29  04:44:30 Tue|6532:140074413254400|env_check_scheduler.py:203|_analyse_actor_result|INFO|[{'actor_name': 'CheckTargetConActor', 'actor_description': 'reluEnepo#
CheckTargetConActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetConActor_successful_solutionreluEn
epo#', 'failed_reason': 'reluEnepo#CheckTargetConActor_successful_reasonreluEnepo#'}, {'actor_name': 'CheckOpenEulerCorePackageActor', 'actor_description': 'reluEnepo#Chec
kOpenEulerCorePackageActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckOpenEulerCorePackageActor_success
ful_solution_2reluEnepo#', 'failed_reason': 'reluEnepo#CheckOpenEulerCorePackageActor_successful_reason_2reluEnepo#'}, {'actor_name': 'CheckTargetArchActor', 'actor_descri
ption': 'reluEnepo#CheckTargetArchActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#CheckTargetArchActor_succ
essful_solutionreluEnepo#', 'failed_reason': 'reluEnepo#CheckTargetArchActor_successful_reasonreluEnepo#'}, {'actor_name': 'LibsolvCheckActor', 'actor_description': 'reluE
nepo#LibsolvCheckActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': True, 'actor_solution': 'reluEnepo#LibsolvCheckActor_successful_solutionreluE
nepo#', 'failed_reason': 'reluEnepo#LibsolvCheckActor_successful_reasonreluEnepo#'}, {'actor_name': 'InstallPackageActor', 'actor_description': 'reluEnepo#InstallRpmPackag
eActor_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'actor_result': False, 'actor_solution': 'reluEnepo#InstallRpmPackageActor_failed_solution_2reluEnepo#', 'fai
led_reason': 'reluEnepo#InstallRpmPackageActor_failed_reason_1reluEnepo#scp finish and failed, not found /opt/x2openEuler/x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm,SCP
 File not find exception'}, {'actor_name': 'CheckUpgradeNode', 'actor_description': 'reluEnepo#CheckUpgradeNode_descriptionreluEnepo#', 'actor_priority': 'mandatory', 'act
or_result': False, 'actor_solution': 'reluEnepo#CheckUpgradeNode_failed_solution_2reluEnepo#*.*.*.*', 'failed_reason': 'reluEnepo#CheckUpgradeNode_failed_reason_2_2rel
uEnepo#'}]
2024-10-29  04:44:30 Tue|6532:140074413254400|env_check_scheduler.py:232|_run_actors|INFO|EnvTest stop
2024-10-29  04:44:30 Tue|6532:140074413254400|env_check_scheduler.py:97|_gen_report|INFO|env_check report generate success,save in /opt/x2openEuler/output/env-check/node-1
0.49.71.48/env-check-03239b99-95d2-11ef-ad03-c4ff1f3cb1cb.json
2024-10-29  04:44:30 Tue|6532:140074413254400|env_check_scheduler.py:55|start|INFO|{'id': 1, 'current_step': 'connectivity_test', 'current_step_state': 'connectivity_test_
fail', 'current_step_state_progress': 100, 'current_step_message': 'The environment is checked failed.', 'is_completed': 1, 'previous_step_state': 'connectivity_test_in_pr
ogress', 'step': {'id': 2, 'current_step_state': 'connectivity_test_fail', 'current_step_state_progress': 100, 'current_step_message': 'The environment is checked failed.'
, 'report': [{'report_type': 'env_check_front_upgrade_report', 'report_read_mode': 'file_mode', 'report_result_path': '/opt/x2openEuler/output/env-check/node-*.*.*.*/e
nv-check-03239b99-95d2-11ef-ad03-c4ff1f3cb1cb.json'}]}, 'system_detail_info': '{"systemStructure": "x86_64", "productName": "", "manufacture": "", "supplier": "", "systemV
ersion": "", "modelName": ""}'}
2024-10-29  04:44:30 Tue|6532:140074172262144|record_time.py:90|update_end_time|INFO|node test end time is 2024-10-29 04:44:30.034036 ,persistent_time is 00:00:53 === 

有毛病,连续几个版本都这个错误

InstallPackageActor 这个动作是这样的:

① 在服务端(也就是安装了 x2openEuler-core)机器的 /etc/x2openEuler/rpms 目录下有一个 x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm 包

② 在环境检查时会使用 scp 命令将服务端 /etc/x2openEuler/rpms/x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm 推送到待升级节点的 /opt/x2openEuler 目录下

③ 在待升级节点上执行 yum install -y /opt/x2openEuler/x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm 安装

CheckUpgradeNode 的动作要等 InstallPackageActor 动作成功后才能执行

所以根据上面的步骤依次排查服务端的文件是否存在、权限是否正确、服务端与待升级节点的 scp 命令是否正常等等

1 个赞

感谢回复,scp 本地路径/etc/x2openEuler/ 目标路径是/opt/x2openEuler/ ,程序报错的意思是scp 执行路径是/opt/x2openEuler/ 所以 not found 吗?

 |6532:...|get_scp_client_action.py:45|get_scp_client|INFO|=== start to obtain the SCP client ===
 |6532:...|get_scp_client_action.py:53|get_scp_client|INFO|obtaining the SCP client succeeded
 |6532:...|install_package_actor.py:122|_deploy|INFO|x2_upgrade_path: [/etc/x2openEuler/rpms/x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm]
 |6532:...|install_package_actor.py:138|_check_and_install_requires|INFO|scheme: [2]
 |6532:...|deploy_action.py:59|query|INFO|start to query whether openssh-clients is installed
 |6532:...|utils.py:81|execute_at_remote|INFO|start to execute command [rpm -qi openssh-clients]
 |6532:...|utils.py:90|execute_at_remote|INFO|the command is execution is complete
 |6532:...|deploy_action.py:87|query|INFO|openssh-clients has been installed
 |6532:...|deploy_action.py:227|deploy|INFO|=== start to deploy x2openEuler-upgrade on (*.*.*.*:22) node ===
 |6532:...|deploy_action.py:59|query|INFO|start to query whether x2openEuler-upgrade is installed
 |6532:...|utils.py:81|execute_at_remote|INFO|start to execute command [rpm -qi x2openEuler-upgrade]
 |6532:...|utils.py:90|execute_at_remote|INFO|the command is execution is complete
 |6532:...|deploy_action.py:68|query|INFO|x2openEuler-upgrade is not installed
 |6532:...|deploy_action.py:143|upload|INFO|start to upload x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm to the /opt/x2openEuler
 |6532:...|deploy_action.py:148|upload|ERROR|scp finish and failed, not found /opt/x2openEuler/x2openEuler-upgrade-3.0.0-20240818.x86_64
.rpm,SCP File not find exception

在服务端节点上执行:

scp /etc/x2openEuler/rpms/x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm root@${待升级节点 IP}:/opt/x2openEuler

程序报的待升级节点的 /opt/x2openEuler 下面没有 x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm 文件

好的,多谢

好像是scp 问题,手动执行,文件没有推送过去,也没有任何报错

[root@op rpms]# scp -v x2openEuler-upgrade-3.0.0-20240818.x86_64.rpm root@*.*.*.*:/opt/x2openEuler/
Executing: program /usr/bin/ssh host *.*.*.*, user root, command scp -v -t /opt/x2openEuler/
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to *.*.*.* [*.*.*.*] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to *.*.*.*:22 as 'root'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:mhev2sR7jWPP+uQfJxDl2hEssaWxFWA6hwhouzqy4V4
debug1: Host '*.*.*.*' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: KEYRING:persistent:0)

debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: KEYRING:persistent:0)

debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Trying private key: /root/.ssh/id_ed25519
debug1: Next authentication method: password
root@*.*.*.*'s password: 
debug1: Authentication succeeded (password).
Authenticated to *.*.*.* ([*.*.*.*]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Sending environment.
debug1: Sending env LANG = zh_CN.UTF-8
debug1: Sending command: scp -v -t /opt/x2openEuler/
0
[root@op rpms]# debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 2076, received 2384 bytes, in 0.1 seconds
Bytes per second: sent 39686.5, received 45574.5
debug1: Exit status 0

传一个别的文件试试