Healthwatch 2 Deployment fails when trying to enable RabbitMQ Dashboards
search cancel

Healthwatch 2 Deployment fails when trying to enable RabbitMQ Dashboards

book

Article ID: 298235

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

If you have Healthwatchv2 deployed and already have a dashboard called "rabbitmq", then you may encounter the following error when you try to import RabbitMQ dashboards using the checkbox in the Graphana tab:
 

t=2021-08-17T14:02:01+0000 lvl=eror msg="Failed to provision dashboard" logger=provisioning error="Failed to provision dashboards: Failed to provision config rabbitmq: got invalid response. expected folder, found dashboard"
t=2021-08-17T14:02:01+0000 lvl=eror msg="Stopped ProvisioningService" logger=server reason="Failed to provision dashboards: Failed to provision config rabbitmq: got invalid response. expected folder, found dashboard"
t=2021-08-17T14:02:01+0000 lvl=eror msg="A service failed" logger=server err="Failed to provision dashboards: Failed to provision config rabbitmq: got invalid response. expected folder, found dashboard"
t=2021-08-17T14:02:01+0000 lvl=eror msg="Server shutdown" logger=server reason="Failed to provision dashboards: Failed to provision config rabbitmq: got invalid response. expected folder, found dashboard"


This is what you will see in the Grafana standard out logs.  This will also result in a failed deployment.

Environment

Product Version: 2.10

Resolution

The workaround is to rename the old RabbitMQ dashboard to something else.  This will allow Grafana deployment to import the standard dashboards and will result in a successful deployment of Healthwatch.