Automation Suite
2023.10
False
- 手动:准备安装
- 步骤 1:为离线安装配置符合 OCI 的注册表
- 步骤 2:配置外部对象存储
- 步骤 3:配置 Microsoft SQL Server
- 步骤 4:配置负载均衡器
- 步骤 5:配置 DNS
- 步骤 6:配置磁盘
- 步骤 7:配置节点端口
- 步骤 8:应用其他设置
- 步骤 10:验证并安装所需的 RPM 包
- 步骤 11:生成 cluster_config.json
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- 符合 OCI 的外部注册表配置
- Disaster Recovery:主动/被动配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- Document Understanding 特定配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- install-uipath.sh 参数
- 为集群启用 Redis High Availability Add-on
- 添加具有 GPU 支持的专用代理节点
- 连接 Task Mining 应用程序
- 为 Task Mining 添加专用代理节点
- 为 Automation Suite Robot 添加专用代理节点
- 步骤 13:为离线安装配置临时 Docker 注册表
- 步骤 14:验证安装的先决条件
Linux 版 Automation Suite 安装指南
上次更新日期 2023年12月4日
就地升级超时
描述
就地升级超时 Error: cannot execute upgrade plan on agent nodes: context canceled
。但是,所有节点均已升级,但主日志指示升级超时。
例如:
-
第一个节点的升级日志显示升级失败:
[INFO] [2023-10-11T12:51:12+0000]: Running upgrade on all nodes... Error: cannot execute upgrade plan on agent nodes: context canceled [INFO] [2023-10-11T13:51:12+0000]: Node details: [INFO] [2023-10-11T13:51:12+0000]: NAME STATUS ROLES AGE VERSION agent0 Ready <none> 6h44m v1.26.5+rke2r1 server0 Ready control-plane,etcd,master 7h18m v1.26.5+rke2r1 server1 Ready control-plane,etcd,master 7h2m v1.26.5+rke2r1 server2 Ready control-plane,etcd,master 6h53m v1.26.5+rke2r1 [INFO] [2023-10-11T13:51:12+0000]: Refer the log files in /opt/UiPathAutomationSuite/_upgrade/UiPath_Installer/Modules/../upgrade-logs/upgrade-2023.10.0-rc.12 [INFO] [2023-10-11T13:51:16+0000]: Rke upgrade information is available at system-upgrade namespace. Use kubectl command to get the logs and events. [INFO] [2023-10-11T13:51:16+0000]: Logs also present in the corresponding node at /opt/UiPathAutomationSuite/_autoupgrade ^[[0;31m[ERROR][2023-10-11T13:51:16+0000]:^[[0m Upgrade failed. Please fix the errors and try again.
[INFO] [2023-10-11T12:51:12+0000]: Running upgrade on all nodes... Error: cannot execute upgrade plan on agent nodes: context canceled [INFO] [2023-10-11T13:51:12+0000]: Node details: [INFO] [2023-10-11T13:51:12+0000]: NAME STATUS ROLES AGE VERSION agent0 Ready <none> 6h44m v1.26.5+rke2r1 server0 Ready control-plane,etcd,master 7h18m v1.26.5+rke2r1 server1 Ready control-plane,etcd,master 7h2m v1.26.5+rke2r1 server2 Ready control-plane,etcd,master 6h53m v1.26.5+rke2r1 [INFO] [2023-10-11T13:51:12+0000]: Refer the log files in /opt/UiPathAutomationSuite/_upgrade/UiPath_Installer/Modules/../upgrade-logs/upgrade-2023.10.0-rc.12 [INFO] [2023-10-11T13:51:16+0000]: Rke upgrade information is available at system-upgrade namespace. Use kubectl command to get the logs and events. [INFO] [2023-10-11T13:51:16+0000]: Logs also present in the corresponding node at /opt/UiPathAutomationSuite/_autoupgrade ^[[0;31m[ERROR][2023-10-11T13:51:16+0000]:^[[0m Upgrade failed. Please fix the errors and try again. -
代理节点的升级日志显示升级成功:
[INFO] [2023-10-12T12:42:53+0000]: Infra installed successfully [INFO] [2023-10-12T12:42:53+0000]: Validate rke2 images update in the upgrade hook [INFO] [2023-10-12T12:42:53+0000]: checking all rke2 pods are up and running in the current node pod/kube-proxy-agent0 condition met [INFO] [2023-10-12T12:42:54+0000]: Uncordoning node in the upgrade hook Checking if node is ready to run kubectl command. Node is ready to accept kubectl command Enable IP Forwarding... Either file /etc/sysctl.conf not present or file is not writable. Enabling ip forward using /proc/sys/net/ipv4/ip_forward... Uncordon agent0 ... label "nodejanitor/skip" not found. node/agent0 not labeled node/agent0 already uncordoned node/agent0 annotated [INFO] [2023-10-12T12:42:54+0000]: Upgrade successfully completed.
[INFO] [2023-10-12T12:42:53+0000]: Infra installed successfully [INFO] [2023-10-12T12:42:53+0000]: Validate rke2 images update in the upgrade hook [INFO] [2023-10-12T12:42:53+0000]: checking all rke2 pods are up and running in the current node pod/kube-proxy-agent0 condition met [INFO] [2023-10-12T12:42:54+0000]: Uncordoning node in the upgrade hook Checking if node is ready to run kubectl command. Node is ready to accept kubectl command Enable IP Forwarding... Either file /etc/sysctl.conf not present or file is not writable. Enabling ip forward using /proc/sys/net/ipv4/ip_forward... Uncordon agent0 ... label "nodejanitor/skip" not found. node/agent0 not labeled node/agent0 already uncordoned node/agent0 annotated [INFO] [2023-10-12T12:42:54+0000]: Upgrade successfully completed.
解决方案
重新运行升级可解决此问题。