When building a storage cluster, an error may occur if a role with the same name as the one you are attempting to create already exists. This can happen if you attempt to run the setup again using the same storage cluster name.
Follow the steps in Deleting storage clusters (Cloud for Microsoft Azure) of the VSP One SDS Block and SDS Cloud System Administration to delete the created roles and resources.
If you have already deleted the resource or cannot delete it using the method described in the VSP One SDS Block and SDS Cloud System Administration, you can delete the role using the following procedure.
If the issue persists after implementing the methods described in the VSP One SDS Block and SDS Cloud System Administration, refer to the following procedure to perform deletion.
In the storage cluster, we have created and used custom roles with the following names. The following procedure will remove these roles.
- <storage cluster name>-role
- <storage cluster name>-resourceGroup-role
- <storage cluster name>-diskEncryptionSets-role*
* Only when using Managed Disk Encryption
Note on the procedure
The following procedure deletes all roles with matching names within your subscription. Ensure that roles with the same name are not used elsewhere before proceeding.