Stéphane Graber
6af3181d9d
incusd/cluster: Add missing project handling to ConnectIfVolumeIsRemote
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-18 05:17:13 -05:00
Stéphane Graber
8b64887711
Merge pull request #2693 from presztak/lvmcluster_snapshot
...
Add support for QCOW2 formatted volumes on lvmcluster
2025-12-18 02:43:35 -05:00
Piotr Resztak
41a4db0893
doc: Update metadata
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:23:00 -05:00
Stéphane Graber
f955c8c93c
incusd/storage/drivers/types: Fix gofumpt
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-18 02:22:59 -05:00
Stéphane Graber
b740c587d0
incusd/storage: Don't add new volume options on snapshot
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-18 02:22:58 -05:00
Stéphane Graber
3382132bee
incusd/storage/lvmcluster: Set block.filesystem to btrfs
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-18 02:22:57 -05:00
Stéphane Graber
8b3d233e63
incusd/storage/lvm: Fix handling of stripe size config
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-18 02:22:56 -05:00
Stéphane Graber
be9d6a00d8
incusd/storage/lvmcluster: Fix activation for containers
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-18 02:22:55 -05:00
Piotr Resztak
cf1ac960f6
incusd/storage/drivers: Show config filesystem only for FS volumes
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:22:54 -05:00
Piotr Resztak
4ccad8b0ce
incusd/instance: Add support for creating/deleting qcow2 snapshots while instance is running
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:22:54 -05:00
Piotr Resztak
c265847d1e
incusd/instance/drivers: Add support for running instances from a backing chain
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:22:53 -05:00
Piotr Resztak
6f3013fbba
incusd/storage: Add support for creating, renaming, restoring and deleting qcow2 instance volumes
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:22:52 -05:00
Piotr Resztak
078f84ccba
incusd/storage: Add 'BackingPath' to track backing chain for qcow2 volumes
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:15:16 -05:00
Piotr Resztak
4edd91803c
incusd/device/config: Add 'BackingPath' to track backing chain for qcow2 volumes
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:15:15 -05:00
Piotr Resztak
509ee54e53
incusd/storage/drivers: Add GetQcow2BackingFilePath and Qcow2DeletionCleanup
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:15:14 -05:00
Piotr Resztak
a15aca3f61
incusd/storage/drivers: Add support for creating and renaming qcow2 volume snapshots
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:15:13 -05:00
Piotr Resztak
644422ce07
incusd/storage/drivers: Add support for the qcow2 config filesystem snapshots
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:15:12 -05:00
Piotr Resztak
3cfb0976b5
incusd/storage/drivers: Add support for activating and deactivating qcow2-formatted volumes
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:06:56 -05:00
Piotr Resztak
c32fbd9c29
incusd/instance/drivers/qmp: Add QueryNamedBlockNodes and ChangeBackingFile
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:06:55 -05:00
Piotr Resztak
3ab376be69
incusd/storage: Implement the creation of qcow2 formatted volumes when on lvmcluster
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:06:54 -05:00
Piotr Resztak
32c14f99ed
incusd/storage/drivers: Add 'block.type' config and additional validation checks
...
* Implement a new block.type read-only volume option which would support raw or qcow2
* Disallow snapshot creation on lvmcluster volumes that have the 'security.shared'
property set to true
* Change lvmcluster so that all new instance VM volumes get the qcow2 block.type
* Prevent the creation of snapshots on lvmcluster volumes of type VM or custom (block)
that don't have the qcow2 'block.type'
* Make 'mkfs.btrfs' a requirement for the lvmcluster storage pool driver
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 02:06:53 -05:00
Piotr Resztak
6704bcb582
incusd/instance/drivers: Add qcow2 block device utility functions
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 01:44:30 -05:00
Piotr Resztak
01a9a9aa10
incusd/storage/drivers: Add utils for qcow2 manipulation
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 01:44:29 -05:00
Piotr Resztak
24eb19de38
api: Add storage_lvmcluster_qcow2 extension
...
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io >
2025-12-18 01:44:28 -05:00
Stéphane Graber
f599505b8e
Merge pull request #2764 from dector/chore/2636/fix-linter-in-filter
...
incus/util: #2636 fix linter complaints in `internal/filter`
2025-12-17 13:13:44 -05:00
Stéphane Graber
68b9c9d121
Merge pull request #2768 from positiveEV/main
...
incus/network_load_balancer: Fix typo in cmd info description
2025-12-17 13:12:48 -05:00
Etienne Guillot
32008274cf
i18n: Update translation templates
...
Signed-off-by: Etienne Guillot <etienne.guillot@cosium.com >
2025-12-17 10:09:46 -05:00
Etienne Guillot
88f75bcb6b
incus/network_load_balancer: Fix typo in cmd info description
...
Signed-off-by: Etienne Guillot <etienne.guillot@cosium.com >
2025-12-17 10:09:18 -05:00
Denys Mosiiuk
bb2ffcf15c
incus/util: #2636 fix linter complaints in internal/filter
...
Changes:
- Suppressed few casts in-line.
- Used early return.
Signed-off-by: Denys Mosiiuk <dmos@dector.space >
2025-12-17 10:50:03 +01:00
Stéphane Graber
d0cc7fc504
Merge pull request #2767 from stgraber/main
...
incusd/devices/tpm: Make incompatible with live-migration
2025-12-16 17:00:25 -05:00
Stéphane Graber
63c121b9e5
Merge pull request #2753 from johnae/main
...
shared/tls: implement Happy Eyeballs (RFC 8305) in RFC3493Dialer
2025-12-16 14:42:05 -05:00
Stéphane Graber
30e8f38cef
incusd/devices/tpm: Make incompatible with live-migration
...
We don't currently support swtpm register live migration, so even if the
VM can be moved successfully, we'll be left with a freshly started TPM
which will confuse the guest OS.
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-16 14:40:51 -05:00
John Axel Eriksson
07852cf616
shared/tls: implement Happy Eyeballs (RFC 8305) in RFC3493Dialer
...
The RFC3493Dialer function, before this, tried addresses sequentially
with a 10-second timeout per address. This causes problems in dual-stack
environments where one address family is unreachable:
- If DNS returns IPv4 addresses first but IPv4 is unreachable (e.g., in
IPv6-only environments), the dialer would spend 10+ seconds timing out
on each IPv4 address before trying IPv6.
- This exceeded typical HTTP client timeouts, causing connection failures
even when IPv6 connectivity was available.
This change implements Happy Eyeballs (RFC 8305):
1. Sort addresses with IPv6 first (RFC 8305 recommends preferring IPv6)
2. Start connection attempts with a 250ms staggered delay (per RFC 8305)
3. Return the first successful connection immediately
4. Finally clean up unused connections
Signed-off-by: John Axel Eriksson <john@insane.se >
2025-12-16 14:07:07 -05:00
Stéphane Graber
2922c21ff5
Merge pull request #2761 from breml/generate-database-jointo
...
generate-database: Allow overwriting the target column for a join
2025-12-16 11:13:30 -05:00
Stéphane Graber
575015a938
Merge pull request #2749 from MOBergeron/issue-2739
...
Attempt to make the Incus Agent on Windows better integrated.
2025-12-16 11:08:18 -05:00
Stéphane Graber
0a5568b830
Merge pull request #2766 from stgraber/main
...
incusd/storage_volumes: Fix state handling in getVolumeFull
2025-12-16 08:27:17 -05:00
Stéphane Graber
75235e6516
Merge pull request #2765 from dector/ref/2636/fix-lint-internal-jmap
...
internal/jmap: Refactor Map methods and add comprehensive tests
2025-12-16 08:14:21 -05:00
Denys Mosiiuk
045bee77df
internal/jmap: Refactor Map methods and add comprehensive tests
...
Changes:
- Use early return where needed.
- Add missing docstrings.
- Fix typo in error.
- Add missing unit tests for jmap.
Signed-off-by: Denys Mosiiuk <dmos@dector.space >
2025-12-16 09:48:41 +01:00
Stéphane Graber
4bda52a726
incusd/storage_volumes: Fix state handling in getVolumeFull
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-16 03:27:15 -05:00
Lucas Bremgartner
8eefe09172
generate-database: Allow overwriting the target column for a join
...
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io >
2025-12-16 07:57:32 +01:00
Stéphane Graber
d30570cddc
Merge pull request #2763 from dector/docs/2636/for-internal-io
...
incus/io: #2636 fix linter complaints in `internal/io`
2025-12-15 21:21:20 -05:00
Denys Mosiiuk
f0c4438e70
incus/io: #2636 fix linter complaints in internal/io
...
Changes:
- Added missing docstrings.
- Renamed `min` function parameter to `minimum`.
Signed-off-by: Denys Mosiiuk <dmos@dector.space >
2025-12-15 23:32:15 +01:00
Stéphane Graber
ce07a55a64
Merge pull request #2762 from lxc/dependabot/github_actions/actions/upload-artifact-6
...
build(deps): bump actions/upload-artifact from 5 to 6
2025-12-15 14:06:40 -05:00
dependabot[bot]
6e19e438d3
build(deps): bump actions/upload-artifact from 5 to 6
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-15 19:05:31 +00:00
Stéphane Graber
ec21db7fd0
Merge pull request #2759 from stgraber/main
...
Update dependencies
2025-12-14 23:57:09 -05:00
Stéphane Graber
c0922d457c
gomod: Get latest umoci
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-14 16:50:49 -05:00
Stéphane Graber
79725b988f
gomod: Update dependencies
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org >
2025-12-14 16:49:59 -05:00
Stéphane Graber
887fe1a97b
Merge pull request #2758 from weblate/weblate-incus-cli
...
Translations update from Hosted Weblate
2025-12-14 11:19:13 -05:00
KATOH Yasufumi
4c4a3aa621
Translated using Weblate (Japanese)
...
Currently translated at 78.6% (1493 of 1898 strings)
Translation: Incus/CLI
Translate-URL: https://hosted.weblate.org/projects/incus/cli/ja/
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp >
2025-12-14 17:01:56 +01:00
Stéphane Graber
57c8168253
Merge pull request #2756 from stgraber/main
...
incusd/instance/qemu: Fix regression in reported state
2025-12-14 03:52:09 -05:00