UiPath Documentation
automation-suite
2.2510
true
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

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

使用 Kubernetes 和 ArgoCD 诊断在安装 Automation Suite 期间服务失败的故障排除指南。

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

  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-initial-admin-secret -n argocd --template '{{ .data.password }}' | base64 -d
    kubectl get secrets/argocd-initial-admin-secret -n argocd --template '{{ .data.password }}' | base64 -d
    
  3. 连接到 ArgoCD。

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

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

  6. 通过筛选“缺失” /“已降级” / “正在进行”的应用程序,找到有问题的应用程序。

  7. 然后选择存在问题的应用程序卡,以打开该应用程序。

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

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

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

备注:

如果您收到错误消息“无法同步: 另一个操作已在进行中”,请选择同步流程,然后选择“终止”以取消当前同步。当前同步终止后,重复上述步骤中的同步过程。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新