公開日: 2021 年 12 月 7 日
更新内容
キュー トリガーを介したジョブ開始メカニズムの改良
今回のリリースでは、Orchestrator がキュー トリガーを介してジョブを開始する場合の挙動を大幅に変更しました。この新しい挙動は既定で有効化されており、無効化することができません。v2021.10.1 にアップグレードする前に、このリリース ノートをよくお読みください。不安な点がある場合は、本挙動への対応を実装する次回以降のパッチまでお待ちください。
今回のパッチでは、キュー トリガーのロジックを変更しました。具体的には、到達する必要のあるジョブの数を算出する際に、新規および処理中のキュー アイテムの合計数が考慮されるようになりました。以前は新しいアイテムの数のみが考慮されていたため、処理中のアイテムよりも新しいアイテムの数が少ない場合は、ロボットがアイドル状態であってもジョブが開始されませんでした。以前の算出方法では、実行中のジョブ (キュー アイテムをアクティブに処理しているジョブ) の数が、実行可能なジョブ (新しく追加されたアイテムを処理するのに必要なジョブ) の数より大きくなることが多く、その都度この問題が発生していました。
変更前と変更後の挙動を分かりやすく示した例は、以下のとおりです。
次のように定義したキュー トリガーがあるとします。
| フィールド | 値 (Value) |
|---|---|
| 最初のジョブをトリガーするアイテムの最小数 | 1 |
| 同時に許可される保留中および実行中のジョブの最大数 | 100 |
| 指定した数のアイテムが追加されるたびにジョブをトリガー | 1 |
変更前の挙動の再現手順
- キューにキュー アイテムを 3 個追加します。Orchestrator は、新しいアイテムの数に基づいて必要なジョブの数を算出します。この場合はジョブが 3 つ必要です。Orchestrator は、キュー アイテムを 3 個処理するためにジョブを 3 つ開始します。3 個のアイテムのステータスが [処理中] に変わります。
- キューに新しいアイテムをさらに 2 個追加します。Orchestrator は、新しいアイテムの数に基づいて必要なジョブの数を算出します。この場合はジョブが 2 つ必要です。必要なジョブの数が実行中のジョブの数より少ないため、Orchestrator は新しいジョブを開始しません。
- キューに新しいアイテムをさらに 2 個追加します。Orchestrator は、新しいアイテムの数に基づいて必要なジョブの数を算出します。この場合はジョブが 4 つ (2+2) 必要です。Orchestrator は、必要なジョブの数 (4 つ) に到達するためにジョブを 1 つ開始します。
変更後の挙動の再現手順
- キューにキュー アイテムを 3 個追加します。Orchestrator は、新しいアイテムと処理中のアイテムの合計数に基づいて必要なジョブの数を算出します。この場合はジョブが 3 つ必要です。Orchestrator は、キュー アイテムを 3 個処理するためにジョブを 3 つ開始します。3 個のアイテムのステータスが [処理中] に変わります。
- キューに新しいアイテムをさらに 2 個追加します。Orchestrator は、新しいアイテムと進行中のアイテムの合計数に基づいて必要なジョブの数を算出します。この場合はジョブが 5 つ (3+2) 必要です。Orchestrator は、必要なジョブの数 (5 つ) に到達するためにジョブを 2 つ開始します。
Elasticsearch へのランタイム例外のログ記録
権限の問題や接続の失敗といったランタイムの問題の可視性を向上させるため、ランタイム例外が Orchestrator によって Elasticsearch にログ記録されるようになりました。
S3 互換ストレージ
Orchestrator で S3 互換ストレージをプラグ アンド プレイで利用できるようになりました。優れたスケーラビリティ、低コスト、高い信頼性といった S3 のメリットを享受できます。
組織/テナント レベルでの Azure AD の利用
今回のリリースより、Azure Active Directory (Azure AD) との連携が組織/テナント レベルで利用できるようになりました (各組織は 1 つのテナントで構成されます)。
ホスト レベルでの Azure AD との連携と、それを活用した SSO の利用は以前から可能でした。今回の変更により、Azure AD との連携機能を組織/テナント レベルで構成すると、SSO に加えディレクトリ検索やユーザーの自動プロビジョニング機能も利用できます。
For more information and instructions, see Setting up the Azure AD integration.
AIM Web サービス名のカスタマイズ
CyberArk CCP 資格情報ストアの設定画面に [Web サービス名] フィールドを追加し、CCP の Web サービス名をカスタマイズできるようにしました。このフィールドを空のままにすると、既定の名前である「AIMWebService」が使用されます。
改良点
パフォーマンス
- Wondering what the latest developments are in terms of Orchestrator performance? We are happy to announce that standalone Orchestrator allows you to connect up to 300,000 attended robots with interactive sign-in in a 15-node IaaS deployment. For a detailed account of the latest performance improvements, see Scaling Your Deployment.
セットアップ
-
クリーン インストールとアップグレードの両方で、更新サーバーのデータベースではなく既存の Orchestrator のデータベースが既定で使用されるようになりました。
-
コマンド ライン パラメーターを 5 つ追加し、Orchestrator データベースへの接続を柔軟に設定・カスタマイズできるようにしました。これらのパラメーターは、Orchestrator のサイレント インストールのコマンド (クリーン インストールまたはアップグレード) で利用できます。また、これらのパラメーターを
parameters.JSONファイルに追加することもできます。Find out which are the new parameters and see some examples on how to use them in our installation guide.
-
Publish-IdentityServer.ps1now has two new mandatory parameters:-orchDetailsand-identityServerDetails. These are hash tables that contain the following values for Orchestrator and Identity Server, respectively:resourceGroupName,appServiceName, andtargetSlot. For more on this, see Publish-IdentityServer.ps1 Parameters.
パスワードポリシー
We have made the following changes to host-level security settings, available in the host Management portal:
- [最低限必要なパスワードの長さ] フィールドの値を 1 から 256 の範囲で設定できるようにしました。以前は、設定できる値の最大文字数は 14 でした。
- [パスワードの有効期限までの日数] フィールドの値を 0 から 1000 の範囲で設定できるようにしました。以前は、設定できる値の最大文字数は 120 でした。
既知の問題
The UiPathOrchestrator.msi installer only works with ASP.NET Core Hosting Bundle 3.0.x or 5.0.0-5.0.2.
-
Orchestrator の SignalR の設定が既定 (Websocket トランスポートのみが選択されている) になっていると、対応するリモート ロボット ユーティリティ
UiPath.RemoteDebugging.Agent.exeがマルチノード環境 (スタンドアロンまたは Automation Suite のインストールのいずれか) で実行できません。この挙動を修正するには、利用可能なすべての SignalR トランスポート (WebSocket (既定)、Server-Sent Events (SEE)、ロング ポーリング) を選択し、ロード バランサーで固定セッションを有効化してください。 -
Orchestrator v2021.10 へのアップグレード後にアプリケーションを起動すると、「HTTP Error 500.30 ASP.NET Core app failed to start (ASP.NET Core アプリの起動に失敗しました。)」というエラー メッセージが返されることがあります。
これは、構成システムが初期化に失敗し、以下の例外を返すことによって発生します。
"Exception Info: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize -System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.web. (C:\Program Files (x86)\UiPath\Orchestrator\UiPath.Orchestrator.dll.config line 228)".
この問題を回避するには、UiPath.Orchestrator.dll.config ファイルから以下の構成セクションと、対応するサブセクションを削除してください。
-
<system.web> -
<system.webserver> -
<system.webServer> -
<system.serviceModel> -
<nwebsec> -
<system.net> -
Orchestrator を v2021.10 に更新すると、次のエラーが返されることがあります。
Updating failed with the following error: System.Exception: Error:-1, Message:An error occurred while migrating orchestrator data during post migration. DomainUnreachable at UiPath.OrchestratorCAs.IdentityDatabaseManager.RunDbMigrationToolObfuscatedLogging(String arguments, String[] tokensToObfuscate) at UiPath.OrchestratorCAs.IdentityDatabaseManager.MigrateUsersFromOrchestratorDbOnIdentityDecoupledInstall(String webConfigPath, String identityPublicUrl, String orchestratorDBConnectionString, String identityDBConnectionstring, String secretsFilePath) at UiPath.OrchestratorCAs.IdentityDatabaseManager.ApplyDbMigrationsOnIdentityDecoupledInstalling(String webConfigPath, String identityAppSettingsJsonPath, String orchestratorUrl, String identityPublicUrl, String orchestratorDbConnectionString, String identityDbConnectionstring) at UiPath.OrchestratorCAs.CustomActions.Deferred.UpdateConfigurationAndDatabasesAction.ApplyIdentityDbConfigMigrations() at UiPath.OrchestratorCAs.CustomActions.Deferred.UpdateConfigurationAndDatabasesAction.Execute() at UiPath.OrchestratorCAs.CustomActions.Base.BaseCustomAction.InternalExecute
Updating failed with the following error: System.Exception: Error:-1, Message:An error occurred while migrating orchestrator data during post migration. DomainUnreachable at UiPath.OrchestratorCAs.IdentityDatabaseManager.RunDbMigrationToolObfuscatedLogging(String arguments, String[] tokensToObfuscate) at UiPath.OrchestratorCAs.IdentityDatabaseManager.MigrateUsersFromOrchestratorDbOnIdentityDecoupledInstall(String webConfigPath, String identityPublicUrl, String orchestratorDBConnectionString, String identityDBConnectionstring, String secretsFilePath) at UiPath.OrchestratorCAs.IdentityDatabaseManager.ApplyDbMigrationsOnIdentityDecoupledInstalling(String webConfigPath, String identityAppSettingsJsonPath, String orchestratorUrl, String identityPublicUrl, String orchestratorDbConnectionString, String identityDbConnectionstring) at UiPath.OrchestratorCAs.CustomActions.Deferred.UpdateConfigurationAndDatabasesAction.ApplyIdentityDbConfigMigrations() at UiPath.OrchestratorCAs.CustomActions.Deferred.UpdateConfigurationAndDatabasesAction.Execute() at UiPath.OrchestratorCAs.CustomActions.Base.BaseCustomAction.InternalExecute
この問題を回避するには、ドメインへのアクセス権を持つドメイン ユーザーがインストールを実行するようにしてください。ドメイン ユーザーがアクセス権を持っているかどうかを確認するには、次のシェル コマンドを実行します。
$domain="WindowsAuth.Domain" $context = new-object System.DirectoryServices.ActiveDirectory.DirectoryContext("domain",$domain) [system.directoryservices.activedirectory.domain]::GetDomain($context)
$domain="WindowsAuth.Domain" $context = new-object System.DirectoryServices.ActiveDirectory.DirectoryContext("domain",$domain) [system.directoryservices.activedirectory.domain]::GetDomain($context)
バグ修正
- Orchestrator did not render correctly time formats on the Logs page when the Orchestrator language was set to Chinese, Japanese or Korean.
0characters were rendered as slashed zeros and prevented the glyph following the0from being displayed. For example what should have been displayed as11時20分03秒is rendered as11時2Ø03秒. - Orchestrator マシンの起動/再起動時にノードの 1 つにエラーが表示され、使用不可能として表示される場合がありました。この問題は、現在は解決しました。
- Orchestrator v2020.10.10 の環境でキュー アイテムあたりの処理時間が 1 秒未満の場合に、デッドロックが発生していました。このとき、プロセスは「An error has occurred. Error code: 0 (エラーが発生しました。エラー コード: 0)」という例外を複数回スローし、その後クラッシュしていました。この問題は修正され、キュー アイテムの処理時にデッドロックが発生しなくなりました。
- When configuring system email notifications, the Test Email Settings button could not be used when Use Default Credentials was selected if the SMTP Username and SMTP Password fields were blank.