UiPath Documentation
automation-suite
2023.10
false
EKS/AKS の Automation Suite のインストール ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Test Automation SQL の接続文字列は無視されます

Automation Suite のクラスター構成で uipathctl が Test Automation SQL 接続文字列を無視する問題を解決します。

説明​

クラスター構成ファイルの orchestrator.testautomation セクションで SQL 接続文字列を指定すると、 uipathctl バイナリは接続文字列を無視し、代わりに orchestrator セクションの下の接続文字列を使用します。次のサンプルに示すように、無視される接続文字列は sql_connection_str パラメーターの値です。

"orchestrator": {
  "testautomation": {
    "enabled": true,
    "sql_connection_str": "Server=tcp:new-sql-server-name,1433;Initial Catalog=new-db;Persist Security Info=False;User Id=test;Password='************';MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;Max Pool Size=100;"
  }
}
"orchestrator": {
  "testautomation": {
    "enabled": true,
    "sql_connection_str": "Server=tcp:new-sql-server-name,1433;Initial Catalog=new-db;Persist Security Info=False;User Id=test;Password='************';MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;Max Pool Size=100;"
  }
}

解決策​

この問題に対処するには、次の手順を実行します。

  1. sql_connection_str パラメーターの値として指定した SQL 接続文字列を Base64 エンコードします。
    echo -n "<sql_connection_str under orchestrator.testautomation in cluster config file>" | base64 -d
    echo -n "<sql_connection_str under orchestrator.testautomation in cluster config file>" | base64 -d
    
  2. 次のコマンドを実行して、 orchestrator-secrets シークレットを編集します。
    kubectl edit secret orchestrator-secrets -n uipath
    kubectl edit secret orchestrator-secrets -n uipath
    
  3. シークレットで、 sqlConnectionStringTA パラメーターの値を Base64 でエンコードされた接続文字列の値で更新します。
  4. 接続文字列の値が正常に更新されたかどうかを確認します。
    kubectl get secret orchestrator-secrets -n uipath -o jsonpath="{.data.sqlConnectionStringTA}" |  base64 --decode
    kubectl get secret orchestrator-secrets -n uipath -o jsonpath="{.data.sqlConnectionStringTA}" |  base64 --decode
    
  5. ArgoCD アプリの UI で Orchestrator >に移動し、[詳細] > [パラメーター>値] > [内部値] > [更新] に移動します。
  6. 次のサンプルに示すように、[ connectionStrings ] セクションで、 TestAutomation パラメーターの値を接続文字列のプレーンテキストの値で更新します。
    connectionStrings:
      TestAutomation: <Plain-text value of sql_connection_str under orchestrator.testautomation in cluster config file>
    connectionStrings:
      TestAutomation: <Plain-text value of sql_connection_str under orchestrator.testautomation in cluster config file>
    
  • 説明​
  • 解決策​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得