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

Backports (stable-5.21) #13187

Merged
merged 19 commits into from
Mar 21, 2024
Merged

Commits on Mar 21, 2024

  1. lxc/file: Get owner mode only if --gid or --uid is unset

    If both `--gid` and `--uid` are set there's no need to get a file's GID
    or UID as they will be overridden by the provided values.
    
    Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
    (cherry picked from commit 7e5ccf22033aad6ef3715ad9686ff167f603ac15)
    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    License: Apache-2.0
    monstermunchkin authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    0626bb4 View commit details
    Browse the repository at this point in the history
  2. lxd/device/nic: fix default IP for routed NIC (ipv4.host_address)

    This was apparently a typo as a link-local address should be used for both IPv4
    and IPv6.
    
    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    15a9b36 View commit details
    Browse the repository at this point in the history
  3. lxdmetadata: update metadata

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    6ec24bf View commit details
    Browse the repository at this point in the history
  4. github: Add stable-5.21 branch to dependabot config

    Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
    tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    34d836a View commit details
    Browse the repository at this point in the history
  5. lxd: Add security response headers to documentation

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    0d25373 View commit details
    Browse the repository at this point in the history
  6. lxd: enable server side gzip compression on all API routes

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    76b93ae View commit details
    Browse the repository at this point in the history
  7. scripts/bash/lxd-client: use column to select the image alias

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    21c73fc View commit details
    Browse the repository at this point in the history
  8. scripts/bash/lxd-client: fix lxc storage <TAB>

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    ad4f119 View commit details
    Browse the repository at this point in the history
  9. scripts/bash/lxd-client: add missing keys to lxc storage <TAB>

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    1211feb View commit details
    Browse the repository at this point in the history
  10. scripts/bash/lxd-client: show pool names on lxc storage info <TAB>

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    ec6249c View commit details
    Browse the repository at this point in the history
  11. scripts/bash/lxd-client: Use long option names

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    107f7ae View commit details
    Browse the repository at this point in the history
  12. lxd/instance/drivers/common: Clone the device config

    When instantiating a new device make sure to clone it's config.
    This ensures that the downstream drivers don't modify the original config map.
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    fc734c7 View commit details
    Browse the repository at this point in the history
  13. scripts/bash/lxd-client: add missing args to lxc network completion

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    3fb7e13 View commit details
    Browse the repository at this point in the history
  14. lxc: handle GetImage logic inside dereferenceAlias

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    807b6a2 View commit details
    Browse the repository at this point in the history
  15. i18n: update .pot files

    Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
    gabrielmougard authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    31d3e9d View commit details
    Browse the repository at this point in the history
  16. doc/reference: reorder pages and update the landing page

    Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
    ru-fu authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    1d698a0 View commit details
    Browse the repository at this point in the history
  17. doc/explanation: reorder pages and update the landing page

    Also combine the two different explanation topics about instance
    types into one.
    
    Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
    ru-fu authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    6fd968e View commit details
    Browse the repository at this point in the history
  18. lxd/storage/drivers/btrfs: Clarify fallback in case UUID discovery ti…

    …mes out
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    1265a34 View commit details
    Browse the repository at this point in the history
  19. lxd/storage/drivers/btrfs: Move config modifications into FillConfig

    When creating a new storage pool ensure that the config mangling is performed beforehand in FillConfig.
    This allows other procedures like the recovery to perform config validation without needing to actually create the pool.
    
    Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
    roosterfish authored and tomponline committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    402f1ab View commit details
    Browse the repository at this point in the history