Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volumes: Add remote copy support for snapshots #12045

Merged
merged 12 commits into from
Jul 24, 2023

Commits on Jul 19, 2023

  1. lxc/volume: Fix docstrings to clarify volume operations

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    c291a05 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. lxd/client: Mark HasExtension as deprecated

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    d137d3f View commit details
    Browse the repository at this point in the history
  2. lxd/storage/drivers/zfs: Allow volume snapshot refresh

    vol.Snapshots() returns an error if the volume is a snapshot.
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    5a34cdd View commit details
    Browse the repository at this point in the history
  3. api: Add storage_api_remote_volume_snapshot_copy extension

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    48ace10 View commit details
    Browse the repository at this point in the history
  4. lxd/shared/api: Extend StorageVolumeSnapshotPost for remote copy

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    dd23d9a View commit details
    Browse the repository at this point in the history
  5. rest-api: Extend StorageVolumeSnapshotPost for remote copy

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    c94a3c2 View commit details
    Browse the repository at this point in the history
  6. lxc/volume: Use the right path when copying volume snapshots

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    92eee56 View commit details
    Browse the repository at this point in the history
  7. lxc/volume: Check for storage_api_remote_volume_snapshot_copy extension

    The extension needs to be present when trying to copy volume snapshots between remotes
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    d79715e View commit details
    Browse the repository at this point in the history
  8. lxd/api/storage: Add support to copy volume snapshots between remotes

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    19524f4 View commit details
    Browse the repository at this point in the history
  9. lxc/volume: Block --volume-only flag when copying volume snapshots

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    e6bd9e2 View commit details
    Browse the repository at this point in the history
  10. tests: Check various volume snapshot copy operations

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    1e157db View commit details
    Browse the repository at this point in the history
  11. tests: Check various volume snapshot remote copy operations

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    1e5e307 View commit details
    Browse the repository at this point in the history