-
-
Notifications
You must be signed in to change notification settings - Fork 215
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 from stable-5.0 #988
Commits on Jul 12, 2024
-
[lxd-import] github: stop purging core20
This was risky because if another snap (like mdl) moved to a core20 base, we'd be removing core20 just to download it again. Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 3491b6e2e11d8fde67c58878a3a23fe75944da9f)
Configuration menu - View commit details
-
Copy full SHA for 4802dfe - Browse repository at this point
Copy the full SHA 4802dfeView commit details -
[lxd-import] github: purge disabled/superseded snaps
This is to reclaim some space. Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 875480ca306b421442bb7ebbce45ff2634b2cea8)
Configuration menu - View commit details
-
Copy full SHA for ff1139c - Browse repository at this point
Copy the full SHA ff1139cView commit details -
[lxd-import] github: move snap removal to "Reclaim some space" step
Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit b7656135800b9e3d3d27b209700f52e6d2dd2ebf)
Configuration menu - View commit details
-
Copy full SHA for 759d9ae - Browse repository at this point
Copy the full SHA 759d9aeView commit details -
[lxd-import] github: put docker removal its own step
Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit 117e76b35d1f2f560299e6836797cf1fa3d395b5)
Configuration menu - View commit details
-
Copy full SHA for a9f71e8 - Browse repository at this point
Copy the full SHA a9f71e8View commit details -
[lxd-import] github: mask lxc{,-net}.service in a singe command
Signed-off-by: Simon Deziel <simon.deziel@canonical.com> (cherry picked from commit d5c5c7d7799c23553bc5eed1db1effd0f90ed5d9)
Configuration menu - View commit details
-
Copy full SHA for 757aa2a - Browse repository at this point
Copy the full SHA 757aa2aView commit details -
[lxd-import] lxd/instance/drivers/driver/qemu: Don't leak file descri…
…ptor when probing for Direct I/O support Fixes #12808 Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com> (cherry picked from commit d0b991dca948d400b31f724a5d4ea6b274bf6763)
Configuration menu - View commit details
-
Copy full SHA for 75a5821 - Browse repository at this point
Copy the full SHA 75a5821View commit details -
[lxd-import] lxd/network/acl: Change protocol field for ovn logs
ovn-controller.log no longer reports the protocol on the `severity` field, instead including it with the `direction` field. Previously, the log line would include: severity=info: tcp Whereas now, it simply reports the log level: severity=info The protocol is now reported as with the direction: direction=to-lport: icmp Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com> (cherry picked from commit f4d093fc0e00d7f68483eccdeea84c0534eeb223)
Configuration menu - View commit details
-
Copy full SHA for 1c675aa - Browse repository at this point
Copy the full SHA 1c675aaView commit details -
[lxd-import] lxd/instance: Reject limits.kernel config for VMs
Fixes #12874 Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com> (cherry picked from commit f0d0128ed636065080607170969244033b2d4616)
Configuration menu - View commit details
-
Copy full SHA for 2582864 - Browse repository at this point
Copy the full SHA 2582864View commit details -
[lxd-import] doc:
limits.kernel
only applies to containers (see #12……874) Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com> (cherry picked from commit 14da90f72592a7c3cf32dae85d0cfa245cc92d46)
Configuration menu - View commit details
-
Copy full SHA for bfbc3e8 - Browse repository at this point
Copy the full SHA bfbc3e8View commit details -
[lxd-import] lxd/storage: Fix resize for pools with custom zfs.pool_name
Resolves #13038 Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com> (cherry picked from commit f76c8bcf52ade8a18aa47c9ddf5ea9cc072d4376)
Configuration menu - View commit details
-
Copy full SHA for f3c5660 - Browse repository at this point
Copy the full SHA f3c5660View commit details -
[lxd-import] lxd/storage/drivers/driver_zfs_utils: fix typos
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 550cb34 - Browse repository at this point
Copy the full SHA 550cb34View commit details -
[lxd-import] lxd/storage/drivers/driver_zfs_utils: make it explicit t…
…hat blocksize is in bytes Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e0342b8 - Browse repository at this point
Copy the full SHA e0342b8View commit details -
[lxd-import] lxd/task/group: Make cancel type of context.CancelFunc f…
…or clarity Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 0453d0a - Browse repository at this point
Copy the full SHA 0453d0aView commit details -
[lxd-import] doc: Add paragraph on how to delete images
Signed-off-by: ggouzi <gaetan.gouzi@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f26bae1 - Browse repository at this point
Copy the full SHA f26bae1View commit details -
[lxd-import] test: Add exec exit code test
Signed-off-by: Din Music <din.music@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6f9bb38 - Browse repository at this point
Copy the full SHA 6f9bb38View commit details -
[lxd-import] lxd/apparmor: allow confined services to receive require…
…d signals Allow dnsmasq to be restarted / killed and remove the peer restriction on the signal rule for the archive profile to ensure it can be sent by a lxd which is confined under a profile with the unconfined flag. Signed-off-by: Alex Murray <alex.murray@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 504ef33 - Browse repository at this point
Copy the full SHA 504ef33View commit details -
[lxd-import] lxd/rsync: Consistently compare files on nanosecond basis
Starting with rsync 3.1.3 using a negative window will take nanoseconds into account. Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 98e7f61 - Browse repository at this point
Copy the full SHA 98e7f61View commit details -
[lxd-import] test/suites/migration: Check for file contents after ref…
…resh Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 3e18a4e - Browse repository at this point
Copy the full SHA 3e18a4eView commit details -
[lxd-import] test/suites/migration: Check local and remote instance r…
…efreshes based on nanoseconds Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 0e61e82 - Browse repository at this point
Copy the full SHA 0e61e82View commit details -
[lxd-import] doc: add paragraph on how to delete images
Signed-off-by: ggouzi <gaetan.gouzi@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a114cac - Browse repository at this point
Copy the full SHA a114cacView commit details -
[lxd-import] doc: enable multiprocessing for pyspelling
Pyspelling has a new option to run jobs in parallel. This should make the spelling check considerably faster. Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 99c7cfd - Browse repository at this point
Copy the full SHA 99c7cfdView commit details -
[lxd-import] Makefile: have run-parts report which script it runs
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5ee3277 - Browse repository at this point
Copy the full SHA 5ee3277View commit details -
[lxd-import] lxd/storage/drivers/ceph: Disable filesystem config keys…
… on block volumes Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 92aad5c - Browse repository at this point
Copy the full SHA 92aad5cView commit details -
[lxd-import] lxd/storage/drivers/lvm: Disable filesystem config keys …
…on block volumes Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 8d8e4b3 - Browse repository at this point
Copy the full SHA 8d8e4b3View commit details -
[lxd-import] test: Add check to restore custom volumes of type block
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b8265bf - Browse repository at this point
Copy the full SHA b8265bfView commit details -
[lxd-import] lxd/storage/drivers/ceph: Update UnmountVolumeSnapshot d…
…ocstring Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5c8bad0 - Browse repository at this point
Copy the full SHA 5c8bad0View commit details -
[lxd-import] lxd: Improve error check for existing certificates
The previous error message didn't exist anymore. A good example of why not to use hard-coded error messages :) Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a112563 - Browse repository at this point
Copy the full SHA a112563View commit details -
[lxd-import] shared/api: Updates swagger description for certificate …
…field. Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 8e0fb7f - Browse repository at this point
Copy the full SHA 8e0fb7fView commit details -
[lxd-import] shared/api: Fix lint errors (receiver-naming).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5e1bb54 - Browse repository at this point
Copy the full SHA 5e1bb54View commit details -
[lxd-import] lxd/db/cluster: Fix lint error (revive: var-naming).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 808b09e - Browse repository at this point
Copy the full SHA 808b09eView commit details -
[lxd-import] lxd-migrate: Ignore lint error (revive: deep-exit).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a636145 - Browse repository at this point
Copy the full SHA a636145View commit details -
[lxd-import] lxc/remote: Fix lint errors (revive: exported).
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b719a16 - Browse repository at this point
Copy the full SHA b719a16View commit details -
[lxd-import] lxd/storage/backend: Don't validate custom storage volum…
…es twice This was added in https://github.com/lxc/incus/pull/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 1ce1b5f - Browse repository at this point
Copy the full SHA 1ce1b5fView commit details -
[lxd-import] lxd-generate: Return helpful error instead of panicking.
Incus 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 124b51c - Browse repository at this point
Copy the full SHA 124b51cView commit details -
[lxd-import] lxd/storage/backend: Use quotes consistently for error m…
…essages Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5690dd9 - Browse repository at this point
Copy the full SHA 5690dd9View commit details -
[lxd-import] 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 2f195fb - Browse repository at this point
Copy the full SHA 2f195fbView commit details -
[lxd-import] 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 0b3596c - Browse repository at this point
Copy the full SHA 0b3596cView commit details -
[lxd-import] test/main: add log grouping (GHA)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 0eac391 - Browse repository at this point
Copy the full SHA 0eac391View commit details -
[lxd-import] test/main: show dmesg on failure
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e08baae - Browse repository at this point
Copy the full SHA e08baaeView commit details -
[lxd-import] lxd/api/internal: Use correct quoting for error in inter…
…nalImportFromBackup Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 5554339 - Browse repository at this point
Copy the full SHA 5554339View commit details -
[lxd-import] lxd/db/cluster/devices: Use correct string quoting of de…
…vice type for error in NewDeviceType Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7c794c0 - Browse repository at this point
Copy the full SHA 7c794c0View commit details -
[lxd-import] 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 45e17ba - Browse repository at this point
Copy the full SHA 45e17baView commit details -
[lxd-import] lxd/storage/backend/lxd: Update backup.yaml after instan…
…ce 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 6047f49 - Browse repository at this point
Copy the full SHA 6047f49View commit details -
[lxd-import] 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 08582ef - Browse repository at this point
Copy the full SHA 08582efView commit details -
[lxd-import] lxd/device/disk: Remove config.iso file when the cloud-i…
…nit:config disk device is removed Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c509619 - Browse repository at this point
Copy the full SHA c509619View commit details -
[lxd-import] lxd/images: Add project to error in autoSyncImages
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ac28c49 - Browse repository at this point
Copy the full SHA ac28c49View commit details -
[lxd-import] lxd/project/project: Remove optimisation from StorageVol…
…umeProject This was causing the unvalidated request project name to be used directly in storage layer sometimes. https://github.com/lxc/incus/security/code-scanning/147 Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ce8fc8b - Browse repository at this point
Copy the full SHA ce8fc8bView commit details -
[lxd-import] lxd/storage/volumes: Remove unnecessary 2 line variable …
…definition in doCustomVolumeRefresh Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 16e9769 - Browse repository at this point
Copy the full SHA 16e9769View commit details -
[lxd-import] lxd/storage/volumes: Remove unnecessary 2 line variable …
…definition in doVolumeCreateOrCopy Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c0197df - Browse repository at this point
Copy the full SHA c0197dfView commit details -
[lxd-import] lxd/storage/volumes: Validate source project in doCustom…
…VolumeRefresh And convert to effective project name. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 795308f - Browse repository at this point
Copy the full SHA 795308fView commit details -
[lxd-import] [lxd-import] lxd/storage/volumes: Validate source projec…
…t in doVolumeCreateOrCopy And convert to effective project name. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7445e14 - Browse repository at this point
Copy the full SHA 7445e14View commit details -
[lxd-import] lxd/db/cluster: Remove redunant parentheses.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 407d111 - Browse repository at this point
Copy the full SHA 407d111View commit details -
[lxd-import] lxd/db/cluster: Rename "node" to "cluster member".
Additionally, capitalise error messages. Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7556c7a - Browse repository at this point
Copy the full SHA 7556c7aView commit details -
[lxd-import] lxd/migrate/storage/volumes: Use volume name from DB in …
…migrationSourceWs.DoStorage This fixes https://github.com/lxc/incus/security/code-scanning/147 Although wasn't an actual security problem because the DB check would fail the request if the volume specified didn't exist rather than passing unverified input to the storage layer. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for accb670 - Browse repository at this point
Copy the full SHA accb670View commit details -
[lxd-import] lxd/network/network/utils: Fix incorrect conversion from…
… int64 to int in inRoutingTable Fixes https://github.com/lxc/incus/security/code-scanning/32 by using arch dependent int size in ParseInt() so its compatible with net.CIDRMask. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 2c584a8 - Browse repository at this point
Copy the full SHA 2c584a8View commit details -
[lxd-import] lxd/network/network/utils: Remove unnecessary call to fm…
…t.Sprintf by passing base to ParseInt Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 01ed53e - Browse repository at this point
Copy the full SHA 01ed53eView commit details -
[lxd-import] lxd/response: Use SmartError if SyncResponse success=false
SyncResponse's `success` field can hint that SyncResponse can potentially handle errors. However, when an error is passed in like so: ``` err = ceph.ServicePlacementHandler(interfaces.CephState{State: s}, payload) if err != nil { return response.SyncResponse(false, err) } ``` But the syncResponse does not set the `error` field of the response, so the result has no metadata or error: ``` { "type": "sync", "status": "Failure", "status_code": 400, "operation": "", "error_code": 0, "error": "", "metadata": {} } ``` It seems `SyncResponse(false, ...)` is never used in the Incus codebase for any reason, so I think it's safe to just handle this type of response like an error. So I've changed `Render` to just fallback to a SmartError, which will also try to maintain the http information from the underlying error. Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ea898b5 - Browse repository at this point
Copy the full SHA ea898b5View commit details -
[lxd-import] lxd/storage/drivers/driver/zfs/volumes: Fix error scopin…
…g in CreateVolumeFromCopy Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 733e993 - Browse repository at this point
Copy the full SHA 733e993View commit details -
[lxd-import] lxd/storage/drivers/driver/zfs/volumes: Define send/rece…
…ive channels together in CreateVolumeFromCopy Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7983fcb - Browse repository at this point
Copy the full SHA 7983fcbView commit details -
[lxd-import] lxd/storage/drivers/driver/zfs/volumes: Kill sender if r…
…eceiver fails in CreateVolumeFromCopy As sender has by definition already ended. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e6bae2b - Browse repository at this point
Copy the full SHA e6bae2bView commit details -
[lxd-import] lxd/storage/drivers/driver/zfs/volumes: Handle multi-lin…
…e errors in CreateVolumeFromCopy Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for bfa8e7b - Browse repository at this point
Copy the full SHA bfa8e7bView commit details -
[lxd-import] lxd/storage/drivers/driver/btrfs/volumes: Fix hang when …
…btrfs receive fails in RefreshVolume Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 371ac6c - Browse repository at this point
Copy the full SHA 371ac6cView commit details -
[lxd-import] lxd/storage/drivers/driver/btrfs/volumes: Handle multi-l…
…ine errors in RefreshVolume Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 40c51d5 - Browse repository at this point
Copy the full SHA 40c51d5View commit details -
[lxd-import] lxd/storage/drivers/driver/zfs/volumes: Aligns RefreshVo…
…lume with BTRFS driver For consistency. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 65bde19 - Browse repository at this point
Copy the full SHA 65bde19View commit details -
[lxd-import] lxd/response: Fallback to error response after setting h…
…eaders Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b2bf022 - Browse repository at this point
Copy the full SHA b2bf022View commit details -
[lxd-import] lxd/storage/backend/lxd: Use volume name from VolumeDBGe…
…t in BackupCustomVolume Fixes https://github.com/lxc/incus/security/code-scanning/142 Although not an actual security issue because the VolumeDBGet was already validating the input was a valid volume name. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 988a4f6 - Browse repository at this point
Copy the full SHA 988a4f6View commit details -
[lxd-import] lxd/storage/drivers/btrfs: Clarify fallback in case UUID…
… discovery times out Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 506afcd - Browse repository at this point
Copy the full SHA 506afcdView commit details -
incusd/db/cluster: Fix import shadowing
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Configuration menu - View commit details
-
Copy full SHA for ba343e0 - Browse repository at this point
Copy the full SHA ba343e0View commit details -
doc/rest-api: Refresh swagger YAML
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Configuration menu - View commit details
-
Copy full SHA for 5e199b4 - Browse repository at this point
Copy the full SHA 5e199b4View commit details -
[lxd-import] lxd/db/cluster: Update error messages in unit tests.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 898e5d7 - Browse repository at this point
Copy the full SHA 898e5d7View commit details -
[lxd-import] lxd/storage/drivers: Add volume param to roundVolumeBloc…
…kSizeBytes Need to be able to check the block size associatd with a volume for zfs (see next commit) Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c6107dd - Browse repository at this point
Copy the full SHA c6107ddView commit details -
[lxd-import] lxd/storage/drivers/zfs: Round to zfs.blocksize or 16KiB
Fixes #13420 Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ce52be2 - Browse repository at this point
Copy the full SHA ce52be2View commit details -
[lxd-import] test/storage: Add non-power-of-two sized storage check
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for aa53cea - Browse repository at this point
Copy the full SHA aa53ceaView commit details -
[lxd-import] test/storage: Remove zfs rounding test
This test will be added to lxd-ci in https://github.com/lxc/incus-ci/pull/175 It doesn't fit well anywhere in this suite as it requires a VM image. Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1d3d2b9 - Browse repository at this point
Copy the full SHA 1d3d2b9View commit details -
[lxd-import] lxd/storage/drivers: Refactor volume size rounding logic
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1cd1508 - Browse repository at this point
Copy the full SHA 1cd1508View commit details -
[lxd-import] lxd/storage/drivers/zfs: Wait for device to appear when …
…activating a volume Instead of giving a udev rules half a second to be applied, wait for the device up to 30 seconds to appear. This fixes the issue where zvol device cannot be located if the rules are not applied in time. Signed-off-by: Din Music <din.music@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c3764e9 - Browse repository at this point
Copy the full SHA c3764e9View commit details -
[lxd-import] lxd/storage/drivers/zfs: Check for non /dev/zvol/* paths
Signed-off-by: Din Music <din.music@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d6411f8 - Browse repository at this point
Copy the full SHA d6411f8View commit details -
incusd/storage/zfs: Fix import shadowing
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Configuration menu - View commit details
-
Copy full SHA for 166cf3f - Browse repository at this point
Copy the full SHA 166cf3fView commit details -
doc/storage_backup: Fix command example
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Configuration menu - View commit details
-
Copy full SHA for 71b0e89 - Browse repository at this point
Copy the full SHA 71b0e89View commit details