ubuntu 24.0
JumpServer 版本 v4.9.0
运行方式 安装包运行
应用发布机 windows 2019
之前的发布机因为系统奔溃重新安装了新的win2019,新建后负载状态一直是离线,手动测试成功。
初始化部署的时候提示失败,请教该如何处理?
2025-04-25 16:12:05
PLAY [all] *********************************************************************
2025-04-25 16:12:05
TASK [Gathering Facts] *********************************************************
2025-04-25 16:12:13 ok: [远程机器]
2025-04-25 16:12:13
TASK [Check if CORE_HOST is redirects] *****************************************
2025-04-25 16:12:19 ok: [远程机器]
2025-04-25 16:12:19
TASK [Check failed] ************************************************************
2025-04-25 16:12:19 skipping: [远程机器]
2025-04-25 16:12:19
TASK [Install RDS-RD-Server (RDS)] *********************************************
2025-04-25 16:13:13 changed: [远程机器]
2025-04-25 16:13:13
TASK [Stop Tinker before install] **********************************************
2025-04-25 16:13:19 ok: [远程机器]
2025-04-25 16:13:19
TASK [Download JumpServer Tinker installer] ************************************
2025-04-25 16:13:28 changed: [远程机器]
2025-04-25 16:13:28
TASK [Install JumpServer Tinker] ***********************************************
2025-04-25 16:13:40 changed: [远程机器]
2025-04-25 16:13:40
TASK [Set Tinkerd on the global system path] ***********************************
2025-04-25 16:13:45 changed: [远程机器]
2025-04-25 16:13:45
TASK [Download python-3.11.11] *************************************************
2025-04-25 16:13:53 changed: [远程机器]
2025-04-25 16:13:53
TASK [Install the python-3.11.11] **********************************************
2025-04-25 16:14:59 changed: [远程机器]
2025-04-25 16:14:59
TASK [Check and Clean global system path (Python)] *****************************
2025-04-25 16:15:05 ok: [远程机器]
2025-04-25 16:15:05
TASK [Set python-3.11.11 on the global system path] ****************************
2025-04-25 16:15:11 changed: [远程机器]
2025-04-25 16:15:11
TASK [Set python-3.11.11 on the global system python path] *********************
2025-04-25 16:15:16 changed: [远程机器]
2025-04-25 16:15:16
TASK [Reboot if installing requires it] ****************************************
2025-04-25 16:16:36 changed: [远程机器]
2025-04-25 16:16:36
TASK [Set RDS LicenseServer (regedit)] *****************************************
2025-04-25 16:16:36 skipping: [远程机器]
2025-04-25 16:16:36
TASK [Set RDS LicensingMode (regedit)] *****************************************
2025-04-25 16:16:36 skipping: [远程机器]
2025-04-25 16:16:36
TASK [Set RDS fSingleSessionPerUser (regedit)] *********************************
2025-04-25 16:16:36 skipping: [远程机器]
2025-04-25 16:16:36
TASK [Set RDS MaxDisconnectionTime (regedit)] **********************************
2025-04-25 16:16:45 changed: [远程机器]
2025-04-25 16:16:45
TASK [Set RDS RemoteAppLogoffTimeLimit (regedit)] ******************************
2025-04-25 16:16:50 changed: [远程机器]
2025-04-25 16:16:50
TASK [Stop chromedriver before install] ****************************************
2025-04-25 16:16:57 ok: [远程机器]
2025-04-25 16:16:57
TASK [Remove old chromedriver (Chrome)] ****************************************
2025-04-25 16:17:02 ok: [远程机器] => (item=C:\Program Files\JumpServer\drivers\chromedriver-win32)
2025-04-25 16:17:07 ok: [远程机器] => (item=C:\Program Files\JumpServer\drivers\chromedriver_win32)
2025-04-25 16:17:12 ok: [远程机器] => (item=C:\Program Files\JumpServer\drivers\chromedriver-win64)
2025-04-25 16:17:18 ok: [远程机器] => (item=C:\Program Files\JumpServer\drivers\chromedriver_win64)
2025-04-25 16:17:18
TASK [Download chromedriver (Chrome)] ******************************************
2025-04-25 16:17:25 changed: [远程机器]
2025-04-25 16:17:25
TASK [Unzip chromedriver (Chrome)] *********************************************
2025-04-25 16:17:31 changed: [远程机器]
2025-04-25 16:17:31
TASK [Download Chrome zip package (Chrome)] ************************************
2025-04-25 16:17:51 changed: [远程机器]
2025-04-25 16:17:51
TASK [Stop Chrome before install] **********************************************
2025-04-25 16:17:57 ok: [远程机器]
2025-04-25 16:17:57
TASK [Remove old Chrome (Chrome)] **********************************************
2025-04-25 16:18:03 ok: [远程机器] => (item=C:\Program Files\JumpServer\applications\Chrome)
2025-04-25 16:18:09 ok: [远程机器] => (item=C:\Program Files\Chrome\chrome-win32)
2025-04-25 16:18:14 ok: [远程机器] => (item=C:\Program Files\Chrome\chrome-win)
2025-04-25 16:18:19 ok: [远程机器] => (item=C:\Program Files\chrome-win)
2025-04-25 16:18:19
TASK [Unzip Chrome (Chrome)] ***************************************************
2025-04-25 16:18:40 changed: [远程机器]
2025-04-25 16:18:40
TASK [Check and Clean global system path (Chrome)] *****************************
2025-04-25 16:18:47 ok: [远程机器]
2025-04-25 16:18:47
TASK [Set Chrome and driver on the global system path (Chrome)] ****************
2025-04-25 16:18:53 changed: [远程机器]
2025-04-25 16:18:53
TASK [Set Chrome variables disable Google Api (Chrome)] ************************
2025-04-25 16:18:58 ok: [远程机器]
2025-04-25 16:18:58
TASK [Generate tinkerd component config] ***************************************
2025-04-25 16:19:05 changed: [远程机器]
2025-04-25 16:19:06
TASK [Install tinkerd service] *************************************************
2025-04-25 16:19:12 changed: [远程机器]
2025-04-25 16:19:12
TASK [Start tinkerd service] ***************************************************
2025-04-25 16:19:18 changed: [远程机器]
2025-04-25 16:19:18
TASK [Wait Tinker api health] **************************************************
2025-04-25 16:19:26 FAILED - RETRYING: [远程机器]: Wait Tinker api health (30 retries left).
2025-04-25 16:19:39 FAILED - RETRYING: [远程机器]: Wait Tinker api health (29 retries left).
2025-04-25 16:19:51 FAILED - RETRYING: [远程机器]: Wait Tinker api health (28 retries left).
2025-04-25 16:20:04 FAILED - RETRYING: [远程机器]: Wait Tinker api health (27 retries left).
2025-04-25 16:20:17 FAILED - RETRYING: [远程机器]: Wait Tinker api health (26 retries left).
2025-04-25 16:20:30 FAILED - RETRYING: [远程机器]: Wait Tinker api health (25 retries left).
2025-04-25 16:20:42 FAILED - RETRYING: [远程机器]: Wait Tinker api health (24 retries left).
2025-04-25 16:20:55 FAILED - RETRYING: [远程机器]: Wait Tinker api health (23 retries left).
2025-04-25 16:21:08 FAILED - RETRYING: [远程机器]: Wait Tinker api health (22 retries left).
2025-04-25 16:21:21 FAILED - RETRYING: [远程机器]: Wait Tinker api health (21 retries left).
2025-04-25 16:21:33 FAILED - RETRYING: [远程机器]: Wait Tinker api health (20 retries left).
2025-04-25 16:21:46 FAILED - RETRYING: [远程机器]: Wait Tinker api health (19 retries left).
2025-04-25 16:21:59 FAILED - RETRYING: [远程机器]: Wait Tinker api health (18 retries left).
2025-04-25 16:22:11 FAILED - RETRYING: [远程机器]: Wait Tinker api health (17 retries left).
2025-04-25 16:22:24 FAILED - RETRYING: [远程机器]: Wait Tinker api health (16 retries left).
2025-04-25 16:22:37 FAILED - RETRYING: [远程机器]: Wait Tinker api health (15 retries left).
2025-04-25 16:22:50 FAILED - RETRYING: [远程机器]: Wait Tinker api health (14 retries left).
2025-04-25 16:23:02 FAILED - RETRYING: [远程机器]: Wait Tinker api health (13 retries left).
2025-04-25 16:23:15 FAILED - RETRYING: [远程机器]: Wait Tinker api health (12 retries left).
2025-04-25 16:23:28 FAILED - RETRYING: [远程机器]: Wait Tinker api health (11 retries left).
2025-04-25 16:23:40 FAILED - RETRYING: [远程机器]: Wait Tinker api health (10 retries left).
2025-04-25 16:23:53 FAILED - RETRYING: [远程机器]: Wait Tinker api health (9 retries left).
2025-04-25 16:24:06 FAILED - RETRYING: [远程机器]: Wait Tinker api health (8 retries left).
2025-04-25 16:24:19 FAILED - RETRYING: [远程机器]: Wait Tinker api health (7 retries left).
2025-04-25 16:24:32 FAILED - RETRYING: [远程机器]: Wait Tinker api health (6 retries left).
2025-04-25 16:24:45 FAILED - RETRYING: [远程机器]: Wait Tinker api health (5 retries left).
2025-04-25 16:24:58 FAILED - RETRYING: [远程机器]: Wait Tinker api health (4 retries left).
2025-04-25 16:25:11 FAILED - RETRYING: [远程机器]: Wait Tinker api health (3 retries left).
2025-04-25 16:25:23 FAILED - RETRYING: [远程机器]: Wait Tinker api health (2 retries left).
2025-04-25 16:25:36 FAILED - RETRYING: [远程机器]: Wait Tinker api health (1 retries left).
2025-04-25 16:25:49 fatal: [远程机器]: FAILED! => {"attempts": 30, "changed": false, "elapsed": 2.0984073, "msg": "Unhandled exception occurred when sending web request. Exception: Unable to connect to the remote server", "status_code": null, "url": "http://localhost:6068/api/health/"}
2025-04-25 16:25:49
TASK [debug] *******************************************************************
2025-04-25 16:25:49 ok: [远程机器] => {
"ansible_failed_result": {
"attempts": 30,
"changed": false,
"elapsed": 2.0984073,
"failed": true,
"invocation": {
"module_args": {
"body": null,
"client_cert": null,
"client_cert_password": null,
"content_type": null,
"creates": null,
"dest": null,
"follow_redirects": "safe",
"force_basic_auth": false,
"headers": null,
"http_agent": "ansible-httpget",
"maximum_redirection": 50,
"method": "GET",
"proxy_password": null,
"proxy_url": null,
"proxy_use_default_credential": false,
"proxy_username": null,
"removes": null,
"return_content": false,
"status_code": [
200
],
"url": "http://localhost:6068/api/health/",
"url_method": "GET",
"url_password": null,
"url_timeout": 30,
"url_username": null,
"use_default_credential": false,
"use_proxy": true,
"validate_certs": true
}
},
"msg": "Unhandled exception occurred when sending web request. Exception: Unable to connect to the remote server",
"status_code": null,
"url": "http://localhost:6068/api/health/"
}
}
2025-04-25 16:25:49
TASK [fail] ********************************************************************
2025-04-25 16:25:49 fatal: [远程机器]: FAILED! => {"changed": false, "msg": "Failed to deploy applet host"}
2025-04-25 16:25:49
PLAY RECAP *********************************************************************
远程机器 : ok=30 changed=19 unreachable=0 failed=0 skipped=4 rescued=2 ignored=0
2025-04-25 16:25:49 Task terminal.tasks.run_applet_host_deployment[f30476a6-387f-4193-8f35-edc1022b3c14] succeeded in 825.4416497340426s: None