スキップしてコンテンツを表示

AWS DMS [Failed to fetch metadata.', 'failure_message': 'Internal failure.]というエラー

0

AWS DMSのサーバーレスレプリケーションを作成してから実施して下記のログが出ました。

{'replication_state':'initializing', 'message': 'Initializing the replication workflow.'}
{'replication_state':'preparing_metadata_resources', 'message': 'Preparing the resources for metadata collection. This can take some time.'}
{'replication_state':'testing_connection', 'message': 'Completed preparing resources for metadata collection. Testing connection to source and target endpoints to ensure proper configuration.'}
{'replication_state':'fetching_metadata', 'message': 'Fetching metadata from your source endpoint to calculate workload capacity.'}
{'replication_state':'failed', 'message': 'Failed to fetch metadata.', 'failure_message': 'Internal failure.'}
{'replication_state':'failed', 'message': 'Failed to fetch metadata.', 'failure_message': 'Internal failure.'}
{'replication_state':'fetching_metadata', 'message': 'Fetching metadata from your source endpoint to calculate workload capacity.'}
{'replication_state':'fetching_metadata', 'message': 'Fetching metadata from your source endpoint to calculate workload capacity.'}
{'replication_state':'calculating_capacity', 'message': 'Calculating workload capacity for your replication based on table mappings and source metadata.'}
{'replication_state':'provisioning_capacity', 'message': 'Fetching workload capacity to provision your replication.'}
{'replication_state':'provisioning_capacity', 'message': 'Provisioning 16 capacity units to perform the replication. This can take some time.'}

'Failed to fetch metadata.', 'failure_message': 'Internal failure.'について具体的にどんな問題でしょうか。 どのように解決するかご教授ください。

質問済み 8ヶ月前228ビュー
1回答
0

このエラーは、AWS DMS (Database Migration Service) のサーバーレスレプリケーションにおいて、メタデータの取得に失敗したことを示しています。 具体的な原因としては、以下のような可能性が考えられます:

  1. データベースとの疎通性:ソースデータベースへの接続が正しく設定されていない、またはネットワーク上の問題がある可能性があります。
  2. 権限の不足:DMS がソースデータベースのメタデータにアクセスするための適切な権限がない可能性があります。
  3. AWSの内部エラー:AWS の内部処理によって出力される可能性があります。

解決方法としては、以下のステップを試すことをお勧めします:

  1. エンドポイントの設定を再確認し、接続テストを行ってください。
  2. 使用している IAM ロールやポリシー、ソース DB のユーザー権限を確認し、必要な権限が付与されていることを確認してください。
  3. VPCエンドポイントが正しく設定されていることを確認してください。[1]
  4. レプリケーションログに手掛かりとなるエラーが出ているかを確認してください。[2]

上記で問題が解決しない場合は、以下の情報を添えて、AWS サポートに連絡し、詳細な調査を依頼することをお勧めします。

  • サーバーレスレプリケーションのレプリケーション ARN
  • タイムゾーン付きの発生時刻
  • レプリケーションログ

参考資料 [1] AWS DMS サーバーレスの制限 | AWS Database Migration Service
[2] AWS DMS サーバーレスレプリケーションログ | AWS Database Migration Service

回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