リソースグループが適用されている場合、SnapCenter はポリシーを削除できません
- Views:
- 14
- Visibility:
- Public
- Votes:
- 0
- Category:
- snapcenter
- Specialty:
- snapx<a>SnapCenter サーバの</a><a>削除ポリシー</a>
- Last Updated:
環境
SnapCenter サーバ( SC )すべてのバージョン
問題
- ポリシーの削除が次のエラーで失敗します。
“Failed – This policy has Resource Group attached. Please detach the policy from Resource Group before removing the policy”
- PowerShell(PS)コマンドでポリシーを削除しようとすると、次のエラーが表示されることがあります
Remove-SmPolicy -PolicyNames -force -Confirm:$false
See the inner exception for details. InnerException Cannot delete or update a parent row: a foreign key constraint fails (`nsm`.`nsm_datasetverificationconfig`, CONSTRAINT `FK_nsm_DatasetVerificationConfig_nsm_Policy` FOREIGN KEY (`nsm_Policy_Id`) REFERENCES `nsm_Policy` (`nsm_Policy_Id`) ON DELETE NO ACTION ON U)