8000 [BUG] Backups not appearing on second cluster using shared backup storage · Issue #7083 · harvester/harvester · GitHub 8000
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[BUG] Backups not appearing on second cluster using shared backup storage #7083
Closed
@himslm01

Description

@himslm01

Describe the bug
This issue is about two Harvester clusters sharing the same backup storage. This is important when trying to migrate virtual machines between clusters, and for testing that a backed-up virtual-machine is consistent and can be restored successfully. After all, an untested backup is no backup.

Imagine two Harvester clusters sharing one backup storage location. I expect that soon after the backup of a VM has completed on one cluster I should be able to select that backup on the other cluster to restore the VM onto the second cluster. This is not happening.

Looking in the Longhorn user interface in both clusters it can be seen that the backed-up volumes are visible by both clusters. It seems that Harvester is not reading the config files and refreshing its user interface.

In my experience, after a very long wait of maybe 12 hours, a very small number of VMs backed up from the "source" Harvester cluster eventually appear ready for restoration into the "destination" Harvester cluster.

To Reproduce

  1. In the “Setting: backup-target” screen of two separate Harvester clusters, configure the same shared storage’. In my specific use case the “source” Harvester cluster is v1.3.1 and the “destination” Harvester cluster is v1.4.0 and the storage is NFS.
  2. In the “Virtual Machines” screen of the “source” Harvester cluster, complete a backup of several VMs
  3. In the “Backup” tab of the Longhorn user interface of the “source” Harvester cluster, see that the volumes of the VMs are listed.
  4. In the “Backup” tab of the Longhorn user interface of the “destination” Harvester cluster, after a while see that the volumes of the VMs appear
  5. In the “Virtual Machine Backups” screen of the “destination” Harvester cluster, note that the backups are not listed

Expected behavior
I expect to see the VMs backed up from one Harvester cluster into storage shared by multiple Harvester clusters to be restorable onto any of the Harvester clusters in a timely manor.

Environment

  • Harvester ISO version:
    • “source” Harvester cluster is v1.3.1
    • “destination” Harvester cluster is v1.4.0
  • Underlying Infrastructure: Bare metal nodes and NFS storage.

Additional context

VM Backups screen on "source" Harvester cluster (highliting the only VM that is available in the "destination" Harvester cluster)
image

VM Backups screen on "destination" Harvester cluster
image

Backup screen of "source" Longhorne
image

Backup screen of "destination" Longhorne
image

Listing of Harvester config files from the NFS storage
image

Metadata

Metadata

Type

No type

Projects

Status

Resolved

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0