5.4. 삭제할 수 없는 클러스터 복구

특정 경우 클러스터를 삭제하려는 경우 OpenShift Cluster Manager Hybrid Cloud Console 에 다음 오류가 표시됩니다.

Error deleting cluster
CLUSTERS-MGMT-400: Failed to delete cluster <hash>: sts_user_role is not linked to your account. sts_ocm_role is linked to your organization <org number> which requires sts_user_role to be linked to your Red Hat account <account ID>.Please create a user role and link it to the account: User Account <account ID> is not authorized to perform STS cluster operations

Operation ID: b0572d6e-fe54-499b-8c97-46bf6890011c

CLI에서 클러스터를 삭제하려고 하면 다음 오류가 표시됩니다.

E: Failed to delete cluster <hash>: sts_user_role is not linked to your account. sts_ocm_role is linked to your organization <org_number> which requires sts_user_role to be linked to your Red Hat account <account_id>.Please create a user role and link it to the account: User Account <account ID> is not authorized to perform STS cluster operations

이 오류는 사용자 역할을 연결 해제하거나 삭제할 때 발생합니다.

절차

  1. 다음 명령을 실행하여 user-role IAM 리소스를 생성합니다.

    $ rosa create user-role
  2. 역할이 생성된 것을 확인한 후 클러스터를 삭제할 수 있습니다. 다음은 역할이 생성 및 연결되었음을 확인합니다.

    I: Successfully linked role ARN <user role ARN> with account <account ID>