AI Center
2021.10
False
Imagen de fondo del banner
Guía de instalación de AI Center
Última actualización 11 de mar. de 2024

Resolución de problemas independiente de AI Center™

Esta sección ofrece información sobre la solución de problemas de AI Center ™ en un entorno independiente.

Las secciones siguientes son específicas para AI Center ™.

Importante: la instalación independiente de AI Center utiliza el mismo instalador que Automation Suite. Algunas páginas de la sección de resolución de problemas independiente de AI Center pueden llevar a la página correspondiente en Automation Suite. En esta situación, los pasos son los mismos en ambas situaciones y no hay particularidades en el procedimiento específico para AI Center.

Asegúrate de seguir el procedimiento adecuado a tus necesidades.

Token de identidad caducado

Descripción

En algunos casos, cuando la instalación de AI Center tarda más de una hora (normalmente durante las instalaciones en modo aéreo), el token inicial de Orchestrator suministrado en el input.jsonarchivo caduca y el registro de AI Center en el Servidor de identidad falla. Sigue los pasos siguientes para recuperarlo.

Pasos de recuperación

  1. Inicia sesión en https://alm.<LB DNS> utilizando el nombre de usuario admin. Para obtener la contraseña, ejecuta el siguiente comando:
    kubectl -n argocd get secret argocd-admin-password -o jsonpath={.data.password} | base64 -dkubectl -n argocd get secret argocd-admin-password -o jsonpath={.data.password} | base64 -d
  2. Ve a ArgoCD y haz clic en el mosaico aicenter.


  3. Haz clic en DETALLES DE LA APP y ve a la pestaña Manifiesto.
  4. En la pestaña Manifiesto, haz clic en Editar.
  5. Obtendr´as el nuevo token de identidad actualizando el campo accessToken en la pestaña Manifiesto y haciendo clic en Guardar.


La sincronización se inicia automáticamente y se completa.

Mensaje: curl: (92) HTTP/2 el flujo 0 no se cerró correctamente: HTTP_1_1_REQURED (err 13)

Descripción

Se puede producir el siguiente mensaje de error al instalar AI Center de forma independiente: curl: (92) HTTP/2 stream 0 was not closed cleanly: HTTP_1_1_REQUIRED (err 13).

Solución

Comprueba que estás utilizando TLS 1.2 y HTTP/2 antes de continuar con la instalación.

Cómo volver a crear bases de datos

Si hay un problema con tus bases de datos, puede recrearlas desde cero directamente después de la instalación.

Puede hacerlo ejecutando un comando SQL para eliminar todas las bases de datos y volver a crearlas de la siguiente manera:

USE [master]
ALTER DATABASE [AutomationSuite_AICenter] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DROP DATABASE [AutomationSuite_AICenter]
CREATE DATABASE [AutomationSuite_AICenter]
GOUSE [master]
ALTER DATABASE [AutomationSuite_AICenter] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DROP DATABASE [AutomationSuite_AICenter]
CREATE DATABASE [AutomationSuite_AICenter]
GO

El instalador no puede conectarse a ArgoCD para verificar si se ha restablecido la contraseña

Descripción

Este problema puede producirse durante la instalación de fábrica. El instalador puede no ejecutarse con éxito con un error similar al siguiente.

appproject.argoproj.io/fabric created
configmap/argocd-cm configured
[INFO] [2021-09-02T09:21:15+0000]: Checking if ArgoCD password was reset, looking for secrets/argocd-admin-password.
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:21:16+0000]: Secret not found, trying to log in with initial password...1/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:21:36+0000]: Secret not found, trying to log in with initial password...2/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:21:56+0000]: Secret not found, trying to log in with initial password...3/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:22:16+0000]: Secret not found, trying to log in with initial password...4/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:22:36+0000]: Secret not found, trying to log in with initial password...5/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:22:56+0000]: Secret not found, trying to log in with initial password...6/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:23:17+0000]: Secret not found, trying to log in with initial password...7/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:23:37+0000]: Secret not found, trying to log in with initial password...8/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:23:57+0000]: Secret not found, trying to log in with initial password...9/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:24:17+0000]: Secret not found, trying to log in with initial password...10/10
[ERROR][2021-09-02T09:24:37+0000]: Failed to log inappproject.argoproj.io/fabric created
configmap/argocd-cm configured
[INFO] [2021-09-02T09:21:15+0000]: Checking if ArgoCD password was reset, looking for secrets/argocd-admin-password.
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:21:16+0000]: Secret not found, trying to log in with initial password...1/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:21:36+0000]: Secret not found, trying to log in with initial password...2/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:21:56+0000]: Secret not found, trying to log in with initial password...3/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:22:16+0000]: Secret not found, trying to log in with initial password...4/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:22:36+0000]: Secret not found, trying to log in with initial password...5/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:22:56+0000]: Secret not found, trying to log in with initial password...6/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:23:17+0000]: Secret not found, trying to log in with initial password...7/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:23:37+0000]: Secret not found, trying to log in with initial password...8/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:23:57+0000]: Secret not found, trying to log in with initial password...9/10
FATA[0000] dial tcp: lookup remusr-sf on 168.63.129.16:53: no such host
[INFO] [2021-09-02T09:24:17+0000]: Secret not found, trying to log in with initial password...10/10
[ERROR][2021-09-02T09:24:37+0000]: Failed to log in

Solución 1

