Releases: canonical/lxd
LXD 5.17
Announcement
https://discourse.ubuntu.com/t/lxd-5-17-has-been-released/38061
What's Changed
- doc: add a link to Ubuntu Discourse by @ru-fu in #12072
- Volumes: Add remote copy support for snapshots by @roosterfish in #12045
- lxc: Support parsing of anonymous nested structs for getting properties by @gabrielmougard in #12073
- doc: Clean up backup and disaster recovery documentation by @ru-fu in #12064
lxd-doc
improvements by @gabrielmougard in #12062- shared/proxy: allow SOCKS5 proxy by @montag451 in #12066
- VM: Fix boot from Windows ISO by setting correct FSType for .iso files by @tomponline in #12076
- Storage: Fix ZFS incorrect VM cached image volume regeneration when zfs.block_mode enabled by @tomponline in #12077
- Remove project query parameter from generated instance name by @MusicDin in #12080
- Update instance name in backup file when importing new instance by @MusicDin in #12079
- Apply MemberConfig to storage config table by @masnax in #12007
- Add support for ZFS delegation by @stgraber in #12056
- lxd/instance/lxc: Restrict /dev/zfs to unprivileged containers by @stgraber in #12081
- doc/cluster: add an example for a ZFS storage pool to preseed by @ru-fu in #12083
- doc/installing: update link to tutorial on Discourse by @ru-fu in #12082
- lxd/device/device/utils/disk: Look for virtiofsd in /usr/lib/ by @libricoleur in #12087
- SECURITY.md: update the security policy by @ru-fu in #12091
- Remove detection of LXC versions that are EOL by @simondeziel in #12095
- lxd/networks: Don't filter config on project owned networks by @stgraber in #12094
- Switch to Diataxis navigation by @ru-fu in #12092
- lxddoc: fix quotes issues by @gabrielmougard in #12093
- doc: move configuration options one level up by @ru-fu in #12097
- github: Enable PKI and concurrent tests by @tomponline in #12096
- doc: Update IPAM cli output to use documentation-specific IP addresses by @gabrielmougard in #12060
- Improve bound checking by @simondeziel in #12102
- Introduce Authorizer interface by @monstermunchkin in #12053
- test/container_syscall_interception: supported releases have seccomp_notify support by @simondeziel in #12109
- doc: add an index.html redirect for topical navigation by @ru-fu in #12111
- RBAC fixes by @monstermunchkin in #12106
- Change RaftSpare node to RaftVoter by @ichiro999 in #12040
- lxddoc: Within a config group, alphabetically sort the config options by @gabrielmougard in #12114
- github: keep GITHUB_ACTIONS in the test env to skip cleanup by @simondeziel in #12115
- Update .deepsource.toml by @monstermunchkin in #12117
- static-analysis: Fix shellcheck 0.9.x complaints by @monstermunchkin in #12118
- Use smaller ISO files in tests by @simondeziel in #12113
- Adds a "how to" for routed nic devices on VMs by @markylaing in #12107
- Reduce noise in CI/test logs when DEBUG is set by @simondeziel in #12120
- Fix some erroneous letter repetition by @simondeziel in #12127
- Fix 2 function descriptions in
shared/util
by @simondeziel in #12133 - Doc: Clarify scope of nexthop config keys in BGP extension by @roosterfish in #12134
- doc/security: fix wrongly formatted link by @ru-fu in #12145
- Tiny fixes by @simondeziel in #12143
- doc/api-extensions: fix extension name for VM support by @simondeziel in #12140
- doc/storage: mark ZFS as usable inside a container by @ru-fu in #12146
- doc: Align header of macaroon_authentication by @monstermunchkin in #12151
- lxd/instance/drivers: update instance config if rebuild as empty by @gabrielmougard in #12138
- fix: bgp.ipv*.nexthop keys treated as unknown by @mandrav in #12125
- Fix swagger issue in the instance rebuild endpoint by @gabrielmougard in #12137
- doc: restrict Sphinx version by @ru-fu in #12157
- Instance: Fix placement when moving within same cluster group by @roosterfish in #12148
- Doc: Add missing redirect for security.md by @ru-fu in #12158
- doc: update link to IRC tutorial by @ru-fu in #12159
- lxddoc: Add a readthedoc pre-build hook to build and generate codebase doc by @gabrielmougard in #12043
- doc: update download links by @ru-fu in #12160
- fix: helper message typo by @0o001 in #12162
- shared/termios: Use golang.org/x/term instead of golang.org/x/crypto/ssh/terminal by @tomponline in #12164
- lxddoc: add option comments by @gabrielmougard in #12100
- Allow recovery of empty storage pools by @MusicDin in #12108
- lxd/device/gpu: if
gputype=physical
, check that no processes are tied to the card before unbinding it by @gabrielmougard in #12017 - lxddoc: Renamed to lxd-metadata by @gabrielmougard in #12171
- doc: update link to distrobuilder docs by @ru-fu in #12173
- lxd: network.limit-related bugfixes by @mihalicyn in #12170
- Fix migration condition for bridged network devices by @MusicDin in #12176
- lxd: add all-projects param to the operation API by @MusicDin in #12172
New Contributors
- @montag451 made their first contribution in #12066
- @libricoleur made their first contribution in #12087
- @mandrav made their first contribution in #12125
- @0o001 made their first contribution in #12162
Full Changelog: lxd-5.16...lxd-5.17
LXD 5.16
Announcement
https://discourse.ubuntu.com/t/lxd-5-16-has-been-released/37150
What's Changed
- github: move dependency review (~0s) to Code tests job by @simondeziel in #11869
- doc: clean up doc about NUMA node IDs by @ru-fu in #11864
- github: Check all .md files even those at the root by @simondeziel in #11871
- Expand filter logic by @masnax in #11859
- github: inclusive naming should fail on error by @simondeziel in #11872
- Instance: Fix VMs on filesystems that do not support direct I/O by @tomponline in #11873
- github: Wait 30s for ceph to initialize by @tomponline in #11876
- lxc/rebuild: Don't stop all instances on force by @stgraber in #11878
- github: use shellcheck package (22.04 has 0.8.0) by @simondeziel in #11879
- api: Restructure target checks for the instancesPost endpoint by @roosterfish in #11881
- doc/instance options: clarify usage of security.csm by @ru-fu in #11882
- api: Allow the selection of cluster groups when moving instances by @roosterfish in #11813
- Instance rebuild fixes by @stgraber in #11891
- doc: add missing information from website to docs by @ru-fu in #11886
- lxc/storage/volume: Add missing documentation in help message by @roosterfish in #11887
- github: Enable storage buckets tests by @tomponline in #11885
- Use power of 2 units for memory/storage by @simondeziel in #11880
- Allow deleting multiple instance snapshots by @monstermunchkin in #11895
- doc: exclude pages from search index by @ru-fu in #11898
- github: Enable cephfs tests by @tomponline in #11894
- lxd: Fix deviceEventListener resource scheduling when joining cluster by @tomponline in #11899
- doc: change favicon by @ru-fu in #11903
- Drop filesystem suffix and DB settings from VM block volumes by @monstermunchkin in #11755
- lxd/instance/drivers: Ensure root disk device by @monstermunchkin in #11904
- Add missing target flag for bucket key list command by @MusicDin in #11897
- lxd/instance/drivers/qemu: Pick a random vsock Context ID by @roosterfish in #11896
- Storage: Fix Btrfs snapshot race conditions by @roosterfish in #11909
- storage: Use project as a prefix for bucket storage volume name by @MusicDin in #11861
- ISO images as storage volumes by @monstermunchkin in #11852
- doc/cloud-init: fix link to cloud-init docs by @ru-fu in #11915
- oidc: Don't fail if server is not reachable by @monstermunchkin in #11917
- Fix LXD lowering host bridge MTU by @stgraber in #11919
- Added a heading in the client/operations.go file that was missing by @ibilalkayy in #11914
- Added a heading in the client/lxd_candid.go file that was missing by @ibilalkayy in #11921
- doc: update links by @ru-fu in #11933
- doc: add a 404 page by @ru-fu in #11930
- Added a heading in the client/lxd_containers.go file that was missing by @ibilalkayy in #11922
- doc: add an example of a VM launch with a bigger root disk by @simondeziel in #11927
- actions: fix main branch name in GitHub check by @ru-fu in #11935
- SECURITY.md: update security policy by @ru-fu in #11934
- doc: Fix typo in edit a profile section by @MusicDin in #11928
- doc: update header for mobile compatibility by @edlerd in #11938
- code of conduct: update email address by @ru-fu in #11939
- Go Module rename by @tomponline in #11936
- Fix linkcheck by @ru-fu in #11940
- Cluster: Remove obsolete group delete/create for PUT endpoint by @roosterfish in #11946
- Update bug address in .po files by @simondeziel in #11951
- Added function headings in multiple files of the client directory with multiple commits by @ibilalkayy in #11944
- Added headings in the client/lxd_instances.go file that were missing by @ibilalkayy in #11924
- Some functions in the client/lxd.go file were missing the documentation headings by @ibilalkayy in #11913
- Correct
sysinfo
system call header level by @nanjj in #11950 - lxd/instance/drivers: Update system unit documentation by @monstermunchkin in #11956
- Added multiple headings in the the files of doc/LXC directory by @ibilalkayy in #11955
- VM: Ignore container config keys by @roosterfish in #11929
- github: Move documentation and lxc client builds into test workflow by @tomponline in #11960
- github: Add manually dispatch launchpad workflow by @tomponline in #11962
- Disk: Disable directory disk hot plugging from VMs by @roosterfish in #11916
- Add instance type to instances of offline cluster members by @monstermunchkin in #11967
- Added headings in the files of the LXC directory by @ibilalkayy in #11966
- Storage: Don't delete the target root volume when migrating between ZFS pools by @roosterfish in #11969
- Replace links by @simondeziel in #11968
- VM: Skip every other vsock syscall error except ENODEV by @roosterfish in #11978
- doc/metadata: Drop now unused file by @simondeziel in #11981
- lxd: Check project permissions when importing from backup by @monstermunchkin in #11970
- doc: use
systemctl reload
instead ofsnap restart
by @ru-fu in #11992 - doc/storage: clarify when to specify storage volume type by @ru-fu in #11989
- github: Remove builds workflow by @tomponline in #11994
- gomod: Update dependencies by @tomponline in #11995
- lxd: Fix go routine leaks by @tomponline in #11998
- Optimize network forwards by @markylaing in #11983
- gomod: Updates dependencies by @tomponline in #12001
- doc: update to use the ubuntu: image server by @ru-fu in #12002
- lxd/storage/drivers/zfs: Fix content type detection for custom block volumes by @monstermunchkin in #11991
- Instance: Prevent MAC/address conflict for imported instances by @roosterfish in #11988
- doc/storage/zfs: clarify ZFS block mode by @ru-fu in #12003
- Fix lxc-to-lxd by @tomponline in #11918
- lxd-migrate: Fix hang when performing rsync over websocket by @tomponline in #12008
- Added the headings in multiple functions of the config.go file by @ibilalkayy in #11985
- QEMU: Occupy vsock Context ID through syscall by @roosterfish in #11993
- doc: update information about provided/supported images by @ru-fu in #12004
- test/storage_buckets: replace which by command -v by @simondeziel in #12012
- test: Fix flaky clustering image refresh by @monstermunchkin in #12015
- doc: Add busybox-static requirement for running test suite by @monstermunchkin in #12014
- lxc/profile: add --refresh flag to lxc profile copy by @ynachi in #11990
- Ensures golangci-lint is latest release version in CI by @markylaing in #12018
- Suffix custom ISO volumes with ".iso" by @monstermunchkin in #12005
- Add support for storage bucket recovery by @MusicDin in #11883
- client: If
ExecInstance
is called withRecordOutput
enabled send output toStdOut
andStdErr
if streams if provided by @gabrielmougard in https://github.com/canonical/...
LXD 5.15
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-15-has-been-released/17493
What's Changed
- doc: Fix descrption for lxd_memory_Inactive_anon_bytes metric by @hnakamur in https://github.com/lxc/lxd/pull/11733
- lxd/metrics: fix copy-n-paste error for MemoryInactiveAnonBytes help text by @simondeziel in https://github.com/lxc/lxd/pull/11734
- Instance: Fixes LXD crash when starting VMs if /dev/vhost-net not available by @tomponline in https://github.com/lxc/lxd/pull/11732
- Storage: Updates loopFileSizeDefault to consider non-root free space by @tomponline in https://github.com/lxc/lxd/pull/11736
- Instance: Allow copying running VMs (both consistently and inconsistently) locally by @tomponline in https://github.com/lxc/lxd/pull/11731
- doc/faq: Drop reference to eth1 by @stgraber in https://github.com/lxc/lxd/pull/11737
- shared/instance: Separate some instance type specific config key validation by @tomponline in https://github.com/lxc/lxd/pull/11735
- shared/ws/mirror: Allow passing nil to Exec by @julio641742 in https://github.com/lxc/lxd/pull/11740
- lxd/device/nic/ovn: Enable hotplug for VMs by @tomponline in https://github.com/lxc/lxd/pull/11749
- Doc: cluster healing by @ru-fu in https://github.com/lxc/lxd/pull/11750
- doc/UI: update instructions for enabling the UI by @ru-fu in https://github.com/lxc/lxd/pull/11751
- doc/CPU limits: clarify what live update means for CPU limits by @ru-fu in https://github.com/lxc/lxd/pull/11752
- doc/faq: add information about
lxc monitor
by @ru-fu in https://github.com/lxc/lxd/pull/11757 - Cluster: Fix instance start after cluster member healing by @tomponline in https://github.com/lxc/lxd/pull/11753
- lxc/init: Accept Description field from stdin by @tomponline in https://github.com/lxc/lxd/pull/11758
- doc/API: add video link and small updates by @ru-fu in https://github.com/lxc/lxd/pull/11759
- doc/storage/zfs: add missing storage volume configuration by @ru-fu in https://github.com/lxc/lxd/pull/11756
- Perform alias and image deletion after image creation by @presztak in https://github.com/lxc/lxd/pull/11760
- Daemon: Clear left over operations for member during start up by @tomponline in https://github.com/lxc/lxd/pull/11763
- Storage: Return reverters from ImportInstance and ImportCustomVolume to allow revert of storage DB volumes by @tomponline in https://github.com/lxc/lxd/pull/11762
- gomod: Updates github.com/canonical/go-dqlite to 1.20.0 by @tomponline in https://github.com/lxc/lxd/pull/11764
- lxd/db:
UpdateImageLastUseDate
is aClusterTx
method by @gabrielmougard in https://github.com/lxc/lxd/pull/11767 - Images: Rework concurrent download locking by @tomponline in https://github.com/lxc/lxd/pull/11766
- Instance: Handle VM panic by shutting down by @tomponline in https://github.com/lxc/lxd/pull/11768
- Storage: Cleanup pools on creation failure by @tomponline in https://github.com/lxc/lxd/pull/11765
- Operations: Refactor op.Wait() to return an error so operation failures can be easily discovered by @tomponline in https://github.com/lxc/lxd/pull/11774
- Instance: Pause on VM panic by @tomponline in https://github.com/lxc/lxd/pull/11772
- api: Set correct instance resource path for snapshot operations by @roosterfish in https://github.com/lxc/lxd/pull/11776
- VM: Fix potential race condition with context being cancelled too early in restoreState by @tomponline in https://github.com/lxc/lxd/pull/11779
- lxd/storage/drivers/driver/zfs: Fix zfs list recommendation in Create by @tomponline in https://github.com/lxc/lxd/pull/11782
- doc/faq: add info about hanging instances by @ru-fu in https://github.com/lxc/lxd/pull/11778
- Code refactor before adding instance rebuild support by @gabrielmougard in https://github.com/lxc/lxd/pull/11781
- lxc/utils: Change sort ByName interface name to SortColumnsNaturally by @MusicDin in https://github.com/lxc/lxd/pull/11793
- doc: Update max value of
net.core.bpf_jit_limit
by @gabrielmougard in https://github.com/lxc/lxd/pull/11789 - lxd/storage: Use a unique apparmor profile for qemu-img unpacking by @roosterfish in https://github.com/lxc/lxd/pull/11784
- VM: Fix addNetDevConfig to match the tap interface settings that QEMU uses by @tomponline in https://github.com/lxc/lxd/pull/11792
- Instance: Fix VM image unpack apparmor regression by @tomponline in https://github.com/lxc/lxd/pull/11797
- Fix SRIOV representor port lookup by @fnordahl in https://github.com/lxc/lxd/pull/11786
- lxd/instance: Fix exec record-output location by @MusicDin in https://github.com/lxc/lxd/pull/11791
- lxd/instance_logs: Cleanup function call by @MusicDin in https://github.com/lxc/lxd/pull/11805
- Introduce auth_user_name and auth_user_method in /1.0 by @stgraber in https://github.com/lxc/lxd/pull/11809
- Shared CLI package by @markylaing in https://github.com/lxc/lxd/pull/11798
- lxd/db: return an error in
UpdateWarningState
is the warning is not found by @gabrielmougard in https://github.com/lxc/lxd/pull/11812 - lxd: Check if warning exists before acknowledging it by @gabrielmougard in https://github.com/lxc/lxd/pull/11790
- doc/devices/nic:
ovn
NICs support hotplugging for VMs now by @ru-fu in https://github.com/lxc/lxd/pull/11801 - lxd/storage/zfs: Fix ZFS does not respect atime=off option by @MusicDin in https://github.com/lxc/lxd/pull/11811
- Add CSM support by @stgraber in https://github.com/lxc/lxd/pull/11810
- lxd/endpoints: make sure to not access passed the end of the slice by @simondeziel in https://github.com/lxc/lxd/pull/11815
- Network: Ping OVN virtual router external addresses when using physical uplink network by @tomponline in https://github.com/lxc/lxd/pull/11802
- lxc/copy: Don't try and modify volatile.idmap.next on refresh if not set in source by @tomponline in https://github.com/lxc/lxd/pull/11800
- Allow the consistent selection of a GPU device by DRM ID by @roosterfish in https://github.com/lxc/lxd/pull/11799
- doc: restructure the Manage LXD and Internals sections by @ru-fu in https://github.com/lxc/lxd/pull/11625
- lxc/remote: Fix rename of global remotes by @stgraber in https://github.com/lxc/lxd/pull/11817
- lxd/apparmor/archive: Fix snap handling by @stgraber in https://github.com/lxc/lxd/pull/11816
- Use Print/Println when no format specifier is provided/needed by @simondeziel in https://github.com/lxc/lxd/pull/11818
- Instances: Fix file descriptor leaks of liblxc by @tomponline in https://github.com/lxc/lxd/pull/11821
- lxddoc: a go-swagger like documentation tool by @gabrielmougard in https://github.com/lxc/lxd/pull/11652
- lxd/storage: Honor target storage config when migrating by @monstermunchkin in https://github.com/lxc/lxd/pull/11771
- Storage: Only delete ZFS volume on failure if not doing refresh in createVolumeFromMigrationOptimized by @tomponline in https://github.com/lxc/lxd/pull/11823
- Test: Small tweaks to aid in running tests on Github runners by @tomponline in https://github.com/lxc/lxd/pull/11826
- Device: Fix panic when GPU device doesn't have DRM support in startContainer by @tomponline in https://github.com/lxc/lxd/pull/11825
- lxd/device: Fix regression for not properly checking for GPU DRM information by @roosterfish in https://github.com/lxc/lxd/pull/11827
- lxd-migrate: Fix SecureBoot handling by @stgraber in https://github.com/lxc/lxd/pull/11830
- Revert "lxd/device: Fix regression for not properly checking for GPU DRM information" by @roosterfish in https://github.com/lxc/lxd/pull/11832
- github: Simplify static-analysis tests by @tomponline in https://github.com/lxc/lxd/pull/11833
- Fix loading vhost_vsock module when VMs are not supported by @MusicDin in https://github.com/lxc/lxd/pull/11834
- operations: Use
map[string][]url.URL
asresources
passed toOperations
by @gabrielmougard in https://github.com/lxc/lxd/pull/11795 - github: re-add
gettext
package for static-analysis by @simondeziel in https://github.com/lxc/lxd/pull/11835 - Support for instance rebuild by @gabrielmougard in https://github.com/lxc/lxd/pull/11687
- test: Add support for running test suite on Github runners by @tomponline in https://github.com/lxc/lxd/pull/11836
- test: skip cleanup if executing from a GitHub Action runner by @simondeziel in https://github.com/lxc/lxd/pull/11839
- Improve mdev GPU handling by @stgraber in https://github.com/lxc/lxd/pull/11840
- doc: move .sphinx directory and conf.py file by @ru-fu in https://github.com/lxc/lxd/pull/11837
- lxd/bgp: Allow one hour for LXD restart by @stgraber in https://github.com/lxc/lxd/pull/11842
- lxd/ip: improve performance of
getVhostVDPADevInPath
by @Juneezee in https://github.com/lxc/lxd/pull/11843 - VM: Load vhost_vsock kernel module if /dev/kvm is available by @tomponline in https://github.com/lxc/lxd/pull/11844
- lxd/recover: Use configuration defaults by @MusicDin in https://github.com/lxc/lxd/pull/11820
- shared/util: Use more efficient ReadDir in PathIsEmpty by @tomponline in https://github.com/lxc/lxd/pull/11845
- doc: fix symbolic link to rest-api.yaml after moving the directory by @ru-fu in https://github.com/lxc/lxd/pull/11848
- github: Extended testing by @tomponline in https://github.com/lxc/lxd/pull/11846
- Restrict CPU placement to NUMA nodes by @gabrielmougard in https://github.com/lxc/lxd/pull/11850
- github: Add random pool backend test by @tomponline in https://github.com/lxc/lxd/pull/11851
- Move doc setup to the conf.py file by @ru-fu in https://github.com/lxc/lxd/pull/11849
- *: replace Seek(0, 0) by Seek(0, io.SeekStart) as the later is clearer by @simondeziel in https://github.com/lxc/lxd/pull/11853
- doc: fix styling of version box on RTD by @ru-fu in https://github.com/lxc/lxd/pull/11854
- github: Adds ceph support by @tomponline in https://github.com/lxc/lxd/pull/11855
- github: Add support for Go tip by @stgraber in https://github.com/lxc/lxd/pull/11858
- doc: move installation instructions from th...
LXD 5.14
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-14-has-been-released/17259
What's Changed
- Doc: update metrics documentation by @ru-fu in https://github.com/lxc/lxd/pull/11567
- Device: Add support for live VM cluster member move for
ovn
NICs by @tomponline in https://github.com/lxc/lxd/pull/11573 - Small tweaks around regexp usage by @simondeziel in https://github.com/lxc/lxd/pull/11559
- Device: Start non-nested OVN NICs before nested OVN NICs by @tomponline in https://github.com/lxc/lxd/pull/11575
- Comment fixes by @tomponline in https://github.com/lxc/lxd/pull/11579
- doc: Fix OVN peers doc incorrectly listing a ports option by @stgraber in https://github.com/lxc/lxd/pull/11580
- Instance: Forcefully stop SFTP forkfile processs when forcefully stopping container by @tomponline in https://github.com/lxc/lxd/pull/11582
- Device: Fix device sorting of nested NICs by @tomponline in https://github.com/lxc/lxd/pull/11581
- lxd/apparmor: fix AppArmor forkdnsProfile by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11572
- Added fix to detect EOF error on queries and retry with plain text by @jeffreyxie0615 in https://github.com/lxc/lxd/pull/11583
- AppArmor profile for rsync by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11510
- Instance: Only add profiles the instance is using to backup config by @tomponline in https://github.com/lxc/lxd/pull/11585
- instance: no timeout on the operationlock for creating an instance by @gabrielmougard in https://github.com/lxc/lxd/pull/11588
- API: Storage bucket fixes by @tomponline in https://github.com/lxc/lxd/pull/11587
- Automated cluster healing by @monstermunchkin in https://github.com/lxc/lxd/pull/11584
- Add Total fields to InstanceStateDisk and InstanceStateMemory by @stgraber in https://github.com/lxc/lxd/pull/11589
- instance: stop API races while creating/deleting snapshots by @gabrielmougard in https://github.com/lxc/lxd/pull/11586
- lxd/apparmor/rsync: Fix transferring instances including snaps by @stgraber in https://github.com/lxc/lxd/pull/11590
- Network: Skip
bridge
ovn/dhcp range overlap check when DHCP is off by @markylaing in https://github.com/lxc/lxd/pull/11591 - Instance: Fixes deadlock when deleting a VM that has snapshots by @tomponline in https://github.com/lxc/lxd/pull/11593
- Instance: Disable vhost accelerator for veth based NICs in QEMU >= 7.2 by @tomponline in https://github.com/lxc/lxd/pull/11594
- lxd/apparmor/rsync: Fix snap use inside of containers by @stgraber in https://github.com/lxc/lxd/pull/11595
- doc/network: clarify the difference between default and initial value by @ru-fu in https://github.com/lxc/lxd/pull/11598
- instance/logs: Add qemu.conf to log list by @stgraber in https://github.com/lxc/lxd/pull/11602
- Snapshots: Fixes expired snapshot pruning regression by @tomponline in https://github.com/lxc/lxd/pull/11601
- Various doc updates for 5.13 by @ru-fu in https://github.com/lxc/lxd/pull/11604
- doc/storage/buckets: add info on configuring the S3 address by @ru-fu in https://github.com/lxc/lxd/pull/11614
- lxc/export: Rename backup file based on compression type by @ChrisSmith2 in https://github.com/lxc/lxd/pull/11613
- scripts: add missing oidc.* keys to bash completion by @monstermunchkin in https://github.com/lxc/lxd/pull/11608
- lxd: Use protobuf helpers to avoid panics with invalid client responses by @tomponline in https://github.com/lxc/lxd/pull/11615
- Instance: Fix exec losing command output on highly loaded systems by @tomponline in https://github.com/lxc/lxd/pull/11606
- Update return type of GetStoragePoolVolumeNamesAllProjects. by @markylaing in https://github.com/lxc/lxd/pull/11612
- doc/storage: clarify that "attach" is an alias for "device add" by @ru-fu in https://github.com/lxc/lxd/pull/11622
- doc/devices/nic: add link to video and missing info about macvlan by @ru-fu in https://github.com/lxc/lxd/pull/11624
- Generated marshaling/unmarshaling of non-native database types by @markylaing in https://github.com/lxc/lxd/pull/11619
- Storage: Disable safety checks when shrinking a ext4 filesystem volumes created from an image by @tomponline in https://github.com/lxc/lxd/pull/11621
- Instance: Remove automatic timeout concept from operation locks by @tomponline in https://github.com/lxc/lxd/pull/11620
- tests: Clean storage pools in scriplet tests by @stgraber in https://github.com/lxc/lxd/pull/11629
- oidc: Use email scope/claim by @monstermunchkin in https://github.com/lxc/lxd/pull/11628
- Add support for browser OIDC login by @stgraber in https://github.com/lxc/lxd/pull/11627
- oidc: Always set OIDC headers if needed in case of an error by @monstermunchkin in https://github.com/lxc/lxd/pull/11634
- lxc/action: Add freeze as alias to pause by @stgraber in https://github.com/lxc/lxd/pull/11633
- SECURITY: Add GPG keys by @stgraber in https://github.com/lxc/lxd/pull/11632
- lxd/db: remove the old snapshot records in the storage_volumes table by @gabrielmougard in https://github.com/lxc/lxd/pull/11623
- lxd/cgroup: Better matching of devID and io stats by @gabrielmougard in https://github.com/lxc/lxd/pull/11630
- lxc/storage_volume: Set target before getting storage volume by @monstermunchkin in https://github.com/lxc/lxd/pull/11605
- Add
--reuse
flag forpublish
command by @presztak in https://github.com/lxc/lxd/pull/11610 - Fix declaration order for text fields to be unmarshaled by @markylaing in https://github.com/lxc/lxd/pull/11637
- lxd/storage/backend/lxd/patches: Fix storage_delete_old_snapshot_records so it runs on older sqlite versions by @tomponline in https://github.com/lxc/lxd/pull/11638
- oidc: Return and handle Unauthorized error by @monstermunchkin in https://github.com/lxc/lxd/pull/11640
- lxd/cgroup: use
cg.GetProcessesUsage
instead ofcg.GetTotalProcesses
and fix error values inconsistency by @gabrielmougard in https://github.com/lxc/lxd/pull/11641 - Instance: Fix VM /dev/lxd connections from lxd-agent to LXD on host when nesting by @tomponline in https://github.com/lxc/lxd/pull/11644
- lxc/config: Don't crash on nil map by @stgraber in https://github.com/lxc/lxd/pull/11647
- cluster: Disable cluster group creation by anyone authenticated by @monstermunchkin in https://github.com/lxc/lxd/pull/11648
- Instance: Fix incorrect vm vsock listener certificate for lxd-agent /dev/lxd when setting up a cluster by @tomponline in https://github.com/lxc/lxd/pull/11649
- lxd/nic/p2p: Disable accept_ra on host by @stgraber in https://github.com/lxc/lxd/pull/11651
- lxd/api: Redirect /ui to /ui/ by @stgraber in https://github.com/lxc/lxd/pull/11654
- lxc/config_device: Don't panic on nil device map. by @markylaing in https://github.com/lxc/lxd/pull/11656
- Pass state instead of daemon if possible by @monstermunchkin in https://github.com/lxc/lxd/pull/11653
- doc/images: add new
--reuse
flag for publishing images by @ru-fu in https://github.com/lxc/lxd/pull/11667 - Storage: Fix ZFS block volume shrink regression by @tomponline in https://github.com/lxc/lxd/pull/11663
- Reduce calls to d.State() and use state if possible by @monstermunchkin in https://github.com/lxc/lxd/pull/11661
- lxd/certificates: Allow non-admin users to delete only their certificates by @monstermunchkin in https://github.com/lxc/lxd/pull/11668
- OIDC fixes by @monstermunchkin in https://github.com/lxc/lxd/pull/11660
- doc/bridge/resolved: clarify use of "~" by @ru-fu in https://github.com/lxc/lxd/pull/11680
- doc/instance options: clarify CPU limits by @ru-fu in https://github.com/lxc/lxd/pull/11677
- doc: clarify TSIG key name generation for network zones by @yushijinhun in https://github.com/lxc/lxd/pull/11678
- Daemon: Start tertiary listeners (storage buckets and metrics) after managed network are initialised by @tomponline in https://github.com/lxc/lxd/pull/11676
- lxd/network_zones: Use
zone
for consistency by @monstermunchkin in https://github.com/lxc/lxd/pull/11681 - doc/storage: add
lxc storage info
command by @ru-fu in https://github.com/lxc/lxd/pull/11683 - Subprocess: Respect LXD_SECURITY_APPARMOR env var by @tomponline in https://github.com/lxc/lxd/pull/11679
- Network: Add support for sticky DHCPv4 dynamic allocations for
ovn
NICs by @tomponline in https://github.com/lxc/lxd/pull/11686 - doc/getting started: add information about how to access the web UI by @ru-fu in https://github.com/lxc/lxd/pull/11673
- Websocket: Continues move to shared/ws package by @tomponline in https://github.com/lxc/lxd/pull/11689
- lxc/storage: Rework cmdStorageInfo.Run() to be more resilient to used by resource URLs by @tomponline in https://github.com/lxc/lxd/pull/11690
- Doc: clean up FAQ by @ru-fu in https://github.com/lxc/lxd/pull/11684
- storage: Use consistent route variable names by @monstermunchkin in https://github.com/lxc/lxd/pull/11688
- lxd: Improve errors for image record creation by @tomponline in https://github.com/lxc/lxd/pull/11692
- lxc/export: Fix export rename when run inside snap by @tomponline in https://github.com/lxc/lxd/pull/11693
- lxc: Fix project edit help text by @tomponline in https://github.com/lxc/lxd/pull/11694
- Websocket: Continue switch to shared/ws package by @tomponline in https://github.com/lxc/lxd/pull/11695
- Storage: Prevent moving volumes to projects that dont have features.storage.volumes enabled by @tomponline in https://github.com/lxc/lxd/pull/11696
- Logging: Fix contextual logging in storage subsystem and simplify adding context to global logger by @tomponline in https://github.com/lxc/lxd/pull/11703
- Cluster: Don't create a cluster heal operation every minute (and cause unnecessary logs) by @tomponline in https://github.com/lxc/lxd/pull/11705
- Storage: Fix cluster and remote pool support for custom volume snapshot expiry by @tomponline in https://github.com/lxc/lxd/pull/11701
- VM: Trigger on stop device cleanup on QEMU crash by @tomponline in https://githu...
LXD 5.13
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-13-has-been-released/16949
What's Changed
- lxd/instance/qemu: vmgenid isn't supported on aarch64 by @stgraber in https://github.com/lxc/lxd/pull/11480
- storage: Use rsync when refreshing filesystem volumes in volume-only mode by @monstermunchkin in https://github.com/lxc/lxd/pull/11479
- doc: Add source.wipe by @stgraber in https://github.com/lxc/lxd/pull/11483
- Storage: Fix VM snapshots on Ceph by @tomponline in https://github.com/lxc/lxd/pull/11485
- Instance: Stop instance before moving statelessly between cluster members by @tomponline in https://github.com/lxc/lxd/pull/11488
- lxd/instance/qemu: Move vmgenid to using qemu.conf by @gabrielmougard in https://github.com/lxc/lxd/pull/11495
- lxd-user: Use per-user bridge by @stgraber in https://github.com/lxc/lxd/pull/11496
- Instance: Avoid using loop-back API connection to source when doing intra-cluster member instance moves by @tomponline in https://github.com/lxc/lxd/pull/11494
- Instance: Fix VM start with vmgenid by @tomponline in https://github.com/lxc/lxd/pull/11498
- doc/devices/pci: add link to YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/11502
- lxd-generate: Use tx.ExecContext over tx.Exec by @masnax in https://github.com/lxc/lxd/pull/11509
- lxd: auto snap create and pruning are in the same task by @gabrielmougard in https://github.com/lxc/lxd/pull/11486
- Adding basic support for AMD SEV VMs by @gabrielmougard in https://github.com/lxc/lxd/pull/11460
- Migration: Socket improvements by @tomponline in https://github.com/lxc/lxd/pull/11507
- Update network_increase_bandwidth.md by @cebe in https://github.com/lxc/lxd/pull/11497
- doc/authentication: Update minimum TLS by @stgraber in https://github.com/lxc/lxd/pull/11512
- Fix
config trust
command fail when remote is specified by @presztak in https://github.com/lxc/lxd/pull/11503 - shared/simplestreams: Add support for disk-kvm.img.vcdiff by @stgraber in https://github.com/lxc/lxd/pull/11514
- lxd/api: Don't crash by passing a nil localConfig by @stgraber in https://github.com/lxc/lxd/pull/11517
- Instance: Rework intra-cluster ceph instance move to use migration subsystem by @tomponline in https://github.com/lxc/lxd/pull/11519
- Rework cpuTopology in QEMU by @stgraber in https://github.com/lxc/lxd/pull/11521
- Migration: Removes unnecessary concept of src/dest
migrationFields
frommigrationSink
by @tomponline in https://github.com/lxc/lxd/pull/11522 - Fix candid based authentication on file transfers by @stgraber in https://github.com/lxc/lxd/pull/11526
- lxd/instances: Don't use notify for targetting by @stgraber in https://github.com/lxc/lxd/pull/11525
- Migration: Reworks how migration connections are established and managed by @tomponline in https://github.com/lxc/lxd/pull/11529
- Instance: VM live migration during intra-cluster instance moves on ceph by @tomponline in https://github.com/lxc/lxd/pull/11451
- Allow growing loop file based pools by @monstermunchkin in https://github.com/lxc/lxd/pull/11524
- doc, api: Storage pool resize by @monstermunchkin in https://github.com/lxc/lxd/pull/11541
- Instance: VM QMP improvements by @tomponline in https://github.com/lxc/lxd/pull/11547
- Add an example to
lxc network create
by @stgraber in https://github.com/lxc/lxd/pull/11551 - lxc/cluster: Clarify and check --name by @stgraber in https://github.com/lxc/lxd/pull/11552
- Migration: Add VM live migration for non-shared storage by @tomponline in https://github.com/lxc/lxd/pull/11540
- Doc: clean up project documentation by @ru-fu in https://github.com/lxc/lxd/pull/11499
- doc: add links to YouTube videos by @ru-fu in https://github.com/lxc/lxd/pull/11556
- Storage: Fix UnmountVolume not deactivating ZFS block devices by @tomponline in https://github.com/lxc/lxd/pull/11554
- Migration: Fixes VM live migration premature error cleanup process by @tomponline in https://github.com/lxc/lxd/pull/11555
- Device: Adds nested OVN NIC support by @tomponline in https://github.com/lxc/lxd/pull/11513
- Add OpenID Connect as authentication by @monstermunchkin in https://github.com/lxc/lxd/pull/11523
- Device: Fix VF and representor interface cleanup when using OVN NIC with
acceleration=sriov
by @tomponline in https://github.com/lxc/lxd/pull/11561 - lxd/metrics: Fix metric duplication issue by @stgraber in https://github.com/lxc/lxd/pull/11562
- lxd/instance/qemu: Only use KVM mode for feature detection on X86 by @stgraber in https://github.com/lxc/lxd/pull/11563
- lxc/launch: Add examples by @stgraber in https://github.com/lxc/lxd/pull/11564
- doc/cheat-sheet: update with more markup by @ru-fu in https://github.com/lxc/lxd/pull/11568
- doc/authentication: mention that RBAC is covered by Ubuntu Pro by @ru-fu in https://github.com/lxc/lxd/pull/11570
- doc/footer: add community links by @ru-fu in https://github.com/lxc/lxd/pull/11569
- Network: Add L3 only mode for OVN networks by @tomponline in https://github.com/lxc/lxd/pull/11557
- Add compression on metrics endpoint by @stgraber in https://github.com/lxc/lxd/pull/11565
- Support VDPA alongside SR-IOV on OVN NICs by @gabrielmougard in https://github.com/lxc/lxd/pull/11528
Full Changelog: lxc/incus@lxd-5.12...lxd-5.13
LXD 5.12
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-12-has-been-released/16731
What's Changed
- doc: add a page about troubleshooting failing instances by @ru-fu in https://github.com/lxc/lxd/pull/11379
- doc: fix in documentation for
physical
NIC with thenetwork
option by @gabrielmougard in https://github.com/lxc/lxd/pull/11378 - Instance: Get CRIU working again by @tomponline in https://github.com/lxc/lxd/pull/11353
- doc: add video links by @ru-fu in https://github.com/lxc/lxd/pull/11377
- Move C and therefore CGO out of shared package by @SimonRichardson in https://github.com/lxc/lxd/pull/11376
- doc/storage: Document zfs.block_mode by @stgraber in https://github.com/lxc/lxd/pull/11380
- Instance: Fix panic if metric collection occurs during stop operation by @tomponline in https://github.com/lxc/lxd/pull/11384
- lxc/query: Fix some minor issues by @stgraber in https://github.com/lxc/lxd/pull/11386
- doc: add links by @ru-fu in https://github.com/lxc/lxd/pull/11390
- Scriptlet: Fixes unpredictable ordering of Starlark dict keys by @tomponline in https://github.com/lxc/lxd/pull/11391
- Device: Configure ipvlan NIC host-side routes and neighbour proxy entries with LXD by @tomponline in https://github.com/lxc/lxd/pull/11387
- Instance: Fix non-recursive filtering in instances list by @tomponline in https://github.com/lxc/lxd/pull/11389
- Storage: Fix volume resize for ZFS block mode filesystem volumes by @tomponline in https://github.com/lxc/lxd/pull/11394
- lxd-agent: Retry getting vsock client by @monstermunchkin in https://github.com/lxc/lxd/pull/11397
- lxd/storage/drivers/zfs: don't force atime to on by @simondeziel in https://github.com/lxc/lxd/pull/11395
- Debugging docs by @ru-fu in https://github.com/lxc/lxd/pull/11398
- instance: No collisions between
proxy
device and network fwd listenAddr by @gabrielmougard in https://github.com/lxc/lxd/pull/11369 - Gofmt/swagger compatibility for go version > 1.18 by @markylaing in https://github.com/lxc/lxd/pull/11400
- Events: Return "Project not found" error for
lxc monitor
by @tomponline in https://github.com/lxc/lxd/pull/11408 - Instance: Don't collect metrics unless VM is running by @tomponline in https://github.com/lxc/lxd/pull/11406
- Storage: Only activate & mount VM config volume when updating backup.yaml by @tomponline in https://github.com/lxc/lxd/pull/11402
- Network: Update ip.Link to support applying settings atomically when adding interfaces by @tomponline in https://github.com/lxc/lxd/pull/11399
- lxd/storage/drivers: Match ceph keyring lookup logic by @stgraber in https://github.com/lxc/lxd/pull/11409
- Storage: Only use path parts of URL to extract bucket name by @tomponline in https://github.com/lxc/lxd/pull/11412
- doc: add sphinx-copybutton extension by @ru-fu in https://github.com/lxc/lxd/pull/11416
- Introduce
source.wipe
to storage-pool config by @stgraber in https://github.com/lxc/lxd/pull/11415 - doc: fix documentation warnings by @ru-fu in https://github.com/lxc/lxd/pull/11420
- api: Add zfs_block_mode API extension by @monstermunchkin in https://github.com/lxc/lxd/pull/11425
- zfs: Regenerate UUID on optimized migration by @monstermunchkin in https://github.com/lxc/lxd/pull/11424
- lxd/main_interactive: Tweak LVM thin pool error by @stgraber in https://github.com/lxc/lxd/pull/11428
- Instance: Add support for VM generation ID by @gabrielmougard in https://github.com/lxc/lxd/pull/11385
- removed the
-p 1053
param from thedig
call by @dn in https://github.com/lxc/lxd/pull/11423 - lxd/storage/drivers/zfs: remove redundant ZFS version detection by @simondeziel in https://github.com/lxc/lxd/pull/11435
- lxd/storage/zfs: Also pass -f to zpool create on source.wipe=true by @stgraber in https://github.com/lxc/lxd/pull/11434
- Clean up cloud-init docs by @ru-fu in https://github.com/lxc/lxd/pull/11433
- doc/faq: add a section explaining where lxc stores its config by @simondeziel in https://github.com/lxc/lxd/pull/11432
- Small doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/11438
- GitHub actions: cancel running tests by @ru-fu in https://github.com/lxc/lxd/pull/11439
- test: Use per-instance storage pool VG for clustering tests by @tomponline in https://github.com/lxc/lxd/pull/11437
- lxd: tweak do_move_forkmount() by @brauner in https://github.com/lxc/lxd/pull/11342
- Storage: Sync and freeze in-use ZFS block mode filesystem volumes during consistent copy by @tomponline in https://github.com/lxc/lxd/pull/11430
- Instance: Push down migration logic into each storage driver (send) by @tomponline in https://github.com/lxc/lxd/pull/11414
- test: Shorten boot.host_shutdown_timeout in clustering_evacuation tests by @tomponline in https://github.com/lxc/lxd/pull/11453
- Instance: Push down migration logic into each storage driver (receive) by @tomponline in https://github.com/lxc/lxd/pull/11440
- lxd: Remove volatile.uuid generation for backup/snapshot restore by @gabrielmougard in https://github.com/lxc/lxd/pull/11452
- lxd/instance/qemu: Fix SMP on s390x by @stgraber in https://github.com/lxc/lxd/pull/11458
- Instance: Don't mask source errors with disconnection error by adding synchronisation of receipt of control message by @tomponline in https://github.com/lxc/lxd/pull/11456
- API: Fix clustered instances list by @tomponline in https://github.com/lxc/lxd/pull/11465
- lxd/devices: Updates deviceTaskBalance to check the container's InitPID as running indicator by @tomponline in https://github.com/lxc/lxd/pull/11464
- instance: Add Generation ID support for Virtual Machines by @gabrielmougard in https://github.com/lxc/lxd/pull/11450
- Doc: extension for terminal output by @ru-fu in https://github.com/lxc/lxd/pull/11447
- doc/images: link to Discourse post on LXD image servers by @ru-fu in https://github.com/lxc/lxd/pull/11469
- doc/devices/usb: add link to video and some explanation by @ru-fu in https://github.com/lxc/lxd/pull/11468
- Instance: Fix hang during migration if target member encounters an error by @tomponline in https://github.com/lxc/lxd/pull/11459
- lxd/apparmor: fix AppArmor instance_qemu profile by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11444
- Simplestreams: Don't write zero length cache files in cachedDownload by @tomponline in https://github.com/lxc/lxd/pull/11474
- Device: Introduce
io.cache
to disk config by @stgraber in https://github.com/lxc/lxd/pull/11473 - Storage: Add cleanup in ZFS createVolumeFromMigrationOptimized by @tomponline in https://github.com/lxc/lxd/pull/11475
- Various zfs block mode fixes by @monstermunchkin in https://github.com/lxc/lxd/pull/11413
- Documentation: fixed typo by @AlexanderSlaa in https://github.com/lxc/lxd/pull/11472
- Instance: Use full migration protocol for intra-cluster instance moves by @tomponline in https://github.com/lxc/lxd/pull/11457
- Config options by @ru-fu in https://github.com/lxc/lxd/pull/11405
- network: ask dnsmasq not to cache failed queries by @mpontillo in https://github.com/lxc/lxd/pull/11467
New Contributors
- @dn made their first contribution in https://github.com/lxc/lxd/pull/11423
- @AlexanderSlaa made their first contribution in https://github.com/lxc/lxd/pull/11472
- @mpontillo made their first contribution in https://github.com/lxc/lxd/pull/11467
Full Changelog: lxc/incus@lxd-5.11...lxd-5.12
LXD 5.11
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-11-has-been-released/16443
What's Changed
- doc/ref/devices_nic: Add queue.tx.length by @stgraber in https://github.com/lxc/lxd/pull/11283
- lxd: Reduce calls to d.State() and avoid starting a transaction if target is local server in
ResolveTarget()
by @tomponline in https://github.com/lxc/lxd/pull/11282 - Cluster: Adds cluster member state API endpoint by @tomponline in https://github.com/lxc/lxd/pull/11284
- Improve UI behavior by @stgraber in https://github.com/lxc/lxd/pull/11286
- lxd/instances_post: Fix copying profiles during instance copy by @stgraber in https://github.com/lxc/lxd/pull/11287
- lxc/migrate: Make live migration error message more helpful by @yunginnanet in https://github.com/lxc/lxd/pull/11288
- doc/clustering: add link to YouTube video about cluster groups by @ru-fu in https://github.com/lxc/lxd/pull/11291
- Add mipsle and mips64le architecture aliases by @gibmat in https://github.com/lxc/lxd/pull/11296
- Cluster: Fix TotalRAM field in MemberState output by @tomponline in https://github.com/lxc/lxd/pull/11297
- Instance: Comment typo and spacing by @tomponline in https://github.com/lxc/lxd/pull/11298
- shared/util: Update RunCommandCLocale to pass LANGUAGE=en env var by @tomponline in https://github.com/lxc/lxd/pull/11299
- Instance: Container shutdown edge case fixes by @tomponline in https://github.com/lxc/lxd/pull/11290
- drivers: Unify allowed filesystems variable by @monstermunchkin in https://github.com/lxc/lxd/pull/11304
- lxd/migration: Remove leftover stats definitions by @monstermunchkin in https://github.com/lxc/lxd/pull/11305
- doc/clustering: document
lxc cluster info
by @ru-fu in https://github.com/lxc/lxd/pull/11307 - Instance: Add support for placement Starlark scriptlet by @tomponline in https://github.com/lxc/lxd/pull/11180
- Device: Allow all multicast to fix IPv6 NDP for
macvlan
NICs in VMs by @tomponline in https://github.com/lxc/lxd/pull/11309 - Adds location to event context on instance and local storage volume creation by @markylaing in https://github.com/lxc/lxd/pull/11310
- Device: Fix
disk
deviceraw.mount.options
setting by @tomponline in https://github.com/lxc/lxd/pull/11315 - client: add TransportWrapper to ConnectionArgs by @sebastiaopamplona in https://github.com/lxc/lxd/pull/11318
- Device: Update
disk
device tests to check for mount flag support in raw mount.options by @tomponline in https://github.com/lxc/lxd/pull/11320 - client: fix cast to http.Transport when using TransportWrapper by @sebastiaopamplona in https://github.com/lxc/lxd/pull/11321
- doc/metrics: greatly simplify the cluster's scrape_configs by @simondeziel in https://github.com/lxc/lxd/pull/11324
- Replace
container
byinstance
inlxd/db/node
by @simondeziel in https://github.com/lxc/lxd/pull/11325 - doc/server: bring back doc for
net.core.bpf_jit_limit
by @ru-fu in https://github.com/lxc/lxd/pull/11322 - lxd/backup: update the error msg when "backup/index.yaml" can't be found by @gabrielmougard in https://github.com/lxc/lxd/pull/11328
- volume: Add source indicator by @monstermunchkin in https://github.com/lxc/lxd/pull/11331
- Storage: Only check for minimum number of columns in
btrfs qgroup show
command by @tomponline in https://github.com/lxc/lxd/pull/11333 - Small doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/11335
- doc/storage: explain how optimized instance transfer works by @ru-fu in https://github.com/lxc/lxd/pull/11323
- Makefile: Immediately fail on lint errors by @stgraber in https://github.com/lxc/lxd/pull/11341
- lxd: hotplug mounts by @brauner in https://github.com/lxc/lxd/pull/11336
- Terminology fixes by @ru-fu in https://github.com/lxc/lxd/pull/11338
- lxd: User friendly error for missing volume. by @markylaing in https://github.com/lxc/lxd/pull/11343
- storage: Various changes by @monstermunchkin in https://github.com/lxc/lxd/pull/11339
- Fix usage of --destination-server flag when copying/moving storage volumes between remotes by @markylaing in https://github.com/lxc/lxd/pull/11340
- Instance: Updates instance_placement scriptlet function to accept both project and reason as part of
request
by @tomponline in https://github.com/lxc/lxd/pull/11327 - lxd/db: Remove needless semi-colons in queries by @stgraber in https://github.com/lxc/lxd/pull/11350
- lxd/apparmor: fix AppArmor forkproxy profile by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11346
- lxd/instance/drivers/driver/lxc: s/container/instance/ by @simondeziel in https://github.com/lxc/lxd/pull/11344
- Support ZFS block mode by @monstermunchkin in https://github.com/lxc/lxd/pull/11206
- device: support managed network with physical nic by @gabrielmougard in https://github.com/lxc/lxd/pull/11357
- Instance: Remove erroneous empty log error in LXC driver by @tomponline in https://github.com/lxc/lxd/pull/11358
- instance: differentiate msg for creation/deletion of snapshots by @gabrielmougard in https://github.com/lxc/lxd/pull/11361
- device/disk: Don't use RBD for FS custom volumes by @monstermunchkin in https://github.com/lxc/lxd/pull/11359
- cgroup: properly set soft mem limit for cgroup-v2 by @mihalicyn in https://github.com/lxc/lxd/pull/11360
- Storage: Fix BTRFS regression from ZFS block mode by @tomponline in https://github.com/lxc/lxd/pull/11362
- Images: Only remove cached image files & volumes when image is expired in all projects that use it by @tomponline in https://github.com/lxc/lxd/pull/11356
- Scriptlet: Change
StarlarkMarshal
to convert Go structs to Starlark objects by @tomponline in https://github.com/lxc/lxd/pull/11348 - Network: Allow management of zone records in non-default project zones by @tomponline in https://github.com/lxc/lxd/pull/11365
- tests: make it work when seccomp is enabled externally by @mihalicyn in https://github.com/lxc/lxd/pull/11366
- doc: Images section by @ru-fu in https://github.com/lxc/lxd/pull/11334
- ceph: Check ceph config file for key by @monstermunchkin in https://github.com/lxc/lxd/pull/11367
- Storage: Fix optimized BTRFS refresh by @monstermunchkin in https://github.com/lxc/lxd/pull/11337
- lxd/apparmor: Add microceph to ceph paths by @stgraber in https://github.com/lxc/lxd/pull/11370
- Network: Improve network forward and load balancer conflict validation between networks by @tomponline in https://github.com/lxc/lxd/pull/11371
- Remove trust passwords from
lxd init
by @stgraber in https://github.com/lxc/lxd/pull/11372
New Contributors
- @yunginnanet made their first contribution in https://github.com/lxc/lxd/pull/11288
- @sebastiaopamplona made their first contribution in https://github.com/lxc/lxd/pull/11318
- @mihalicyn made their first contribution in https://github.com/lxc/lxd/pull/11360
Full Changelog: lxc/incus@lxd-5.10...lxd-5.11
LXD 5.10
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-10-has-been-released/16143
What's Changed
- lxd/storage/ceph: Remove OSD map timeout by @stgraber in https://github.com/lxc/lxd/pull/11213
- doc/instances: small clarifications to the snapshot documentation by @ru-fu in https://github.com/lxc/lxd/pull/11214
- doc/devices: Sort macvlan NIC device options in table by @hnakamur in https://github.com/lxc/lxd/pull/11215
- doc/cloud-init: add info about merging user-data and vendor-data by @ru-fu in https://github.com/lxc/lxd/pull/11216
- doc/instances: clarify misleading description for
linux.sysctl.*
by @ru-fu in https://github.com/lxc/lxd/pull/11218 - Doc: link to MicroCeph and MicroCloud by @ru-fu in https://github.com/lxc/lxd/pull/11219
- Instance: Don't mask unexpected VM monitor QMP response errors with sentinel by @tomponline in https://github.com/lxc/lxd/pull/11220
- Images: Update database functions to use transactions by @tomponline in https://github.com/lxc/lxd/pull/11222
- Instance: Fix VM support and feature detection on s390x and ppc64le by @tomponline in https://github.com/lxc/lxd/pull/11226
- Doc: move content out of the Configuration section by @ru-fu in https://github.com/lxc/lxd/pull/11223
- Instance: Unify profile validation and loading for instance create endpoint by @tomponline in https://github.com/lxc/lxd/pull/11217
- Switch to current version of macaroon bakery by @stgraber in https://github.com/lxc/lxd/pull/11229
- Instance: Fix VM QEMU feature detection by @tomponline in https://github.com/lxc/lxd/pull/11230
- lxd: Improve logging in autoCreateInstanceSnapshots by @tomponline in https://github.com/lxc/lxd/pull/11245
- doc: fix version conflicts for doc tools by @ru-fu in https://github.com/lxc/lxd/pull/11249
- lxd-migrate: Fix usage string by @monstermunchkin in https://github.com/lxc/lxd/pull/11247
- doc/lxd-migrate: add information about updating the configuration by @ru-fu in https://github.com/lxc/lxd/pull/11250
- forksyscall: ensure that parent mount is dependent mount by @brauner in https://github.com/lxc/lxd/pull/11251
- Storage: Improve error when existing zpool isn't empty by @tomponline in https://github.com/lxc/lxd/pull/11248
- Storage: Fix BTRFS driver
getQGroup
to suport BTRFS >= 6.0.1 by @tomponline in https://github.com/lxc/lxd/pull/11252 - forksyscall: avoid double MS_MOVE by @brauner in https://github.com/lxc/lxd/pull/11255
- lxc: Fix --no-profiles flag on
lxc init
by @tomponline in https://github.com/lxc/lxd/pull/11257 - lxd: Fix escaping of
lxd sql .dump
command by @tomponline in https://github.com/lxc/lxd/pull/11253 - Instance: Fix VM QEMU feature detection on aarch64 by @tomponline in https://github.com/lxc/lxd/pull/11256
- Instance: Split cluster member targeting logic to generate candidate members list before selecting least used by @tomponline in https://github.com/lxc/lxd/pull/11259
- grafana: add top network usage graphs by @simondeziel in https://github.com/lxc/lxd/pull/11258
- fix dead lock bug by @ichiro999 in https://github.com/lxc/lxd/pull/11235
- Instance: Fixes delete of ephemeral VM on stop by @tomponline in https://github.com/lxc/lxd/pull/11262
- lxd/db: Changed snapshot sort from date to datetime by @MrDaGree in https://github.com/lxc/lxd/pull/11271
- Instance: Don't allow manual targeting of a member outside of the allowed groups of a restricted project by @tomponline in https://github.com/lxc/lxd/pull/11264
- lxd/api: Add support for serving the UI by @stgraber in https://github.com/lxc/lxd/pull/11272
- doc: Fix broken cloud-init doc links by @tomponline in https://github.com/lxc/lxd/pull/11273
- lxd: Use consistent snapshot ordering in API and
lxc info
output by @tomponline in https://github.com/lxc/lxd/pull/11274 - doc/networks: add instructions for attaching a network to an instance by @ru-fu in https://github.com/lxc/lxd/pull/11276
- lxd Add support for setting txqueuelen on veth based NICs by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11243
- Doc: clean up server configuration by @ru-fu in https://github.com/lxc/lxd/pull/11279
- lxd: Efficiency improvements to cluster member listing and showing by @tomponline in https://github.com/lxc/lxd/pull/11280
New Contributors
- @ichiro999 made their first contribution in https://github.com/lxc/lxd/pull/11235
Full Changelog: lxc/incus@lxd-5.9...lxd-5.10
LXD 5.9
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-9-has-been-released/15907
What's Changed
- Instance: Restrict VM CPU hotplugging architecture by @monstermunchkin in https://github.com/lxc/lxd/pull/11137
- doc: allow returning traffic in DOCKER-USER custom chain by @simondeziel in https://github.com/lxc/lxd/pull/11140
- Instance: Prevent moving instance to invalid (or empty) name by @tomponline in https://github.com/lxc/lxd/pull/11135
- VM: Fix blockNodeName to use base64 raw URL format by @tomponline in https://github.com/lxc/lxd/pull/11134
- Network: Remove unnecessary query for server name in
bridge
Leases by @tomponline in https://github.com/lxc/lxd/pull/11132 - scripts/bash/lxd-client: fix autocompletion not working by @nbensa in https://github.com/lxc/lxd/pull/11141
- lxd/util: Skip cephobject in AvailableStorageDrivers by @stgraber in https://github.com/lxc/lxd/pull/11142
- lxd/device/tpm: Expose tpmrm to the container by @xnox in https://github.com/lxc/lxd/pull/11139
- lxd: Fix handling of images in projects with features.images=false by @Fenixoff in https://github.com/lxc/lxd/pull/11130
- Device: Add hwaddr key to liblxc NIC config by @tomponline in https://github.com/lxc/lxd/pull/11144
- VM: Fix VM image unpack apparmor profile in archiveProfile by @tomponline in https://github.com/lxc/lxd/pull/11143
- Improve error handling on container stop/update by @simondeziel in https://github.com/lxc/lxd/pull/11148
- fsmonitor: Don't watch for WRITE events when using inotify by @tomponline in https://github.com/lxc/lxd/pull/11152
- config: Fix inconsistency with acme.agree_tos option by @monstermunchkin in https://github.com/lxc/lxd/pull/11156
- Check CPU hotplug support based on QMP command by @monstermunchkin in https://github.com/lxc/lxd/pull/11147
- Storage: Move block volume rounding logic into driver and use extent size for LVM rounding by @tomponline in https://github.com/lxc/lxd/pull/11157
- lxc: Allow
--device
flag to override local devices from--storage
and--network
flags by @tomponline in https://github.com/lxc/lxd/pull/11158 - Network: Use
UsedByInstanceDevices
forcheckAddressConflict
andLeases
by @tomponline in https://github.com/lxc/lxd/pull/11159 - doc/instances: clean up devices overview section by @ru-fu in https://github.com/lxc/lxd/pull/11136
- Test tweaks by @simondeziel in https://github.com/lxc/lxd/pull/11163
- doc: add link to Running in production YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/11173
- ceph: Drop unnecessary volume.block.* config keys by @monstermunchkin in https://github.com/lxc/lxd/pull/11166
- More shellcheck fixes and other tweaks by @simondeziel in https://github.com/lxc/lxd/pull/11169
- Storage: Don't check project limits when doing a volume snapshot restore by @tomponline in https://github.com/lxc/lxd/pull/11170
- Network: Exclude gateway and uplink addresses in leases list when filtering by project other than network's by @tomponline in https://github.com/lxc/lxd/pull/11172
- Networks: Support multiple zones per network and zones associated to their own projects by @tomponline in https://github.com/lxc/lxd/pull/11160
- docs: Added snap version directory for local remotes by @AnubisFUp in https://github.com/lxc/lxd/pull/11175
- Networks: Use project.NetworkZoneProject in networkZonesGet by @tomponline in https://github.com/lxc/lxd/pull/11178
- lxd-generate: Generate boilerplate functions by @masnax in https://github.com/lxc/lxd/pull/11182
- lxd/apparmor: fix AppArmor profile for qemu-img by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11181
- doc: Adds
--cohort="+"
to snap refresh command by @tomponline in https://github.com/lxc/lxd/pull/11185 - forkdns: Updates serversFileMonitor to only watch for inotify.InMovedTo event by @tomponline in https://github.com/lxc/lxd/pull/11184
- Instance: Fix VM vsock nesting regression by @tomponline in https://github.com/lxc/lxd/pull/11188
- Metrics: Limits concurrency of instance metrics building to avoid potentially spawning unlimited go routines by @tomponline in https://github.com/lxc/lxd/pull/11186
- doc/devices: document device option override at creation by @ru-fu in https://github.com/lxc/lxd/pull/11197
- Resources: Ignore errors from ethtoolAddPortInfo by @tomponline in https://github.com/lxc/lxd/pull/11192
- Device: Use api.NetworkStatusUnavailable constant by @tomponline in https://github.com/lxc/lxd/pull/11190
- doc/devices: Clean up the documentation for devices and device options by @ru-fu in https://github.com/lxc/lxd/pull/11183
- LXD: Minor tweaks to global config handling by @tomponline in https://github.com/lxc/lxd/pull/11200
- Storage: Don't attempt multi-sync mode optimized transfers by @tomponline in https://github.com/lxc/lxd/pull/11196
- lxd/storage: Disable io_uring on ZFS by @stgraber in https://github.com/lxc/lxd/pull/11202
- VM: Fix AppArmor instance_qemu profile by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11203
- Storage: Include ceph to ceph migration in multi sync mode by @tomponline in https://github.com/lxc/lxd/pull/11204
- VM: Fix
macvlan
NICs losing connectivity when LXD is reloaded by @tomponline in https://github.com/lxc/lxd/pull/11201 - Doc: Clean up remaining instances doc by @ru-fu in https://github.com/lxc/lxd/pull/11208
- Storage: Don't expect multi-sync for live optimized ceph migration by @tomponline in https://github.com/lxc/lxd/pull/11207
- Storage: Add ceph pool mount-time availablity check and add timeouts to some operations by @tomponline in https://github.com/lxc/lxd/pull/11209
- Instance: Handle VM guest initiated reboot via SHUTDOWN event by @tomponline in https://github.com/lxc/lxd/pull/11212
New Contributors
- @nbensa made their first contribution in https://github.com/lxc/lxd/pull/11141
- @AnubisFUp made their first contribution in https://github.com/lxc/lxd/pull/11175
Full Changelog: lxc/incus@lxd-5.8...lxd-5.9
LXD 5.8
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-8-has-been-released/15686
What's Changed
- Token expiry updates by @monstermunchkin in https://github.com/lxc/lxd/pull/11039
- Export preseed structs by @masnax in https://github.com/lxc/lxd/pull/11037
- lxd/device: Continue if device is nil by @Robertzi in https://github.com/lxc/lxd/pull/11046
- Network: Get dynamically allocated IPs from OVN switch port even if not using DHCP by @tomponline in https://github.com/lxc/lxd/pull/11049
- Export CertInfo to api.Certificate helper by @masnax in https://github.com/lxc/lxd/pull/11051
- lxc: Extend image filtering by @monstermunchkin in https://github.com/lxc/lxd/pull/11041
- test/suites: Unset join_token_expiry when done by @monstermunchkin in https://github.com/lxc/lxd/pull/11052
- doc/authentication: clarify expiration of cluster join tokens by @ru-fu in https://github.com/lxc/lxd/pull/11054
- Daemon: Respect core.shutdown_timeout by @tomponline in https://github.com/lxc/lxd/pull/11055
- lxc init: Fix usage line in the help output by @ru-fu in https://github.com/lxc/lxd/pull/11058
- doc: restructure instances documentation by @ru-fu in https://github.com/lxc/lxd/pull/11060
- Device: Relax
bridged
NIC duplicate instance DNS name checks by @tomponline in https://github.com/lxc/lxd/pull/11059 - Add resolv.conf location under WSL by @cerebrate in https://github.com/lxc/lxd/pull/11067
- doc: remove intro sentence for configuration by @ru-fu in https://github.com/lxc/lxd/pull/11068
- Device: Speed up getting NIC host name info by loading host interface info once per request by @tomponline in https://github.com/lxc/lxd/pull/11065
- Storage: Adds creation time to storage volumes and snapshots by @tomponline in https://github.com/lxc/lxd/pull/11034
- doc/clustering: clarify that you should remove offline members by @ru-fu in https://github.com/lxc/lxd/pull/11069
- Extend CPU limit validation by @monstermunchkin in https://github.com/lxc/lxd/pull/11057
- Allow device overrides when initialising or launching an instance. by @markylaing in https://github.com/lxc/lxd/pull/11066
- lxd: Sets Location field to hostname for GET /1.0 in devlxd API. by @markylaing in https://github.com/lxc/lxd/pull/11070
- Add some how-to guides to the instances docs by @ru-fu in https://github.com/lxc/lxd/pull/11076
- lxd/instances/lxc: Fix build on MIPS by @stgraber in https://github.com/lxc/lxd/pull/11074
- lxd/storage/pools: Initialize pool config if nil by @masnax in https://github.com/lxc/lxd/pull/11078
- devlxd: Do not return devlxd info if turned off by @monstermunchkin in https://github.com/lxc/lxd/pull/11085
- lxd: Remove shadowed variable name. by @markylaing in https://github.com/lxc/lxd/pull/11091
- lxd-agent: Return correct error when querying devlxd by @monstermunchkin in https://github.com/lxc/lxd/pull/11087
- Start devlxd on VMs as early as possible by @monstermunchkin in https://github.com/lxc/lxd/pull/11080
- scripts/bash/lxd-client: Add missing file mount sub-command by @simondeziel in https://github.com/lxc/lxd/pull/11092
- client/util: Use ConnectionArgs.Proxy with unix socket client by @masnax in https://github.com/lxc/lxd/pull/11090
- doc/instances: add instructions for accessing files by @ru-fu in https://github.com/lxc/lxd/pull/11086
- lxd: Check LXD ready state before changing instance by @monstermunchkin in https://github.com/lxc/lxd/pull/11093
- doc/instances: add instructions for running commands and logging on by @ru-fu in https://github.com/lxc/lxd/pull/11079
- test/suites/sql: safe grep usage by @simondeziel in https://github.com/lxc/lxd/pull/11097
- Add shared devlxd structs by @monstermunchkin in https://github.com/lxc/lxd/pull/11094
- lxd/device/tpm: Handle TPM devices in profiles by @monstermunchkin in https://github.com/lxc/lxd/pull/11098
- Network: Adds MTU DHCP option when using bridge fan mode by @tomponline in https://github.com/lxc/lxd/pull/11095
- doc: the location is set in responses from GET /1.0 in devlxd API by @simondeziel in https://github.com/lxc/lxd/pull/11102
- doc: add video links by @ru-fu in https://github.com/lxc/lxd/pull/11100
- lxd/init: Use strict checking for preseed by @monstermunchkin in https://github.com/lxc/lxd/pull/11107
- Refresh REST API by @simondeziel in https://github.com/lxc/lxd/pull/11103
- Small tweaks to Github Action tests by @simondeziel in https://github.com/lxc/lxd/pull/11104
- doc: Fix configuration directory in remotes.md by @gibmat in https://github.com/lxc/lxd/pull/11109
- doc/instances: add example for filtering by location by @ru-fu in https://github.com/lxc/lxd/pull/11116
- acme: Switch to github.com/go-acme/lego/v4 by @monstermunchkin in https://github.com/lxc/lxd/pull/11119
- build(deps): bump actions/dependency-review-action from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/11113
- doc/security: add YouTube link by @ru-fu in https://github.com/lxc/lxd/pull/11121
- Instance: Fixes missing container initiated instance-shutdown lifecycle event by @tomponline in https://github.com/lxc/lxd/pull/11122
- shared: Increase default TCP user timeout from 30 seconds to 2 minutes by @tomponline in https://github.com/lxc/lxd/pull/11117
- devlxd: Add volatile NIC hwaddr to devices output by @tomponline in https://github.com/lxc/lxd/pull/11120
- Storage: Update DeleteImage to not use GetImageFromAnyProject by @tomponline in https://github.com/lxc/lxd/pull/11118
- lxd: Limit shutdown concurrency to number of instances or number of CPU cores (which ever is less). by @tomponline in https://github.com/lxc/lxd/pull/11114
- Device: Fix attaching cephfs disk volumes to VMs by @tomponline in https://github.com/lxc/lxd/pull/11125
- test: Reduce "shellcheck disable=SC2034" usage by @simondeziel in https://github.com/lxc/lxd/pull/11124
- Enable CPU hot-(un)plugging for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/11075
- lxc: Fix copying storage volume to remote from cluster member by @tomponline in https://github.com/lxc/lxd/pull/11127
- Storage: Consider custom volume snapshot creation date when refreshing by @tomponline in https://github.com/lxc/lxd/pull/11123
- Storage: Allow ZFS block volumes to use pool's zfs.blocksize setting by @tomponline in https://github.com/lxc/lxd/pull/11128
New Contributors
- @Robertzi made their first contribution in https://github.com/lxc/lxd/pull/11046
- @cerebrate made their first contribution in https://github.com/lxc/lxd/pull/11067
- @gibmat made their first contribution in https://github.com/lxc/lxd/pull/11109
Full Changelog: lxc/incus@lxd-5.7...lxd-5.8