title: Rabbit mq - Error while waiting for Mnesia tables
body: <p>I have installed rabbitmq using helm chart on a kubernetes cluster. The rabbitmq pod keeps restarting. On inspecting the pod logs I get the below error</p>
  
  <pre><code>2020-02-26 04:42:31.582 [warning] &lt;0.314.0&gt; Error while waiting for Mnesia tables: {timeout_waiting_for_tables,[rabbit_durable_queue]}
  2020-02-26 04:42:31.582 [info] &lt;0.314.0&gt; Waiting for Mnesia tables for 30000 ms, 6 retries left
  </code></pre>
  
  <p>When I try to do kubectl describe pod I get this error</p>
  
  <pre><code>Conditions:
    Type              Status
    Initialized       True
    Ready             False
    ContainersReady   False
    PodScheduled      True
  Volumes:
    data:
      Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
      ClaimName:  data-rabbitmq-0
      ReadOnly:   false
    config-volume:
      Type:      ConfigMap (a volume populated by a ConfigMap)
      Name:      rabbitmq-config
      Optional:  false
    healthchecks:
      Type:      ConfigMap (a volume populated by a ConfigMap)
      Name:      rabbitmq-healthchecks
      Optional:  false
    rabbitmq-token-w74kb:
      Type:        Secret (a volume populated by a Secret)
      SecretName:  rabbitmq-token-w74kb
      Optional:    false
  QoS Class:       Burstable
  Node-Selectors:  beta.kubernetes.io/arch=amd64
  Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                   node.kubernetes.io/unreachable:NoExecute for 300s
  Events:
    Type     Reason     Age                      From                                               Message
    ----     ------     ----                     ----                                               -------
    Warning  Unhealthy  3m27s (x878 over 7h21m)  kubelet, gke-analytics-default-pool-918f5943-w0t0  Readiness probe failed: Timeout: 70 seconds ...
  Checking health of node rabbit@rabbitmq-0.rabbitmq-headless.default.svc.cluster.local ...
  Status of node rabbit@rabbitmq-0.rabbitmq-headless.default.svc.cluster.local ...
  Error:
  {:aborted, {:no_exists, [:rabbit_vhost, [{{:vhost, :"$1", :_, :_}, [], [:"$1"]}]]}}
  Error:
  {:aborted, {:no_exists, [:rabbit_vhost, [{{:vhost, :"$1", :_, :_}, [], [:"$1"]}]]}}
  </code></pre>
  
  <p>I have provisioned the above on Google Cloud on a kubernetes cluster. I am not sure during what specific situation it started failing. I had to restart the pod and since then it has been failing.  </p>
  
  <p>What is the issue here ?</p>