The terraform apply is failing with the following error
Error: failed to install app v2: Bad response statusCode [500]. Status [500 Internal Server Error]. Body: [message=failed to wait for roles to be populated, code=ServerError] from [[https://xxx/v1/catalog.cattle.io.clusterrepos/rancher-charts?action=install]](https://xxx/v1/catalog.cattle.io.clusterrepos/rancher-charts?action=install])
Rancher Server Setup
User Information
Provider Information
Describe the bug
If namespace specified in the rancher2_app_v2 doesn’t exist, the namespace should be created as mention in the documentation namespace - (Required/ForceNew) The namespace of the app v2 (string) https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/app_v2#namespace
To Reproduce
Install rancher-monitoring:
Actual Result
The terraform apply is failing with the following error
Error: failed to install app v2: Bad response statusCode [500]. Status [500 Internal Server Error]. Body: [message=failed to wait for roles to be populated, code=ServerError] from [[https://xxx/v1/catalog.cattle.io.clusterrepos/rancher-charts?action=install]](https://xxx/v1/catalog.cattle.io.clusterrepos/rancher-charts?action=install])