DataStax Help Center

Backups destination disappeared, scheduled backups stop working

Summary

Backup destination disappears from the configuration file, breaking scheduled backups in OpsCenter 

Symptoms

Scheduled backups stop running, throw "Destination missing" errors

"Cannot connect to cluster" error page appears in the UI

Cause

A cluster configuration file (located in /etc/opscenter/clusters/) used by the OpsCenter daemon is updated via a configuration management system (e.g. Chef, Puppet, Ansible), an automation script or a one-off user action on the machine where the OpsCenter daemon is hosted.

Background

The OpsCenter daemon updates cluster configuration files during normal operation to keep track of cluster configurations.  These are plain text, human-readable files. OpsCenter writes things like backup destinations and cluster connection information to these files when the relevant information is changed via the OpsCenter UI or API.

Having on-machine processes, such as configuration management jobs or user actions, overwrite these files can lead to accidental reverts or even omission of information written to these file by OpsCenter process.

Workaround

To ensure this problem doesn't arise, we recommend not having these files managed by configuration management tools such as Chef or Puppet and defer to OpsCenter to maintain these files.

Solution

There is no immediate solution available that addresses this issue directly. Longer term we'd like to ensure configuration files are not written to by the OpsCenter process.  There is no set timeline for this however. See OPSC-11667 for progress on this issue.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk