-
Notifications
You must be signed in to change notification settings - Fork 907
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.0) #13215
Backports (stable-5.0) #13215
Commits on Mar 22, 2024
-
lxd/instance/drivers/qemu: do not check for
size.state
if shared st……orage is enabled for an instance Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 33fd909 - Browse repository at this point
Copy the full SHA 33fd909View commit details -
github: ask bug reporters to provide the list of relevant snaps
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e8d1841 - Browse repository at this point
Copy the full SHA e8d1841View commit details -
lxd/storage/drivers/generic_vfs: Return if the right file was found
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 28ce2eb - Browse repository at this point
Copy the full SHA 28ce2ebView commit details -
Fix linter errors (revive: exported).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d5b1223 - Browse repository at this point
Copy the full SHA d5b1223View commit details -
lxd/cluster: Fix lint error (revive: early-return).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f74f9ea - Browse repository at this point
Copy the full SHA f74f9eaView commit details -
lxd: Fix lint errors (revive: exported).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f63996b - Browse repository at this point
Copy the full SHA f63996bView commit details -
lxd: Ignore lint error (revive: defer).
This is a false positive. Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 8344f24 - Browse repository at this point
Copy the full SHA 8344f24View commit details -
lxd/storage/drivers: Add VolumeCopy struct
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5cea035 - Browse repository at this point
Copy the full SHA 5cea035View commit details -
lxd/device: Fix lint error (revive: exported).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 96f878d - Browse repository at this point
Copy the full SHA 96f878dView commit details -
lxd/device: Fix lint errors (revive: useless-break).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 650309c - Browse repository at this point
Copy the full SHA 650309cView commit details -
lxd/instance/drivers: Fix lint errors (revive: confusing-results).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 840d5ba - Browse repository at this point
Copy the full SHA 840d5baView commit details -
lxd/network: Fix lint errors (revive: exported).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ddc8acd - Browse repository at this point
Copy the full SHA ddc8acdView commit details -
lxd/network: Fix lint errors (revive: comment-spacings).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 321805f - Browse repository at this point
Copy the full SHA 321805fView commit details -
lxd/project: Fix lint errors (revive: confusing-results).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 2f00f7a - Browse repository at this point
Copy the full SHA 2f00f7aView commit details -
lxd: Fix lint error (revive: unchecked-type-assertion).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ace7cdc - Browse repository at this point
Copy the full SHA ace7cdcView commit details -
lxd/storage/drivers/interface: Change function signatures
This allows passing down VolumeCopy structs and Volume structs for snapshots into the storage driver. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1b2673b - Browse repository at this point
Copy the full SHA 1b2673bView commit details -
lxd/storage/drivers/generic_vfs: Use updated snapshots slice
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f3f0e7f - Browse repository at this point
Copy the full SHA f3f0e7fView commit details -
client: Remove
WithUnsecure
from cookie handler options.This must have been missed when we made improvements to OIDC security recently. Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for dc00ec5 - Browse repository at this point
Copy the full SHA dc00ec5View commit details -
lxd/storage/drivers/generic_vfs: Use VolumeCopy struct
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 29bc668 - Browse repository at this point
Copy the full SHA 29bc668View commit details -
lxd/storage/drivers/btrfs: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c6e937e - Browse repository at this point
Copy the full SHA c6e937eView commit details -
lxd/storage/drivers/ceph: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c68cf79 - Browse repository at this point
Copy the full SHA c68cf79View commit details -
lxd/storage/drivers/cephfs: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 775871d - Browse repository at this point
Copy the full SHA 775871dView commit details -
lxd/storage/drivers/dir: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c61fae1 - Browse repository at this point
Copy the full SHA c61fae1View commit details -
lxd/storage/drivers/lvm: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 41707d6 - Browse repository at this point
Copy the full SHA 41707d6View commit details -
lxd/storage/drivers/zfs: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f965f28 - Browse repository at this point
Copy the full SHA f965f28View commit details -
lxd/storage/drivers/common: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6fcd4ca - Browse repository at this point
Copy the full SHA 6fcd4caView commit details -
lxd/storage/drivers/mock: Use updated driver interface
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b07a7c6 - Browse repository at this point
Copy the full SHA b07a7c6View commit details -
github: build lxc and lxd-migrate binaries with trimpath
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7d2d556 - Browse repository at this point
Copy the full SHA 7d2d556View commit details -
github: strip lxc and lxd-migrate native binaries
Non-native binaries cannot be strip'ed: $ strip -s bin/lxc.* bin/lxd-migrate.* strip: Unable to recognise the format of the input file `bin/lxc.aarch64' strip: Unable to recognise the format of the input file `bin/lxd-migrate.aarch64' Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 3a4cb54 - Browse repository at this point
Copy the full SHA 3a4cb54View commit details -
lxd/storage/backend_lxd: Update storage driver invocations
Call the respective storage driver functions with VolumeCopy instead of Volume. This allows passing down snapshot related information into the storage driver. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 86be7d1 - Browse repository at this point
Copy the full SHA 86be7d1View commit details -
lxd/storage/backend_lxd: Don't validate custom storage volumes twice
This was added in canonical#6369 but is redundant since the same check is also happening afterwards when creating the actual DB record Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a219cfb - Browse repository at this point
Copy the full SHA a219cfbView commit details -
github: build lxc and lxd-migrate binaries with trimpath
Also use ldflags to omit the debug symbol table, debug and DWARF info. Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 73218dc - Browse repository at this point
Copy the full SHA 73218dcView commit details -
doc: build lxc with trimpath and without debug info
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a0de3fc - Browse repository at this point
Copy the full SHA a0de3fcView commit details -
github: use regex matching to purge disabled snaps
Exact match on the notes field being "disabled" didn't work for base snaps as they show like this: ``` $ snap list --all core22 Name Version Rev Tracking Publisher Notes core22 20231123 1033 latest/stable canonical✓ base,disabled core22 20240111 1122 latest/stable canonical✓ base ``` Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 21b77f0 - Browse repository at this point
Copy the full SHA 21b77f0View commit details -
lxd/instance/drivers/qemu: Handle SELinux for LXD agent
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit b2cd793ae4ce016ca7da128cc2d14544c041c801) Signed-off-by: Din Music <din.music@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 645f907 - Browse repository at this point
Copy the full SHA 645f907View commit details -
lxd/storage/backend_lxd: Don't use storage name when creating source …
…snapshots The final snapshotStorageName will contain the projects identifier twice if the storage name used to create the vol is used a second time. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b8e7401 - Browse repository at this point
Copy the full SHA b8e7401View commit details -
github: add labels when PRs target LTS branches
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 8abd194 - Browse repository at this point
Copy the full SHA 8abd194View commit details
Commits on Mar 25, 2024
-
lxd/storage/backend_lxd: Append the snapshots creation date
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d63edf2 - Browse repository at this point
Copy the full SHA d63edf2View commit details -
lxd/migrate_storage_volumes: Send snapshot creation timestamp
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f80697a - Browse repository at this point
Copy the full SHA f80697aView commit details -
lxd-generate: Return helpful error instead of panicking.
LXD generate cannot create update method for associative tables if the reference table has more than one "natural key" or if it doesn't have a field called 'Name' or 'Fingerprint'. In the former case it will fail silently (generating incorrect methods). In the latter case it will panic. This commit returns a helpful error message instead. Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d73bbba - Browse repository at this point
Copy the full SHA d73bbbaView commit details
Commits on Mar 26, 2024
-
lxd/storage/backend_lxd: Block volume's volatile.uuid from modification
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 3a1d1a8 - Browse repository at this point
Copy the full SHA 3a1d1a8View commit details -
lxd/storage/backend_lxd: Use quotes consistently for error messages
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 362991a - Browse repository at this point
Copy the full SHA 362991aView commit details -
lxd/storage/drivers/volume: Set the snapshots parent in NewVolumeCopy
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 423b13e - Browse repository at this point
Copy the full SHA 423b13eView commit details -
lxd/storage/drivers/generic_vfs: Handle volatile.uuid for volume imports
Ignore if older volumes don't have the volatile.uuid field set. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 4deec4b - Browse repository at this point
Copy the full SHA 4deec4bView commit details -
lxd/storage/drivers/generic_vfs: Handle volatile.uuid for volume exports
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 15695b2 - Browse repository at this point
Copy the full SHA 15695b2View commit details -
lxd/storage/drivers/generic_vfs: Handle volatile.uuid for volume migr…
…ation Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for afffe42 - Browse repository at this point
Copy the full SHA afffe42View commit details -
test: Pass the storage pool name into the snapshots suite
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 90dcd9f - Browse repository at this point
Copy the full SHA 90dcd9fView commit details -
lxd/storage/drivers/zfs: Pass snapshots when copying
This fixes a regression introduced with the storage interface changes. When copying a VMs root volume snapshots, copy the filesystem snapshots too. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b02ae84 - Browse repository at this point
Copy the full SHA b02ae84View commit details -
lxd/storage/drivers/ceph: Pass snapshots when copying
This fixes a regression introduced with the storage interface changes. When copying a VMs root volume snapshots, copy the filesystem snapshots too. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 156b92b - Browse repository at this point
Copy the full SHA 156b92bView commit details -
lxd/project: Don't panic on StorageVolumeParts
Don't panic if the given volume name doesn't contain a project Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 52aefc8 - Browse repository at this point
Copy the full SHA 52aefc8View commit details -
lxd/storage/drivers/generic_vfs: Use VolumeCopy for genericVFSCopyVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 8c6388d - Browse repository at this point
Copy the full SHA 8c6388dView commit details -
lxd/storage/drivers/btrfs: Pass the CopyVolume struct to genericVFSCo…
…pyVolume Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e130288 - Browse repository at this point
Copy the full SHA e130288View commit details -
lxd/storage/drivers/ceph: Pass the CopyVolume struct to genericVFSCop…
…yVolume Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 4d51a5e - Browse repository at this point
Copy the full SHA 4d51a5eView commit details -
lxd/storage/drivers/dir: Pass the CopyVolume struct to genericVFSCopy…
…Volume Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a84e512 - Browse repository at this point
Copy the full SHA a84e512View commit details -
lxd/storage/drivers/lvm: Pass the CopyVolume struct to genericVFSCopy…
…Volume Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for fb19fe5 - Browse repository at this point
Copy the full SHA fb19fe5View commit details -
lxd/storage/drivers/zfs: Pass the CopyVolume struct to genericVFSCopy…
…Volume Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6564c65 - Browse repository at this point
Copy the full SHA 6564c65View commit details -
lxd/storage/drivers/interface: Add HasVolumeSnapshots function
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c75e1c8 - Browse repository at this point
Copy the full SHA c75e1c8View commit details -
lxd/storage/drivers/common: Implement HasVolumeSnapshots
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1b8498c - Browse repository at this point
Copy the full SHA 1b8498cView commit details -
lxd/storage/drivers: Replace vol.SnapshotsMatch with driver.HasVolume…
…Snapshots Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5ca8774 - Browse repository at this point
Copy the full SHA 5ca8774View commit details -
lxd/storage/drivers/volume: Remove SnapshotsMatch
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 997ef29 - Browse repository at this point
Copy the full SHA 997ef29View commit details -
github: don't abort on remount failures
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 4d8e294 - Browse repository at this point
Copy the full SHA 4d8e294View commit details -
lxd/storage/pool_interface: Remove deleteMissing from CheckInstanceBa…
…ckupFileSnapshots Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 457b3ff - Browse repository at this point
Copy the full SHA 457b3ffView commit details -
lxd/api_internal: Remove deleteMissing from CheckInstanceBackupFileSn…
…apshots Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f728362 - Browse repository at this point
Copy the full SHA f728362View commit details -
lxd/storage/backend_mock: Remove deleteMissing from CheckInstanceBack…
…upFileSnapshots Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 985e97d - Browse repository at this point
Copy the full SHA 985e97dView commit details -
lxd/storage/backend_lxd: Move the snapshot comparison logic into the …
…storage driver By calling the drivers CheckVolumeSnapshots we can offload the actual snapshot comparison. This is required for drivers whose volume snapshot naming concept isn't known to the backend. Additionally the concept of deleting missing snapshots isn't used and can be removed. This also allows reusing the snapshot comparison mechanism. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 26400c2 - Browse repository at this point
Copy the full SHA 26400c2View commit details -
lxd/storage/backend_lxd: Remove deleteMissing from CheckInstanceBacku…
…pFileSnapshots Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d5b93fd - Browse repository at this point
Copy the full SHA d5b93fdView commit details -
incusd: Correctly update event location
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit 1112c2d11e50c046bfeffc052a4b45620fb20d1b) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 09d30ce - Browse repository at this point
Copy the full SHA 09d30ceView commit details -
incusd/events: Upgrade to websocket as late as possible
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit e03daf03d5b53d0988df418da6aab6dfa08c3d46) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 94b4747 - Browse repository at this point
Copy the full SHA 94b4747View commit details -
internal/server/db: Remove function
doDbScan
This removes the `doDbScan` function in favor of `queryScan`. Signed-off-by: Thomas Hipp <thomashipp@gmail.com> (cherry picked from commit b2f214116cf82d1b8c7c067ba6307badca289af3) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 2668094 - Browse repository at this point
Copy the full SHA 2668094View commit details -
internal/server: Use
Retry
functionThis removes the now obsolete `Cluster.retry` function in favor of `query.Retry`. This function also gains a context argument. Signed-off-by: Thomas Hipp <thomashipp@gmail.com> (cherry picked from commit 6b5d14e2d723487f31ebad41a290ff48099692c9) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 631e906 - Browse repository at this point
Copy the full SHA 631e906View commit details -
internal/server/db: Unwrap dbQueryRowScan function
This unwraps the `dbQueryRowScan` function. It no longer depends on a Cluster struct but instead takes a pointer to a ClusterTx struct. It also gains a context parameter. Signed-off-by: Thomas Hipp <thomashipp@gmail.com> (cherry picked from commit 7ed5f3a1aefab5e262cbe89b5740f32133d22227) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 15ae713 - Browse repository at this point
Copy the full SHA 15ae713View commit details -
internal/server/db: Unwrap queryScan function
This unwraps the `queryScan` function. It no longer depends on a Cluster struct but instead takes a pointer to a ClusterTx struct. It also gains a context parameter. Signed-off-by: Thomas Hipp <thomashipp@gmail.com> (cherry picked from commit bbcee43531a3e6302e04c0bf2ee725e67bdc7897) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 7cb0585 - Browse repository at this point
Copy the full SHA 7cb0585View commit details -
internal/server/db: Remove exec function
This removes the `exec` function in favor of `tx.ExecContext`. Signed-off-by: Thomas Hipp <thomashipp@gmail.com> (cherry picked from commit 539eb221257e89c0b9f4ae44a6314752bb4241fb) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for e309583 - Browse repository at this point
Copy the full SHA e309583View commit details -
lxd/dns: Serialize DNS queries
As calculating a full DNS zone is quite costly, lets only process one at a time. Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit 94cd06812fe37be908ab3e49389a335ed457f88f) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 2c4cd28 - Browse repository at this point
Copy the full SHA 2c4cd28View commit details -
lxd/backups: Simplify missing backup errors
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit d86b5c974faa12b08d80312a39a52602464b75ba) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for b1e67a0 - Browse repository at this point
Copy the full SHA b1e67a0View commit details -
tests: Update for current backup errors
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit b6aa86b5267990c61d7166fedc42ea58f8b45753) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 44c764d - Browse repository at this point
Copy the full SHA 44c764dView commit details -
lxd/cluster: Optimize ConnectIfInstanceIsRemote
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit de094b24bbde7731771b0f56dc2bdee138a0c565) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> License: Apache-2.0
Configuration menu - View commit details
-
Copy full SHA for 42735e8 - Browse repository at this point
Copy the full SHA 42735e8View commit details -
lxd/backup/utils: Ensure the volume's config gets updated too
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for cff8b66 - Browse repository at this point
Copy the full SHA cff8b66View commit details -
lxd/storage/backend_lxd: Block volume's volatile.uuid from modification
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 2891d38 - Browse repository at this point
Copy the full SHA 2891d38View commit details -
lxd/storage/backend_lxd: Set volume's volatile.uuid for storage drive…
…r calls Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5b141a1 - Browse repository at this point
Copy the full SHA 5b141a1View commit details -
lxd/storage/backend_lxd: Consistently use GetNewVolume for config gen…
…eration When used to instantiate a new volume, it deep copies the given config for later usage. Modified to avoid volatile.uuid functionality which isn't being backported. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com> Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7784e33 - Browse repository at this point
Copy the full SHA 7784e33View commit details -
lxd/storage/drivers/volume: Deep copy the volume's config when instan…
…tiating a snapshot Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1f3deaf - Browse repository at this point
Copy the full SHA 1f3deafView commit details -
lxd/resources/storage: Add GetDisksByID function
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f43a21a - Browse repository at this point
Copy the full SHA f43a21aView commit details -
lxd/instance/qemu: No
size.state
checks at startup neededSigned-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7106e42 - Browse repository at this point
Copy the full SHA 7106e42View commit details -
lxd/request: Add a generic methods for getting and setting context va…
…lues. Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5f71a54 - Browse repository at this point
Copy the full SHA 5f71a54View commit details -
lxd/request: Adds an effective project name context key.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 04552b3 - Browse repository at this point
Copy the full SHA 04552b3View commit details -
test/suites: Ensure restricted clients can list inherited resources.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 4d700c1 - Browse repository at this point
Copy the full SHA 4d700c1View commit details -
lxd/instance/drivers/qemu: Revert linter fix
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 75704eb - Browse repository at this point
Copy the full SHA 75704ebView commit details -
lxd/storage/backend_lxd: Don't instantiate a new volume if existent d…
…uring migration When migrating a volume in between LXD cluster nodes, don't instatiate a new volume struct. This will assign a new UUID which isn't correct since the volume stays the same. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6067ca1 - Browse repository at this point
Copy the full SHA 6067ca1View commit details -
lxd/storage/drivers/generic: Use VolumeCopy for genericVFSMigrateVolume
This is already implemented for genericVFSCreateVolumeFromMigration and missing for the sending side. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6803a8f - Browse repository at this point
Copy the full SHA 6803a8fView commit details -
lxd/storage/drivers/zfs: Pass VolumeCopy for genericVFSMigrateVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f88ef44 - Browse repository at this point
Copy the full SHA f88ef44View commit details -
lxd/storage/drivers/lvm: Pass VolumeCopy for genericVFSMigrateVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c36eeed - Browse repository at this point
Copy the full SHA c36eeedView commit details -
lxd/storage/drivers/dir: Pass VolumeCopy for genericVFSMigrateVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for da312fd - Browse repository at this point
Copy the full SHA da312fdView commit details -
lxd/storage/drivers/cephfs: Pass VolumeCopy for genericVFSMigrateVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 2a4f7ff - Browse repository at this point
Copy the full SHA 2a4f7ffView commit details -
lxd/storage/drivers/ceph: Pass VolumeCopy for genericVFSMigrateVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 75e9a65 - Browse repository at this point
Copy the full SHA 75e9a65View commit details -
lxd/storage/drivers/btrfs: Pass VolumeCopy for genericVFSMigrateVolume
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 15141ea - Browse repository at this point
Copy the full SHA 15141eaView commit details -
test/main: add log grouping (GHA)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e4cb448 - Browse repository at this point
Copy the full SHA e4cb448View commit details -
test/main: show dmesg on failure
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f3423d1 - Browse repository at this point
Copy the full SHA f3423d1View commit details -
github: capture dmesg if setting up microceph fails
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1c6e998 - Browse repository at this point
Copy the full SHA 1c6e998View commit details -
lxd/db/networks: Differentiate not found errors from other errors in …
…GetNetworkWithInterface Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ecaf768 - Browse repository at this point
Copy the full SHA ecaf768View commit details -
lxd/networks/utils: Don't log not found errors in networkAutoAttach
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 2ea5a29 - Browse repository at this point
Copy the full SHA 2ea5a29View commit details -
lxd/devices: Log the device concerning the error from networkAutoAttach
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5a26893 - Browse repository at this point
Copy the full SHA 5a26893View commit details -
lxd/patches: Remove VM block vols from patchStorageUnsetInvalidBlockS…
…ettings Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d86aa62 - Browse repository at this point
Copy the full SHA d86aa62View commit details -
lxd/storage/drivers/ceph: Don't unset the block.* settings for VMs
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5266042 - Browse repository at this point
Copy the full SHA 5266042View commit details -
lxd/storage/drivers/lvm: Don't unset the block.* settings for VMs
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c0635d0 - Browse repository at this point
Copy the full SHA c0635d0View commit details -
lxd/api/internal: Use correct quoting for error in internalImportFrom…
…Backup Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for cd6d58d - Browse repository at this point
Copy the full SHA cd6d58dView commit details -
lxd/db/cluster/devices: Use correct string quoting of device type for…
… error in NewDeviceType Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e12f8fa - Browse repository at this point
Copy the full SHA e12f8faView commit details -
lxd/instances/post: Improve error in createFromBackup
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7b512a2 - Browse repository at this point
Copy the full SHA 7b512a2View commit details -
lxd/storage/backend/lxd: Update backup.yaml after instance and volume…
… DB records have been generated in CreateInstanceFromBackup This ensures any device modifications are applied to the on-disk backup.yaml file. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f5bd4f1 - Browse repository at this point
Copy the full SHA f5bd4f1View commit details -
lxd: Move
ExpandInstanceConfig
andExpandInstanceDevices
from `lx……d/db` to `lxd/instance/instancetype` package Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com> Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 989393a - Browse repository at this point
Copy the full SHA 989393aView commit details -
lxd: Removes duplicate implementation of ExpandInstanceConfig and Exp…
…andInstanceDevices And switches to one in instance/instancetype package. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5f889b5 - Browse repository at this point
Copy the full SHA 5f889b5View commit details -
lxd/endpoints/network/util/test: Remove incus references in Test_netw…
…orkServerErrorLogWriter_shouldDiscard Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 2e9c9ac - Browse repository at this point
Copy the full SHA 2e9c9acView commit details -
lxd/storage/backend_lxd: Pass right volume name when refreshing custo…
…m volumes This fixes a situation in which the list of target volume snaphots gets appended with the right snapshot but wrong parent volume (source instead of target volume). Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 491112d - Browse repository at this point
Copy the full SHA 491112dView commit details -
client/lxd/instances: Adds API extension check for device override on…
… import Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 050f86b - Browse repository at this point
Copy the full SHA 050f86bView commit details -
github: build lxd-benchmark binaries and upload as artifacts
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for dd485e9 - Browse repository at this point
Copy the full SHA dd485e9View commit details -
github: exit on error in microceph setup step
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 88d9924 - Browse repository at this point
Copy the full SHA 88d9924View commit details -
test/main: don't wrap tests logs in log groups
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b9518eb - Browse repository at this point
Copy the full SHA b9518ebView commit details -
lxc: Remove unnecessary client import alias.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6eed569 - Browse repository at this point
Copy the full SHA 6eed569View commit details -
client: Add Devices field to InstanceBackupArgs
To keep in sync with main branch. Also adds devices support to CreateInstanceFromBackup. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6be15fc - Browse repository at this point
Copy the full SHA 6be15fcView commit details