Page MenuHomePhabricator

Improve trove backup/restore
Open, Needs TriagePublic

Description

Now that we have Swift this barely works. It needs some work though:

  • All existing guest VMs need a config upgrade to find the right container images
  • The process for building container images needs documenting
  • An upgrade to Bobcat will fix version discovery for backup containers which should unblock future versions

Event Timeline

All existing guest VMs need a config upgrade to find the right container images

This is harder than I expected. Many config settings can be updated, but the guest agent still fails to talk to the openstack APIs as needed to complete the backup.

I think the needed steps are:

  • Update /etc/trove/conf.d/trove-guestagent.conf, adding the needed (or all) backup_docker_image and [service_credentials] section
  • Update the resident trove agent: $ source /opt/guest-agent-venv/bin/activate $ pip install --upgrade trove
  • Restart guest agent $ service guest-agent restart