You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
azurerm_data_protection_backup_instance_kubernetes_cluster is created with message "Fix protection error for the backup instance" and code ScenarioPluginInvalidWorkflowDataRequest
#25294
Closed
1 task done
rakrueger opened this issue
Mar 18, 2024
· 2 comments
· Fixed by #25345
In the Azure Portal, the protection status shows the message "Protection error" and in the instance I can see the message "Fix protection error for the backup instance". Additionally, in the json view of the backup instance resource in the Azure Portal I can see the code "ScenarioPluginInvalidWorkflowDataRequest".
Expected Behaviour
Create the resource and show it with successful state in the Azure Portal.
Actual Behaviour
The resource is created but in the Azure Portal the protection status shows the message "Protection error" and in the instance I can see the message "Fix protection error for the backup instance". Additionally, in the json view of the backup instance resource in the Azure Portal I can see the code "ScenarioPluginInvalidWorkflowDataRequest".
When having a look at the json view of this backup instance in the Azure Portal, I noticed, that the other values like excludedNamespaces and excludedResourceTypes are set to an empty list:
To exclude that there is an issue with the Backup Vault, the Backup Policy in the Vault, the Kubernetes Cluster or any permissions, I created a backup instance in the Azure Portal with the same configuration.
I compared the terraform created backup instance to the manually created backup instance in the Azure Portal and the json view for this manually created backup instance shows null values for eg.
excludedNamespaces and excludedResourceTypes instead of the empty list.
In this case the json view of this manually created backup instance looks like the following:
But this is resulting in the same error. Also when not configuring the optional section backup_datasource_parameters at all, I get the same error.
I noticed, that the syntax of the friendlyName differs, but when trying to adjust the name in terraform so something similar like <ClusterName>\\backup001 I get an HTTP 400 error with message BMSUserErrorInvalidInput in the terraform apply.
I guess there are some issues with the resource azurerm_data_protection_backup_instance_kubernetes_cluster because with my current setup in Azure I am able to create the backup instance manually.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.7.1
AzureRM Provider Version
3.96.0
Affected Resource(s)/Data Source(s)
azurerm_data_protection_backup_instance_kubernetes_cluster
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Create the resource and show it with successful state in the Azure Portal.
Actual Behaviour
The resource is created but in the Azure Portal the protection status shows the message "Protection error" and in the instance I can see the message "Fix protection error for the backup instance". Additionally, in the json view of the backup instance resource in the Azure Portal I can see the code "ScenarioPluginInvalidWorkflowDataRequest".
When having a look at the json view of this backup instance in the Azure Portal, I noticed, that the other values like excludedNamespaces and excludedResourceTypes are set to an empty list:
To exclude that there is an issue with the Backup Vault, the Backup Policy in the Vault, the Kubernetes Cluster or any permissions, I created a backup instance in the Azure Portal with the same configuration.
I compared the terraform created backup instance to the manually created backup instance in the Azure Portal and the json view for this manually created backup instance shows null values for eg.
excludedNamespaces and excludedResourceTypes instead of the empty list.
In this case the json view of this manually created backup instance looks like the following:
Because of this, I configured the terraform resource to have values for every backup_datasource_parameters so the section looks like the following:
But this is resulting in the same error. Also when not configuring the optional section backup_datasource_parameters at all, I get the same error.
I noticed, that the syntax of the friendlyName differs, but when trying to adjust the name in terraform so something similar like
<ClusterName>\\backup001
I get an HTTP 400 error with message BMSUserErrorInvalidInput in the terraform apply.I guess there are some issues with the resource azurerm_data_protection_backup_instance_kubernetes_cluster because with my current setup in Azure I am able to create the backup instance manually.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: