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

Import LXD changes #253

Merged
merged 26 commits into from
Nov 29, 2023
Merged

Import LXD changes #253

merged 26 commits into from
Nov 29, 2023

Commits on Nov 29, 2023

  1. [lxd-import] lxd/storage/drivers: Add new cephfs create keys

    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    32b653d View commit details
    Browse the repository at this point in the history
  2. [lxd-import] lxd/storage/drivers: Update cephfs entity helpers

    Adds a helper to find osd pools, and updates the fs lookup helper to
    differentiate between exit codes from ceph.
    
    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d5a6f47 View commit details
    Browse the repository at this point in the history
  3. [lxd-import] lxd/storage/drivers: Add DefaultVMBlockFilesystemSize to…

    … driver Info struct
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    98a2bfc View commit details
    Browse the repository at this point in the history
  4. [lxd-import] lxd/storage/drivers/btrfs: Set drivers DefaultVMBlockFil…

    …esystemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    83dfbab View commit details
    Browse the repository at this point in the history
  5. [lxd-import] lxd/storage/drivers/ceph: Set drivers DefaultVMBlockFile…

    …systemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    2724271 View commit details
    Browse the repository at this point in the history
  6. [lxd-import] lxd/storage/drivers/cephfs: Set drivers DefaultVMBlockFi…

    …lesystemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    98ae1c7 View commit details
    Browse the repository at this point in the history
  7. [lxd-import] lxd/storage/drivers/dir: Set drivers DefaultVMBlockFiles…

    …ystemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d617169 View commit details
    Browse the repository at this point in the history
  8. [lxd-import] lxd/storage/drivers/lvm: Set drivers DefaultVMBlockFiles…

    …ystemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    15f24a7 View commit details
    Browse the repository at this point in the history
  9. [lxd-import] lxd/storage/drivers/mock: Set drivers DefaultVMBlockFile…

    …systemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    0399c6c View commit details
    Browse the repository at this point in the history
  10. [lxd-import] lxd/storage/drivers/zfs: Set drivers DefaultVMBlockFiles…

    …ystemSize
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    b974d35 View commit details
    Browse the repository at this point in the history
  11. [lxd-import] lxd/storage/backend: Use drivers default VM block volume…

    … size for config filesystem
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    b9f7cd9 View commit details
    Browse the repository at this point in the history
  12. [lxd-import] lxd/storage/drivers/volume: Use drivers default VM block…

    … size for filesystem volume
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    2a9f737 View commit details
    Browse the repository at this point in the history
  13. [lxd-import] lxd/project: Fix typo in comment

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    cdbaa56 View commit details
    Browse the repository at this point in the history
  14. [lxd-import] lxd/instance/drivers: Use the pools default VM block fil…

    …esystem size
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    4bf263a View commit details
    Browse the repository at this point in the history
  15. [lxd-import] lxd/storage: Use the pools default VM block filesystem size

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e812f56 View commit details
    Browse the repository at this point in the history
  16. [lxd-import] lxd/project: Add TODO for instance limits accounting

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    46ccb64 View commit details
    Browse the repository at this point in the history
  17. [lxd-import] lxd/instance: Use stable random generator for temporary …

    …instance name
    
    This allows not having the full size UUID name but instead use a shorter name which is still derived from the instances UUID.
    It's required to accommodate the Dell PowerFlex storage driver which has a maximum length of 31 characters per storage volume.
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    077eb1c View commit details
    Browse the repository at this point in the history
  18. [lxd-import] lxd/instance: Improve error message

    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    70d92cf View commit details
    Browse the repository at this point in the history
  19. [lxd-import] lxd/instance/drivers/qemu: Run specific remote config on…

    …ly for Ceph backends
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    a05a497 View commit details
    Browse the repository at this point in the history
  20. [lxd-import] lxd/storage/drivers: Create cephfs entities if keys spec…

    …ified
    
    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    ff81ace View commit details
    Browse the repository at this point in the history
  21. [lxd-import] lxd/storage/drivers: Revert osd/fs creation

    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    b516a1a View commit details
    Browse the repository at this point in the history
  22. [lxd-import] doc/reference: Add doc reference for new config keys

    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    20a5687 View commit details
    Browse the repository at this point in the history
  23. [lxd-import] shared/version: Add storage_cephfs_create_missing extension

    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    221826e View commit details
    Browse the repository at this point in the history
  24. [lxd-import] lxd/storage/drivers: Collect subvolumes via filepath tra…

    …versal if in nested container.
    
    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    3b0352c View commit details
    Browse the repository at this point in the history
  25. [lxd-import] doc/howto: Make pool name consistent in iso tutorial.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    6d346ca View commit details
    Browse the repository at this point in the history
  26. [lxd-import] test/suites: Add cephfs create_missing test

    Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
    masnax authored and stgraber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d416550 View commit details
    Browse the repository at this point in the history