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

Show instance root disk size correctly on instance list #14511

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Nov 22, 2024

  1. lxd/instances_get: Use err on resultErrListAppend

    This makes an instance on an offline node show as `unavailable` instead of a more general `Error`. An alternative to this would be introducing a new api Status for unavailable instances.
    
    Signed-off-by: hamistao <[email protected]>
    hamistao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    e6258b3 View commit details
    Browse the repository at this point in the history
  2. lxd/storage: Fix comment typo

    Signed-off-by: hamistao <[email protected]>
    hamistao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    e6ef876 View commit details
    Browse the repository at this point in the history
  3. lxd: Simplify allowAuthenticated

    Signed-off-by: hamistao <[email protected]>
    hamistao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    14576cb View commit details
    Browse the repository at this point in the history
  4. lxd/storage: Get volume total size regardless of driver

    When driver does not support getting the volume usage, we are returning prematurely and not getting the volume total size, even when it is possible.
    
    Signed-off-by: hamistao <[email protected]>
    hamistao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    cfdf33e View commit details
    Browse the repository at this point in the history
  5. lxd/storage: Assume default size for block volumes when size is not set

    This helps get correct VM disk total size.
    
    Signed-off-by: hamistao <[email protected]>
    hamistao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    0ad2e26 View commit details
    Browse the repository at this point in the history