Verifica todos los subdominios necesarios y asegúrate de que están configurados correctamente y que se les puede establecer rutas de la siguiente manera:

getent ahosts automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts alm.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts registry.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts monitoring.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts objectstore.automationsuite.mycompany.com | awk '{print $1}' | sort | uniqgetent ahosts automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts alm.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts registry.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts monitoring.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
getent ahosts objectstore.automationsuite.mycompany.com | awk '{print $1}' | sort | uniq
Importante: reemplaza automationsuite.mycompany.com con tu FQDN del clúster.

Si los comandos o líneas anteriores no devuelven una dirección IP de revisión, entonces el subdominio que requiere AI Center no se ha configurado correctamente.

Nota:

Este error se produce cuando el DNS no es público.

Debes añadir la zona DNS privada (para Azure) o la ruta 53 (para AWS).

Si los comandos anteriores devuelven la dirección IP adecuada, sigue los siguientes pasos.

Solución 2

  1. Elimina el espacio de nombre de ArgoCD mediante la ejecución del siguiente comando:
    export KUBECONFIG=/etc/rancher/rke2/rke2.yaml
    export PATH=$PATH:/var/lib/rancher/rke2/bin
    kubectl delete namespace argocdexport KUBECONFIG=/etc/rancher/rke2/rke2.yaml
    export PATH=$PATH:/var/lib/rancher/rke2/bin
    kubectl delete namespace argocd
  2. Ejecuta el siguiente comando para verificar:
    kubectl get namespacekubectl get namespace

No debería haber ningún espacio de nombre de ArgoCD en la salida de este comando.

Nota: Una vez que se elimine el espacio de nombres ArgoCD, reanude con la instalación.

Problemas al acceder a AI Center

Para problemas relacionados con el acceso a AI Center, asegúrate de seguir los pasos de las siguientes secciones:

Aviso: En caso de que estés utilizando un certificado de autofirma, también deberás visitar la url https://objectstore.${CONFIG_CLUSTER_FQDN} una vez con cada navegador que desees utilizar para poder interactuar con el almacenamiento.

Habilitar AI Center en el clúster restaurado

Después de restaurar un clúster, realiza los siguientes pasos.
  1. Conéctate al clúster restaurado.
  2. Eliminar los secretos existentes.
    1. Enumerar los secretos:
      kubectl -n uipath get secrets | grep aicenterkubectl -n uipath get secrets | grep aicenter
    2. Elimine los siguientes secretos:
      Kubectl -n uipath delete secrets aicenter-cluster-credentials aicenter-deploy-token-XXXXX aicenter-jobs-token-XXXXXKubectl -n uipath delete secrets aicenter-cluster-credentials aicenter-deploy-token-XXXXX aicenter-jobs-token-XXXXX
      Reemplaza XXXXX con los caracteres enumerados en el paso 2b.
    3. Obtenga el nombre del token predeterminado y elimínelo:
      Kubectl -n uipath get secrets | grep default-token
      Kubectl -n uipath delete secrets default-token-XXXXXKubectl -n uipath get secrets | grep default-token
      Kubectl -n uipath delete secrets default-token-XXXXX
  3. Vaya a ArgoCD y sincronice la aplicación AI Center.
  4. Reinicia todos los servicios relacionados con el AI Center:
    kubectl -n uipath rollout restart deployment ai-app-deployment ai-helper-deployment ai-pkgmanager-deployment ai-deployer-deployment ai-trainer-deployment ai-appmanager-deploymentkubectl -n uipath rollout restart deployment ai-app-deployment ai-helper-deployment ai-pkgmanager-deployment ai-deployer-deployment ai-trainer-deployment ai-appmanager-deployment
    

Habilitar AI Center en el clúster restaurado

Después de restaurar un clúster, realiza los siguientes pasos.
  1. Conéctate al clúster restaurado.
  2. Eliminar los secretos existentes.
    1. Enumerar los secretos:
      kubectl -n uipath get secrets | grep aicenterkubectl -n uipath get secrets | grep aicenter
    2. Elimine los siguientes secretos:
      Kubectl -n uipath delete secrets aicenter-cluster-credentials aicenter-deploy-token-XXXXX aicenter-jobs-token-XXXXXKubectl -n uipath delete secrets aicenter-cluster-credentials aicenter-deploy-token-XXXXX aicenter-jobs-token-XXXXX
      Reemplaza XXXXX con los caracteres enumerados en el paso 2b.
    3. Obtenga el nombre del token predeterminado y elimínelo:
      Kubectl -n uipath get secrets | grep default-token
      Kubectl -n uipath delete secrets default-token-XXXXXKubectl -n uipath get secrets | grep default-token
      Kubectl -n uipath delete secrets default-token-XXXXX
  3. Vaya a ArgoCD y sincronice la aplicación AI Center.
  4. Reinicia todos los servicios relacionados con el AI Center:
    kubectl -n uipath rollout restart deployment ai-app-deployment ai-helper-deployment ai-pkgmanager-deployment ai-deployer-deployment ai-trainer-deployment ai-appmanager-deploymentkubectl -n uipath rollout restart deployment ai-app-deployment ai-helper-deployment ai-pkgmanager-deployment ai-deployer-deployment ai-trainer-deployment ai-appmanager-deployment
    

Was this page helpful?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Logotipo blanco de UiPath
Confianza y seguridad
© 2005-2024 UiPath. All rights reserved.