UiPath Documentation
automation-suite
2023.10
false
Linux 版 Automation Suite 安装指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

如何在安装过程中对服务进行故障排除

针对 Automation Suite 安装期间失败的服务的故障排除指南,涵盖 Kubernetes 访问和 ArgoCD 诊断。

在其中一个集群服务器节点上执行以下步骤:

  1. 获取 Kubernetes 访问权限。

    on server nodes:
    export KUBECONFIG="/etc/rancher/rke2/rke2.yaml"
    export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
    
    on agent nodes:
    export KUBECONFIG="/var/lib/rancher/rke2/agent/kubelet.kubeconfig"
    export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
    
    # To validate, execute the following command which should not return an error:
    kubectl get nodes
    on server nodes:
    export KUBECONFIG="/etc/rancher/rke2/rke2.yaml"
    export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
    
    on agent nodes:
    export KUBECONFIG="/var/lib/rancher/rke2/agent/kubelet.kubeconfig"
    export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
    
    # To validate, execute the following command which should not return an error:
    kubectl get nodes
    
  2. 通过运行以下命令检索 ArgoCD 密码:

    kubectl get secrets/argocd-admin-password -n argocd --template '{{ .data.password }}' | base64 -d
    kubectl get secrets/argocd-admin-password -n argocd --template '{{ .data.password }}' | base64 -d
    
  3. 连接到 ArgoCD。

  4. 导航到 https://alm.<fqdn>/:443。

  5. 使用 admin 作为用户名,以及在步骤 2 中获得的密码进行登录。

  6. 找到 UiPath 服务应用程序,如下所示:

  7. 使用 ArgoCD 中提供的搜索栏,输入uipath 。

  8. 然后选择其卡来打开 UiPath™ 应用程序。

  9. 检查以下内容:Application was not synced due to a failed job/pod。

  10. 如果存在上述错误,请执行以下步骤。

  11. 通过查找红色的心碎图标来找到任何未同步的组件,如下图所示。

  12. 打开最右侧的组件(通常是 Pod),然后选择“日志”选项卡。日志将包含一条错误消息,指明 Pod 失败的原因。

  13. 解决任何未解决的配置问题后,请返回主页并选择 UiPath™ 应用程序上的“同步”按钮。

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新