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 #279

Merged
merged 27 commits into from
Dec 7, 2023
Merged

Import LXD changes #279

merged 27 commits into from
Dec 7, 2023

Commits on Dec 6, 2023

  1. [lxd-import] doc/instances: change pool name to be consistent

    Follow-up to #12574 and #12572 - use `<pool>` as the pool name
    instead of `default`.
    
    Signed-off-by: Ruth Fuchss <[email protected]>
    ru-fu authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4a7548f View commit details
    Browse the repository at this point in the history
  2. [lxd-import] lxd/instance_post: Retain root disk device if not explic…

    …itly changed
    
    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    f4068a1 View commit details
    Browse the repository at this point in the history
  3. [lxd-import] test: Add tests for server-side instance move

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3dd255c View commit details
    Browse the repository at this point in the history
  4. [lxd-import] lxd/instance/drivers/qemu_cmd: Return clean EOF error

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    13e21a2 View commit details
    Browse the repository at this point in the history
  5. [lxd-import] github: have curl fail instead of feeding bogus data on …

    …download error
    
    Signed-off-by: Simon Deziel <[email protected]>
    simondeziel authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    cb6264f View commit details
    Browse the repository at this point in the history
  6. [lxd-import] api: Add API extension for improved server-side move

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    9f1e508 View commit details
    Browse the repository at this point in the history
  7. [lxd-import] .github/workflows: remove shiftfs

    Signed-off-by: Gabriel Mougard <[email protected]>
    gabrielmougard authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    b389b89 View commit details
    Browse the repository at this point in the history
  8. [lxd-import] lxd/metadata: remove shiftfs

    Signed-off-by: Gabriel Mougard <[email protected]>
    gabrielmougard authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    bf86673 View commit details
    Browse the repository at this point in the history
  9. [lxd-import] lxd/instance/drivers: Set correct RBD content type for q…

    …emu drives
    
    In case a Ceph RBD gets added to the instances qemu config, the correct content type needs to be taken
    in order to generate the right volume name including it's specific suffix for either block or ISO drives.
    
    Signed-off-by: Julian Pelizäus <[email protected]>
    roosterfish authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    84378d0 View commit details
    Browse the repository at this point in the history
  10. [lxd-import] lxd/db/instances: Fix instance names from project not re…

    …trieved
    
    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    0c22685 View commit details
    Browse the repository at this point in the history
  11. [lxd-import] lxd/cluster/config: Add missing description default values

    Signed-off-by: Julian Pelizäus <[email protected]>
    roosterfish authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    20f4574 View commit details
    Browse the repository at this point in the history
  12. [lxd-import] lxd/node: Add missing description default values

    Signed-off-by: Julian Pelizäus <[email protected]>
    roosterfish authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    47f4181 View commit details
    Browse the repository at this point in the history
  13. [lxd-import] Update metadata

    Signed-off-by: Julian Pelizäus <[email protected]>
    roosterfish authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5bd7dfc View commit details
    Browse the repository at this point in the history
  14. [lxd-import] doc: remove shiftfs

    Signed-off-by: Gabriel Mougard <[email protected]>
    gabrielmougard authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    59e396a View commit details
    Browse the repository at this point in the history
  15. tests: Re-introduce storage shifting test

    Signed-off-by: Stéphane Graber <[email protected]>
    stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d39415e View commit details
    Browse the repository at this point in the history
  16. [lxd-import] shared/api/instance: Expand InstancePost structure

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    178c2eb View commit details
    Browse the repository at this point in the history
  17. [lxd-import] lxc/move: Respect all flags on server-side move

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    a0f6c5e View commit details
    Browse the repository at this point in the history
  18. [lxd-import] lxd/instance_post: Respect provided config, device and p…

    …rofile overwrites on move
    
    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    00535c7 View commit details
    Browse the repository at this point in the history
  19. [lxd-import] tests: Add server-side move tests

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    e0e2793 View commit details
    Browse the repository at this point in the history
  20. [lxd-import] doc: Update API

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    c3585c4 View commit details
    Browse the repository at this point in the history
  21. [lxd-import] i18n: Update translations

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    0bcc96b View commit details
    Browse the repository at this point in the history
  22. [lxd-import] lxc/move: Overwrite profiles only if explicitly provided…

    … by the user
    
    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    55b79fc View commit details
    Browse the repository at this point in the history
  23. [lxd-import] lxd/instance_post: Retain previous profiles on instance …

    …move
    
    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    20a8d9e View commit details
    Browse the repository at this point in the history
  24. [lxd-import] tests: Improve tests for instance move

    Signed-off-by: Din Music <[email protected]>
    MusicDin authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3d7f2de View commit details
    Browse the repository at this point in the history
  25. [lxd-import] lxd/cluster: Retry cluster join if cluster is busy

    When lots of nodes are joining the dqlite cluster concurrently, there's
    a good chance that some of these nodes will reach out to the leader in
    the middle of a role-change. Dqlite reports that a role change has
    occcurred with a SQLITE_BUSY error from which we can infer that
    we should keep trying to join the cluster until it either succeeds or we
    receive some other error.
    
    Signed-off-by: Max Asnaashari <[email protected]>
    masnax authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    b8f6c08 View commit details
    Browse the repository at this point in the history
  26. doc/cloud-init: Fix spellcheck error

    Signed-off-by: Stéphane Graber <[email protected]>
    stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d883bf8 View commit details
    Browse the repository at this point in the history
  27. shared: remove shiftfs

    Signed-off-by: Gabriel Mougard <[email protected]>
    gabrielmougard authored and stgraber committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    a5b6339 View commit details
    Browse the repository at this point in the history