Releases: canonical/lxd
LXD 5.7
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-7-has-been-released/15432
What's Changed
- lxd-agent: Only unblock systemd once /dev/lxd/sock is started by @stgraber in https://github.com/lxc/lxd/pull/10942
- Enable link checker for the documentation by @ru-fu in https://github.com/lxc/lxd/pull/10948
- doc: update IRC link by @ru-fu in https://github.com/lxc/lxd/pull/10949
- lxd/apparmor/instance: allow reading /proc/pid/cpuset by @simondeziel in https://github.com/lxc/lxd/pull/10950
- tests: Respect LXD_SHIFTFS_DISABLE by @stgraber in https://github.com/lxc/lxd/pull/10952
- doc/metrics: add
lxd_cpu_effective_total
to the list of metrics by @ru-fu in https://github.com/lxc/lxd/pull/10954 - docs: Added snap version directory for global remotes by @MrDaGree in https://github.com/lxc/lxd/pull/10935
- Loki fixes by @monstermunchkin in https://github.com/lxc/lxd/pull/10957
- Cgroup: Update GetIOStats to be more flexible by @tomponline in https://github.com/lxc/lxd/pull/10955
- doc: Allow forwarded traffic to the lxd bridge for proxy nat devices by @johanehnberg in https://github.com/lxc/lxd/pull/10966
- Storage: Expose minio start up error to client by @tomponline in https://github.com/lxc/lxd/pull/10964
- Device: Allows hot plugging proxy device (in nat mode) for VMs by @tomponline in https://github.com/lxc/lxd/pull/10967
- cloud-init schema validation by @monstermunchkin in https://github.com/lxc/lxd/pull/10961
- Daemon: Wait until server is ready before handling metrics and bucket API requests that can cause mounts by @tomponline in https://github.com/lxc/lxd/pull/10963
- VM: Dont offer VM support if /dev/vsock is missing by @tomponline in https://github.com/lxc/lxd/pull/10965
- Network: Adds duplicate address check for
ovn
NICs by @tomponline in https://github.com/lxc/lxd/pull/10970 - Add client.operation.WaitContext by @hnakamur in https://github.com/lxc/lxd/pull/10972
- API/Swagger update by @stgraber in https://github.com/lxc/lxd/pull/10973
- lxd: use go-criu/crit for dump statistics by @snprajwal in https://github.com/lxc/lxd/pull/10969
- Network: Separate DNS IP configuration from dynamic IP extraction logic by @tomponline in https://github.com/lxc/lxd/pull/10976
- Storage: Don't fail ZFS pool Mount if policy cannot be applied to existing datasets by @tomponline in https://github.com/lxc/lxd/pull/10975
- doc/server: update Loki config by @simondeziel in https://github.com/lxc/lxd/pull/10974
- Network: Manage DHCPv4 reservations when adding/removing OVN NICs by @tomponline in https://github.com/lxc/lxd/pull/10978
- doc/header: update to new menu style for linuxcontainers.org by @edlerd in https://github.com/lxc/lxd/pull/10968
- refactor: move from io/ioutil to io and os packages by @Juneezee in https://github.com/lxc/lxd/pull/10979
- lxd/apparmor: apparmor profile for qemu-img by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/10690
- scripts/bash/lxd-client: Add missing network sub-commands by @tomponline in https://github.com/lxc/lxd/pull/10980
- AppArmor: Fix QemuImg when using symlinks by @tomponline in https://github.com/lxc/lxd/pull/10984
- Storage: Fix incorrect ZFS mount dataset policy error check by @tomponline in https://github.com/lxc/lxd/pull/10983
- lxd/storage/utils: Fix error in ImageUnpack by @tomponline in https://github.com/lxc/lxd/pull/10985
- doc/linting: fix failures about indentation for unordered lists by @ru-fu in https://github.com/lxc/lxd/pull/10989
- lxd-agent: Restart server on CID change by @monstermunchkin in https://github.com/lxc/lxd/pull/10991
- AppArmor: Fix QemuImg policy to support snap by @tomponline in https://github.com/lxc/lxd/pull/10988
- lxd/instance/drivers/driver/qemu: comment typo by @tomponline in https://github.com/lxc/lxd/pull/10993
- lxd-agent: Fix filesystem metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/10996
- LXD: Remove use of node.ClusterAddress helper by @tomponline in https://github.com/lxc/lxd/pull/10998
- LXD: Use cached local HTTP address and remove node.HTTPAddress() function by @tomponline in https://github.com/lxc/lxd/pull/11002
- Instance: Handle unsupported devices from profiles shared with multiple instance types by @tomponline in https://github.com/lxc/lxd/pull/11001
- LXD: Use consistent "member" terminology when using
tx.GetNodes()
by @tomponline in https://github.com/lxc/lxd/pull/11003 - Instance: Sort snapshots by ID if creation datetime matches by @tomponline in https://github.com/lxc/lxd/pull/11009
- Instance: Add Delete operation lock by @tomponline in https://github.com/lxc/lxd/pull/11007
- Client: Updates CreateImage to stream files from disk to server by @tomponline in https://github.com/lxc/lxd/pull/11008
- doc/storage: add video links by @ru-fu in https://github.com/lxc/lxd/pull/11012
- Add ACME support for server certificate by @monstermunchkin in https://github.com/lxc/lxd/pull/10992
- doc/authentication: add http-{301,403} backends to HAProxy example by @simondeziel in https://github.com/lxc/lxd/pull/11014
- Device: Fix bridge NIC start failures when using
vlan
when parent bridge has no default PVID by @tomponline in https://github.com/lxc/lxd/pull/11013 - Instance: Add TCP keepalives/timeouts, and websocket level keepalives to exec channels by @tomponline in https://github.com/lxc/lxd/pull/11011
- shared/version: Fix regression in useragent string by @stgraber in https://github.com/lxc/lxd/pull/11015
- lxc: Fix symlink following in cmdFilePull by @tomponline in https://github.com/lxc/lxd/pull/11018
- Tweak server configuration list overview by @simondeziel in https://github.com/lxc/lxd/pull/11019
- Add warning if cluster certificate update fails by @monstermunchkin in https://github.com/lxc/lxd/pull/11017
- Add internal metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/11006
- api: Add internal_metrics API extension by @monstermunchkin in https://github.com/lxc/lxd/pull/11020
- .sphinx: Add
goroutines
anduptime
to wordlist by @monstermunchkin in https://github.com/lxc/lxd/pull/11021 - Instance: Improve exit status and error handling in exec by @tomponline in https://github.com/lxc/lxd/pull/11024
- doc/api-extensions:
/1.0
doesn't accept a trailing "/" by @simondeziel in https://github.com/lxc/lxd/pull/11026 - lxd/main/interactive: Remove user facing "node" references by @tomponline in https://github.com/lxc/lxd/pull/11023
- lxc: Fix filtering in
lxc list
when using YAML output format by @tomponline in https://github.com/lxc/lxd/pull/11025 - doc: rework clustering section by @ru-fu in https://github.com/lxc/lxd/pull/11022
- doc: Update metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/11028
- Device: Add case insensitive DNS name conflict check for
bridged
andovn
NICs connected to managed networks by @tomponline in https://github.com/lxc/lxd/pull/11029 - doc/rest-api: Add missing Ready state by @stgraber in https://github.com/lxc/lxd/pull/11032
- doc: add a link to the development process YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/11035
- Add expiry date to cluster join token by @monstermunchkin in https://github.com/lxc/lxd/pull/11031
- Export initialization helpers by @masnax in https://github.com/lxc/lxd/pull/11036
- Add remote token expiry by @monstermunchkin in https://github.com/lxc/lxd/pull/11038
- VM: Fix unmount race during LXD startup registeration of running VMs by @tomponline in https://github.com/lxc/lxd/pull/11040
New Contributors
- @MrDaGree made their first contribution in https://github.com/lxc/lxd/pull/10935
- @snprajwal made their first contribution in https://github.com/lxc/lxd/pull/10969
- @edlerd made their first contribution in https://github.com/lxc/lxd/pull/10968
- @Juneezee made their first contribution in https://github.com/lxc/lxd/pull/10979
- @Viktor-Yakovchuk made their first contribution in https://github.com/lxc/lxd/pull/10690
Full Changelog: lxc/incus@lxd-5.6...lxd-5.7
LXD 5.6
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-6-has-been-released/15191
What's Changed
- Doc: Fix typo in howto/storage_backup by @hnakamur in https://github.com/lxc/lxd/pull/10821
- Fix dependencies by @stgraber in https://github.com/lxc/lxd/pull/10825
- doc: backquote true and NO_PROXY in doc/server.md by @hnakamur in https://github.com/lxc/lxd/pull/10826
- doc: backquote instance types in events.md by @hnakamur in https://github.com/lxc/lxd/pull/10824
- doc: backqoute cloud-init in doc/cloud-init.md by @hnakamur in https://github.com/lxc/lxd/pull/10823
- doc: backquote mac in doc/api-extensions.md by @hnakamur in https://github.com/lxc/lxd/pull/10822
- Doc: Uses more backquotes in documents by @hnakamur in https://github.com/lxc/lxd/pull/10828
- doc: Note AIO requirement by @cole-miller in https://github.com/lxc/lxd/pull/10832
- Storage: Fix typo in
cephobject.radosgw.endpoint*
settings by @tomponline in https://github.com/lxc/lxd/pull/10831 - Adds storage pool to instance-created lifecycle context by @markylaing in https://github.com/lxc/lxd/pull/10829
- Doc fixes buckets by @ru-fu in https://github.com/lxc/lxd/pull/10830
- Generator: Use variadic filter structs by @masnax in https://github.com/lxc/lxd/pull/10833
- DB: Apply schema patch version for bucket config typo fix by @tomponline in https://github.com/lxc/lxd/pull/10837
- Doc: several fixes by @ru-fu in https://github.com/lxc/lxd/pull/10839
- api: metric: lxd_cpu_seconds_total: fix help text, floats by @exsver in https://github.com/lxc/lxd/pull/10834
- Storage: Create initial admin credentials on bucket creation by @tomponline in https://github.com/lxc/lxd/pull/10835
- lxd-generate Allow Type field in filter struct by @markylaing in https://github.com/lxc/lxd/pull/10836
- lxd/db/generate/db/method: Fix external package support by @masnax in https://github.com/lxc/lxd/pull/10840
- lxd/db/generate/db/stmt: Add joinon tag by @masnax in https://github.com/lxc/lxd/pull/10841
- lxd/db/generate/db/stmt: Use joinon tag for ID query generation by @masnax in https://github.com/lxc/lxd/pull/10847
- lxd-generate join config by @markylaing in https://github.com/lxc/lxd/pull/10845
- Project rename response docs by @markylaing in https://github.com/lxc/lxd/pull/10848
- doc/requirements: correct statement about AIO by @cole-miller in https://github.com/lxc/lxd/pull/10852
- Storage: Use
Volume
to represent buckets with a new VolumeType by @tomponline in https://github.com/lxc/lxd/pull/10850 - Storage: Precursor changes before local bucket support by @tomponline in https://github.com/lxc/lxd/pull/10854
- doc: improve systemd-resolved integration by adding stop command by @simondeziel in https://github.com/lxc/lxd/pull/10856
- New lxd_cpu_effective_total metric by @exsver in https://github.com/lxc/lxd/pull/10849
- Doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/10858
- doc/storage/volumes: add
--all-projects
to documentation by @ru-fu in https://github.com/lxc/lxd/pull/10859 - lxd/apparmor: Deref compress commands by @stgraber in https://github.com/lxc/lxd/pull/10860
- doc: add related links to the start page by @ru-fu in https://github.com/lxc/lxd/pull/10863
- Add instance-ready event by @julio641742 in https://github.com/lxc/lxd/pull/10857
- github: Use markdownlint by @ru-fu in https://github.com/lxc/lxd/pull/10846
- Test: Adds timeout to
lxc
command calls by @tomponline in https://github.com/lxc/lxd/pull/10864 - Instance: Remove duplicate profiles argument from
instance.Load()
by @tomponline in https://github.com/lxc/lxd/pull/10871 - Instance: Load api.Project into instance common struct by @tomponline in https://github.com/lxc/lxd/pull/10869
- doc/metrics: add a list of provided metrics by @ru-fu in https://github.com/lxc/lxd/pull/10878
- doc/network/bgp: add some clarifications to the BGP docs by @ru-fu in https://github.com/lxc/lxd/pull/10877
- lxc-to-lxd: Handle linux32 and linux64 arch personalities by @monstermunchkin in https://github.com/lxc/lxd/pull/10872
- lxd/apparmor: allow rw access to /sys/fs/bpf by @morphis in https://github.com/lxc/lxd/pull/10884
- doc/storage/dir: add link to the YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/10883
- VM: Adds support for multi-queue macvlan NICs in VMs by @tomponline in https://github.com/lxc/lxd/pull/10876
- Networks: Adds
restricted.networks.access
setting by @tomponline in https://github.com/lxc/lxd/pull/10866 - Add profiles to backup data by @presztak in https://github.com/lxc/lxd/pull/10880
- doc/migration: Document lxc-to-lxd tool by @ru-fu in https://github.com/lxc/lxd/pull/10882
- lxd-generate: Create filtered statements from pre-existing "objects" statement. by @masnax in https://github.com/lxc/lxd/pull/10870
- Migration cleanup by @ru-fu in https://github.com/lxc/lxd/pull/10887
- doc/migration: clarify how to enable live migration for VMs by @ru-fu in https://github.com/lxc/lxd/pull/10889
- lxc: Fix panic when doing
lxc alias add
without existing config.yaml by @tomponline in https://github.com/lxc/lxd/pull/10888 - Network: Make dnsmasq start failure a network start failure by @tomponline in https://github.com/lxc/lxd/pull/10886
- GetAllXattr: handle overlay filtering by @hallyn in https://github.com/lxc/lxd/pull/10885
- lxd-generate: Refactor
stmt
generation with more manual intervention by @masnax in https://github.com/lxc/lxd/pull/10881 - DB: Removes inefficient
storagePoolVolumeGetType
and associated functions by @tomponline in https://github.com/lxc/lxd/pull/10890 - Storage: Object storage with MinIO by @tomponline in https://github.com/lxc/lxd/pull/10809
- lxd/db/generate/db/mapping: Use 'join' tag to deduce column name by @masnax in https://github.com/lxc/lxd/pull/10891
- AppArmor: Use non-deferenced outputPath to derive profile name in
archiveProfile
by @tomponline in https://github.com/lxc/lxd/pull/10895 - Storage: Use a sub-directory for minio on storage volume by @tomponline in https://github.com/lxc/lxd/pull/10893
- gomod: Updates dependencies by @tomponline in https://github.com/lxc/lxd/pull/10892
- LXD: Add context support to
subprocess
package by @tomponline in https://github.com/lxc/lxd/pull/10894 - Shared: Update GetAllXattr implementation using github.com/pkg/xattr by @tomponline in https://github.com/lxc/lxd/pull/10897
- Shared: Don't modify the global logrus standard logger by @tomponline in https://github.com/lxc/lxd/pull/10896
- lxd: Fix calls to inst.Project().Name when used in fmt.Sprintf by @tomponline in https://github.com/lxc/lxd/pull/10898
- lxd-generate: Use
QueryRowContext
forGet<entity>ID
by @masnax in https://github.com/lxc/lxd/pull/10899 - gomod: go mod tidy by @tomponline in https://github.com/lxc/lxd/pull/10903
- Firewall: Pass nftables rules via stdin rather than as command arguments by @tomponline in https://github.com/lxc/lxd/pull/10902
- Database: Use
QueryContext
inquery.Scan
andquery.SelectObjects
by @masnax in https://github.com/lxc/lxd/pull/10900 - Test: Adds
LXD_SKIP_TESTS
option by @tomponline in https://github.com/lxc/lxd/pull/10907 - Image: Maintain
Cached
property when creating an image in a project from an existing project by @tomponline in https://github.com/lxc/lxd/pull/10906 - Lxd-generate: Remove superfluous GetID error check by @masnax in https://github.com/lxc/lxd/pull/10908
- Database: Replace
tx.Query
withtx.QueryContext
andtx.QueryRow
withtx.QueryRowContext
by @masnax in https://github.com/lxc/lxd/pull/10901 - build(deps): bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10912
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10911
- shared/osarch: Improve 32bit arm handling by @stgraber in https://github.com/lxc/lxd/pull/10918
- Add new validators by @masnax in https://github.com/lxc/lxd/pull/10917
- Remove
-List
validators by @masnax in https://github.com/lxc/lxd/pull/10919 - Network: Fix ipv4.routes validation in
physical
network driver by @tomponline in https://github.com/lxc/lxd/pull/10920 - doc: update footer to display correctly by @ru-fu in https://github.com/lxc/lxd/pull/10923
- Storage: Run local bucket
minio
process as LXD's unprivileged user by @tomponline in https://github.com/lxc/lxd/pull/10922 - test: Adds LXD_REQUIRED_TESTS support by @tomponline in https://github.com/lxc/lxd/pull/10924
- Device: Fix project name in device logger by @tomponline in https://github.com/lxc/lxd/pull/10925
- Update gomod by @monstermunchkin in https://github.com/lxc/lxd/pull/10928
- client: Handle nil args in CopyImage by @monstermunchkin in https://github.com/lxc/lxd/pull/10930
- Add a performance tuning section by @ru-fu in https://github.com/lxc/lxd/pull/10916
- How to benchmark performance by @ru-fu in https://github.com/lxc/lxd/pull/10931
- Storage documentation by @ru-fu in https://github.com/lxc/lxd/pull/10932
- doc/instance API: add link to YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/10933
- Infiniband support for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/10710
- Stream lifecycle and log events to Loki by @monstermunchkin in https://github.com/lxc/lxd/pull/10915
New Contributors
- @cole-miller made their first contribution in https://github.com/lxc/lxd/pull/10832
- @julio641742 made their first contribution in https://github.com/lxc/lxd/pull/10857
Full Changelog: lxc/incus@lxd-5.5...lxd-5.6
LXD 5.5
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-5-has-been-released/14899
What's Changed
- Remove redundant LXD before ZFS pool by @hnakamur in https://github.com/lxc/lxd/pull/10689
- Doc: Fix LXD volume group to LVM by @hnakamur in https://github.com/lxc/lxd/pull/10688
- doc/authentication: add information about a server behind NAT by @ru-fu in https://github.com/lxc/lxd/pull/10692
- Generator: New generator logic for Warnings by @masnax in https://github.com/lxc/lxd/pull/10695
- DB: Remove unused warning types by @tomponline in https://github.com/lxc/lxd/pull/10697
- doc/storage: add link to video about benchmarking storage drivers by @ru-fu in https://github.com/lxc/lxd/pull/10698
- lxc/remote: Allow specifying alternate server address for tokens by @monstermunchkin in https://github.com/lxc/lxd/pull/10693
- DB: Fix bug in GetNetworkLoadBalancers and other DB query tweaks by @tomponline in https://github.com/lxc/lxd/pull/10699
- Storage: Fix "lvm.stripes cannot be used with thin pool volumes" error by @tomponline in https://github.com/lxc/lxd/pull/10700
- Remove duplicate prepared statement store by @masnax in https://github.com/lxc/lxd/pull/10702
- LXD: Lifecycle and SyncResponseLocation fixes by @tomponline in https://github.com/lxc/lxd/pull/10701
- DB: Don't use query parameters with IN statement when loading instance config in InstanceList by @tomponline in https://github.com/lxc/lxd/pull/10706
- LXD: Update SyncResponseLocation URLs to include project parameter where appropriate by @tomponline in https://github.com/lxc/lxd/pull/10703
- lxd/resources: Fix VPD parser crash by @stgraber in https://github.com/lxc/lxd/pull/10709
- Doc spell check by @ru-fu in https://github.com/lxc/lxd/pull/10661
- Add instance Ready state by @monstermunchkin in https://github.com/lxc/lxd/pull/10691
- DB: Fixes "Failed to get snapshots: Failed to fetch from "config" table: sql: Rows are closed" errors by @tomponline in https://github.com/lxc/lxd/pull/10712
- docs: Update storage create pool howto by @cricalix in https://github.com/lxc/lxd/pull/10713
- lxd-agent: Handle PATCH /1.0 in devlxd by @monstermunchkin in https://github.com/lxc/lxd/pull/10714
- doc: mark up default values correctly by @ru-fu in https://github.com/lxc/lxd/pull/10717
- API: Only allow admin users to see storage pool and network config by @tomponline in https://github.com/lxc/lxd/pull/10722
- Storage: Add common volume management "not supported" functions by @tomponline in https://github.com/lxc/lxd/pull/10720
- Network: Support patching forwarder and load balancer configs by @tomponline in https://github.com/lxc/lxd/pull/10719
- LXC: Fix expanded show of instance snapshot by @tomponline in https://github.com/lxc/lxd/pull/10715
- Storage: Scan pool device source for BTRFS filesystems before mounting by @tomponline in https://github.com/lxc/lxd/pull/10723
- Instance: Remove InstanceToArgs function by @tomponline in https://github.com/lxc/lxd/pull/10716
- Doc landing page by @ru-fu in https://github.com/lxc/lxd/pull/10728
- Tests: Fix devlxd tests on go-tip by @tomponline in https://github.com/lxc/lxd/pull/10726
- Storage: Fix
Invalid argument
errors on BTRFS pool mount by @tomponline in https://github.com/lxc/lxd/pull/10725 - Daemon: Add explicit instancesLoaded bool to indicate if shared mounts can be cleaned up by @tomponline in https://github.com/lxc/lxd/pull/10727
- Client: Set transport.DialTLSContext in tlsHTTPClient by @tomponline in https://github.com/lxc/lxd/pull/10735
- Util: Adds detection of
RunError
type toExitStatus
function by @tomponline in https://github.com/lxc/lxd/pull/10729 - Test: Order tweaks for proxy device tests by @tomponline in https://github.com/lxc/lxd/pull/10733
- doc/reference: improve description of storage option by @simondeziel in https://github.com/lxc/lxd/pull/10737
- Network: Fix regression in GetNetworkLoadBalancers by @tomponline in https://github.com/lxc/lxd/pull/10736
- lxd: Fixes API version for instances in project usedby. by @markylaing in https://github.com/lxc/lxd/pull/10741
- Test: Make basic_usage reboot test more reliable by @tomponline in https://github.com/lxc/lxd/pull/10740
- lxd/db: Fix escaped slashes in storage volume URIs. by @markylaing in https://github.com/lxc/lxd/pull/10742
- workflows: Adds edge ppa's and removes make deps step. by @markylaing in https://github.com/lxc/lxd/pull/10744
- URLs: Generate URLs in GetClusterGroupURIs correctly by @tomponline in https://github.com/lxc/lxd/pull/10743
- lxd/storage/drivers/zfs: set atime=off and relatime=on by @simondeziel in https://github.com/lxc/lxd/pull/10747
- doc/reference: fix description of dir source param by @simondeziel in https://github.com/lxc/lxd/pull/10749
- lxd/cgroup/abstractions: Improve errors from GetIOStats by @tomponline in https://github.com/lxc/lxd/pull/10750
- Instance: Use more efficient snapshot loading query when deleting snapshots by @tomponline in https://github.com/lxc/lxd/pull/10751
- lxd: Adds
RunCommandContext
function and updatesRunError
withUnwrap
function by @tomponline in https://github.com/lxc/lxd/pull/10752 - cgo: ensure that lxd wrappers don't conflict with libc provided wrapper by @brauner in https://github.com/lxc/lxd/pull/10756
- Small doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/10757
- lxc/remote: the admin password prompt also accepts a token by @simondeziel in https://github.com/lxc/lxd/pull/10758
- Use SI units for storage by @simondeziel in https://github.com/lxc/lxd/pull/10762
- doc/storage/zfs: {remove_snapshots,use_refquota,reserve_space} are bools by @simondeziel in https://github.com/lxc/lxd/pull/10761
- Adds instance type to instance-created lifecycle event context. by @markylaing in https://github.com/lxc/lxd/pull/10760
- Storage: Don't use losetup --direct-io=off to support CentOS 7 by @tomponline in https://github.com/lxc/lxd/pull/10763
- doc/migration: clean up "live migration" documentation by @ru-fu in https://github.com/lxc/lxd/pull/10767
- Storage: Improve and simplify
/1.0/storage-pools/<pool>/volumes
endpoint by @tomponline in https://github.com/lxc/lxd/pull/10769 - doc: use HTTPS for links to CRIU site and inotify man by @simondeziel in https://github.com/lxc/lxd/pull/10770
- Network: BGP peer holdtime option configuration by @ivanovuri in https://github.com/lxc/lxd/pull/10768
- Storage: Volume list improvements by @tomponline in https://github.com/lxc/lxd/pull/10773
- lxd-user: Fix use with clusters by @stgraber in https://github.com/lxc/lxd/pull/10774
- LXD: Replace
InstanceGetParentAndSnapshotName
withGetParentAndSnapshotName
by @tomponline in https://github.com/lxc/lxd/pull/10775 - Storage: Volume list improvements by @tomponline in https://github.com/lxc/lxd/pull/10777
- lxd/projects: Ensure default project has features.networks by @stgraber in https://github.com/lxc/lxd/pull/10780
- grafana: Only use instant queries on piechart graphs by @simondeziel in https://github.com/lxc/lxd/pull/10782
- lxd/network: Fix BGP without hold time by @stgraber in https://github.com/lxc/lxd/pull/10781
- Storage: Adds
--all-projects
tolxc storage volume list
by @tomponline in https://github.com/lxc/lxd/pull/10778 - Instance: Generate
volatile.uuid
if needed on move by @tomponline in https://github.com/lxc/lxd/pull/10786 - Database: Adds remote storage aware unique index to
storage_volumes
by @tomponline in https://github.com/lxc/lxd/pull/10787 - Network: Include error from bridge n.populateAutoConfig by @tomponline in https://github.com/lxc/lxd/pull/10788
- Network: Lower case OVN DNS names by @tomponline in https://github.com/lxc/lxd/pull/10789
- Storage: Don't use project param when deleting image volumes during storage pool deletion by @tomponline in https://github.com/lxc/lxd/pull/10790
- Generator: Remove unnecessary statement prepares from Config/Devices by @masnax in https://github.com/lxc/lxd/pull/10793
- doc/storage/ceph: remove YouTube link from content that is reused by @ru-fu in https://github.com/lxc/lxd/pull/10801
- Makefile: Moves shellcheck version call into static-analysis target. by @markylaing in https://github.com/lxc/lxd/pull/10798
- metrics: new metric: lxd_memory_OOM_kills_total by @exsver in https://github.com/lxc/lxd/pull/10791
- lxd-generate: Allow GetOne filter to include a 'type' field. by @markylaing in https://github.com/lxc/lxd/pull/10802
- Doc: Separate storage howtos to cover pool and volumes separately by @tomponline in https://github.com/lxc/lxd/pull/10799
- api: metrics_memory_oom_total by @stgraber in https://github.com/lxc/lxd/pull/10805
- Doc for lxd-migrate by @ru-fu in https://github.com/lxc/lxd/pull/10804
- Network: Fixes impossibility to set MTU for a pair of veths connecting OVN uplink and ovs-system bridges by @Fenixoff in https://github.com/lxc/lxd/pull/10803
- Storage: Add object storage buckets for ceph radosgw by @tomponline in https://github.com/lxc/lxd/pull/10694
- Storage: Fix detection of missing lxd-admin radosgw user in cephobject driver by @tomponline in https://github.com/lxc/lxd/pull/10807
- Database: Use QueryScan rowFunc for SelectObjects by @masnax in https://github.com/lxc/lxd/pull/10794
- Firewall: Use xtables locking in
NetworkApplyACLRules
by @tomponline in https://github.com/lxc/lxd/pull/10812 - Node: Removes inefficient convenience functions that load all node config unnecessarily by @tomponline in https://github.com/lxc/lxd/pull/10808
- Storage: Ceate admin cephobject radosgw-admin user if missing in CreateBucket by @tomponline in https://github.com/lxc/lxd/pull/10815
- lxd/db/generate/db/method: Fix lxd-generate typo by @masnax in https://github.com/lxc/lxd/pull/10817
New Contributors
- @ivanovuri made their first contribution in https://github.com/lxc/lxd/pull/10768
- @exsver made their first contribution in https://github.com/lxc/lxd/pull/10791
- @Fenixoff made their fir...
LXD 5.0.1
LXD 5.4
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-4-has-been-released/14683
What's Changed
- doc: storage: clarify moving of storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10602
- doc: fix version switcher to work for latest by @ru-fu in https://github.com/lxc/lxd/pull/10603
- lxd/network/openvswitch: Use %s so that delimiting quotes are not escaped. by @markylaing in https://github.com/lxc/lxd/pull/10607
- Subprocess: Improve errors in ImportProcess by @tomponline in https://github.com/lxc/lxd/pull/10608
- Tweaks to go-lxc usage by @stgraber in https://github.com/lxc/lxd/pull/10611
- doc: storage: clarify that most docs are about custom volumes by @ru-fu in https://github.com/lxc/lxd/pull/10606
- Update lifecycle events by @stgraber in https://github.com/lxc/lxd/pull/10612
- Enables additional linters via golangci-lint config file. by @markylaing in https://github.com/lxc/lxd/pull/10600
- doc: add link to YouTube video about image handling by @ru-fu in https://github.com/lxc/lxd/pull/10614
- lxd/instance/lxc: Don't fail on missing apparmor by @stgraber in https://github.com/lxc/lxd/pull/10616
- Shell linters and github action by @markylaing in https://github.com/lxc/lxd/pull/10617
- Network: Load balancer struct prerequisites applied to network forwards by @tomponline in https://github.com/lxc/lxd/pull/10618
- Tiny lint fixes by @simondeziel in https://github.com/lxc/lxd/pull/10619
- lxd/network/driver/ovn: Inserts newlines after blocks. by @simondeziel in https://github.com/lxc/lxd/pull/10620
- workflows: Removes unit tests and reinstates ubuntu client tests. by @markylaing in https://github.com/lxc/lxd/pull/10621
- lxd/db/generate/lex: Use cases.Title instead of deprecated strings.Title by @markylaing in https://github.com/lxc/lxd/pull/10622
- Generator: Fix config table error handling. by @masnax in https://github.com/lxc/lxd/pull/10626
- Fix OVN docs by @ru-fu in https://github.com/lxc/lxd/pull/10629
- workflows/static-analysis: Download but do not update dependencies. by @markylaing in https://github.com/lxc/lxd/pull/10632
- Test: Add tests for passing unix character devices as disks into a container by @tomponline in https://github.com/lxc/lxd/pull/10631
- Fix incorrect error fields in swagger by @stgraber in https://github.com/lxc/lxd/pull/10638
- lxd/resources: Handle invalid VPD lengths by @stgraber in https://github.com/lxc/lxd/pull/10637
- Update for current candid by @stgraber in https://github.com/lxc/lxd/pull/10635
- lxd/instance/qemu: Fix qemuCPU template broken numa section by @tarruda in https://github.com/lxc/lxd/pull/10642
- Storage: Fix instance root disk volume config overrides leak volume DB record error by @tomponline in https://github.com/lxc/lxd/pull/10641
- DB: Optimise query pattern for InstanceList by @tomponline in https://github.com/lxc/lxd/pull/10634
- Network: OVN load balancers by @tomponline in https://github.com/lxc/lxd/pull/10609
- Don't double TLS connections between LXD and agent by @stgraber in https://github.com/lxc/lxd/pull/10644
- Instance: Don't wait for update operation to complete when removing disk from running container by @tomponline in https://github.com/lxc/lxd/pull/10647
- Instance: Revert InstanceList selective config loading optimisation by @tomponline in https://github.com/lxc/lxd/pull/10648
- Upgrades shellcheck to version 0.8.0 by @markylaing in https://github.com/lxc/lxd/pull/10649
- doc/instances: add link to NVIDIA video by @ru-fu in https://github.com/lxc/lxd/pull/10653
- lxd: Replace use of cluster "node" with "member" in user facing text by @tomponline in https://github.com/lxc/lxd/pull/10655
- doc: add a more complete prometheus.yaml example by @simondeziel in https://github.com/lxc/lxd/pull/10656
- doc: update storage driver reference by @ru-fu in https://github.com/lxc/lxd/pull/10643
- Generator: Fixes for external calling by @masnax in https://github.com/lxc/lxd/pull/10658
- doc: Load balancer fixes by @ru-fu in https://github.com/lxc/lxd/pull/10657
- lxd/resources: Better handle invalid VPD by @stgraber in https://github.com/lxc/lxd/pull/10663
- doc: Fix use of setup/set up by @stgraber in https://github.com/lxc/lxd/pull/10665
- Several fixes to the storage docs by @ru-fu in https://github.com/lxc/lxd/pull/10664
- Bidirectional vsock interface by @monstermunchkin in https://github.com/lxc/lxd/pull/10610
- Support
volume.*
configurations by @presztak in https://github.com/lxc/lxd/pull/10613 - lxd: Deprecates
ceph.osd.force_reuse
Ceph storage pool setting by @tomponline in https://github.com/lxc/lxd/pull/10666 - lxc: Clarify that monitor --log-level can only be used with pretty formatting mode by @tomponline in https://github.com/lxc/lxd/pull/10671
- Doc: Two additional storage how-tos by @ru-fu in https://github.com/lxc/lxd/pull/10673
- Storage: Fix ParseFloat warnings when instance on LVM thinpool not running by @tomponline in https://github.com/lxc/lxd/pull/10676
- doc/storage: move content from FAQ to storage section by @ru-fu in https://github.com/lxc/lxd/pull/10675
- lxd/resources: Better handle ethtool errors by @stgraber in https://github.com/lxc/lxd/pull/10677
- lxd/instance/drivers: Handle QEMU I/O errors by @stgraber in https://github.com/lxc/lxd/pull/10678
- Client: Add 30s HTTP header timeout for image download by @tomponline in https://github.com/lxc/lxd/pull/10681
- VM: Fix instance reference leak in getMonitorEventHandler by @tomponline in https://github.com/lxc/lxd/pull/10682
- DB: Make config tables
value
fields NOT NULL by @tomponline in https://github.com/lxc/lxd/pull/10680 - doc: Update cloud-init.md with user-data examples by @cricalix in https://github.com/lxc/lxd/pull/10669
- lxd/instance/drivers: Rename agentReady to agentStarted by @monstermunchkin in https://github.com/lxc/lxd/pull/10683
- Fix v1 generator code style by @masnax in https://github.com/lxc/lxd/pull/10684
- DB: Query optimisations by @tomponline in https://github.com/lxc/lxd/pull/10685
- Don't expose internal structs by @stgraber in https://github.com/lxc/lxd/pull/10686
New Contributors
- @cricalix made their first contribution in https://github.com/lxc/lxd/pull/10669
Full Changelog: lxc/incus@lxd-5.3...lxd-5.4
LXD 5.3
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-3-has-been-released/14439
What's Changed
- lxd/resources: Handle ethtool not supported by @stgraber in https://github.com/lxc/lxd/pull/10465
- Fix issue with image profiles during copy by @stgraber in https://github.com/lxc/lxd/pull/10466
- Fix bad profile copy handling by @stgraber in https://github.com/lxc/lxd/pull/10467
- lxd/main_forkfile: Change counting model by @stgraber in https://github.com/lxc/lxd/pull/10469
- Instance: Convert more qemu config templates by @tarruda in https://github.com/lxc/lxd/pull/10450
- doc: fix version numbers in the version switcher by @ru-fu in https://github.com/lxc/lxd/pull/10476
- lxd/instance/lxc: Stop forkfile on restore by @stgraber in https://github.com/lxc/lxd/pull/10477
- Storage doc by @ru-fu in https://github.com/lxc/lxd/pull/10475
- Events: Remove frequent
Failed closing listener connection
error by @tomponline in https://github.com/lxc/lxd/pull/10472 - Operations: Fixes race conditions on status propery and improves some function names by @tomponline in https://github.com/lxc/lxd/pull/10471
- Database Refactor: Profiles by @masnax in https://github.com/lxc/lxd/pull/10463
- Instance: convert qemuCPU plus a few other simple templates by @tarruda in https://github.com/lxc/lxd/pull/10473
- Storage: Don't close migration socket on error by @tomponline in https://github.com/lxc/lxd/pull/10480
- doc: update info on how to grow a ZFS pool by @ru-fu in https://github.com/lxc/lxd/pull/10482
- Instance: Allow 5 minutes for the root disk unmount process by @tomponline in https://github.com/lxc/lxd/pull/10486
- Instance: convert remaining qemu templates by @tarruda in https://github.com/lxc/lxd/pull/10481
- Instance: Fix ZFS tests with exclusive lock on refresh by @tomponline in https://github.com/lxc/lxd/pull/10484
- How to create a storage pool by @ru-fu in https://github.com/lxc/lxd/pull/10485
- doc: storage: Clarify driver names by @ru-fu in https://github.com/lxc/lxd/pull/10488
- Instance: Final cleanup after refactoring qemu config building by @tarruda in https://github.com/lxc/lxd/pull/10487
- lxd/storage/drivers/zfs: Fix VM migration by @monstermunchkin in https://github.com/lxc/lxd/pull/10489
- Operations: Prevent image related background tasks from running concurrently and stepping on each other by @tomponline in https://github.com/lxc/lxd/pull/10491
- Events: Consistently close connection on function exit by @tomponline in https://github.com/lxc/lxd/pull/10490
- Storage: Custom volume migration fixes by @tomponline in https://github.com/lxc/lxd/pull/10493
- How to add storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10494
- Restore unprivileged archive unpack behavior by @stgraber in https://github.com/lxc/lxd/pull/10495
- doc/howto/ovn: Fix incorrect config syntax by @stgraber in https://github.com/lxc/lxd/pull/10497
- doc: storage: clarification about sharing of storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10500
- Update /1.0/events API description by @stgraber in https://github.com/lxc/lxd/pull/10499
- lxd/instance/qemu: Support running inside a LXD container by @stgraber in https://github.com/lxc/lxd/pull/10504
- lxd/operations: Fix crash on nil state by @stgraber in https://github.com/lxc/lxd/pull/10508
- chore: Set permissions for GitHub actions by @nathannaveen in https://github.com/lxc/lxd/pull/10513
- Storage: Restore missing instance volume snapshot DB records by @tomponline in https://github.com/lxc/lxd/pull/10516
- LXD: Move away from accepting revert.Reverter as an argument and instead return revert.Hook for cleanup by @tomponline in https://github.com/lxc/lxd/pull/10502
- chore: Included githubactions in the dependabot config by @naveensrinivasan in https://github.com/lxc/lxd/pull/10515
- build(deps): bump actions/labeler from 3 to 4 by @dependabot in https://github.com/lxc/lxd/pull/10518
- build(deps): bump actions/upload-artifact from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10520
- build(deps): bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10517
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10519
- Tweak Github Actions by @stgraber in https://github.com/lxc/lxd/pull/10521
- Migration: Improve migration index header negotiation and format by @tomponline in https://github.com/lxc/lxd/pull/10523
- doc: Update for new myst_parser by @stgraber in https://github.com/lxc/lxd/pull/10527
- lxd-user: Use getent by @stgraber in https://github.com/lxc/lxd/pull/10528
- lxd/certificates: Require an address for token issuance by @stgraber in https://github.com/lxc/lxd/pull/10529
- Fix network forward example in edit by @stgraber in https://github.com/lxc/lxd/pull/10532
- lxd/instance/qemu: Drop bootIndex from PCI by @stgraber in https://github.com/lxc/lxd/pull/10530
- lxd/cgroup: Better handle broken CGroupV2 setups by @stgraber in https://github.com/lxc/lxd/pull/10533
- Handle custom volume refresh properly by @monstermunchkin in https://github.com/lxc/lxd/pull/10510
- github: Only run dependencies check on PR by @stgraber in https://github.com/lxc/lxd/pull/10535
- Instance: Allow storage volume config to be migrated by @tomponline in https://github.com/lxc/lxd/pull/10526
- tests: Skip EDITOR=cat when not a terminal by @stgraber in https://github.com/lxc/lxd/pull/10536
- doc: fix indentation for commands by @ru-fu in https://github.com/lxc/lxd/pull/10538
- New
raw.qemu.conf
config option by @tarruda in https://github.com/lxc/lxd/pull/10512 - doc/instances: Add section about raw.qemu.conf by @tarruda in https://github.com/lxc/lxd/pull/10539
- doc: add link to video about network forwards by @ru-fu in https://github.com/lxc/lxd/pull/10544
- Generator: Handle Devices as a collection by @masnax in https://github.com/lxc/lxd/pull/10541
- Database: Refactor database actions for Instances by @masnax in https://github.com/lxc/lxd/pull/10542
- Fix sysinfo boottime by @stgraber in https://github.com/lxc/lxd/pull/10549
- Database: Refactor db.InstanceSnapshot to cluster.InstanceSnapshot by @masnax in https://github.com/lxc/lxd/pull/10547
- Database: Refactor db.Image to cluster.Image by @masnax in https://github.com/lxc/lxd/pull/10548
- Database: Refactor db.Operation to cluster.Operation by @masnax in https://github.com/lxc/lxd/pull/10550
- Fix incorrect usage on lxc storage volume by @stgraber in https://github.com/lxc/lxd/pull/10555
- lxd/profiles/utils: Add missing profiles slice check by @masnax in https://github.com/lxc/lxd/pull/10557
- Storage doc: add howtos by @ru-fu in https://github.com/lxc/lxd/pull/10556
- Instance: Move most of device lifecycle logic into common driver by @tomponline in https://github.com/lxc/lxd/pull/10551
- lxd/dns: Add support for SOA (and accept IXFR) by @stgraber in https://github.com/lxc/lxd/pull/10559
- Enables gosimple linter and fixes lint errors by @markylaing in https://github.com/lxc/lxd/pull/10562
- Device: Allow copying and snapshot restoring instance snapshots that results in device confict by @tomponline in https://github.com/lxc/lxd/pull/10546
- Instance: Use the negotiated index migration header version on target by @tomponline in https://github.com/lxc/lxd/pull/10567
- Fix ACL UsedBy Instance type assertion by @masnax in https://github.com/lxc/lxd/pull/10570
- Instance: Stop and remove device after non-user requested update validation fails by @tomponline in https://github.com/lxc/lxd/pull/10572
- lxd/device/disk: Fix ceph creds on custom volumes by @stgraber in https://github.com/lxc/lxd/pull/10574
- build(deps): bump actions/dependency-review-action from 1 to 2 by @dependabot in https://github.com/lxc/lxd/pull/10577
- github: Disable dependabot labels by @stgraber in https://github.com/lxc/lxd/pull/10581
- lxd/network/ovs: Add timeout to nbctl/sbctl by @stgraber in https://github.com/lxc/lxd/pull/10582
- doc: add link to the YouTube video about network zones by @ru-fu in https://github.com/lxc/lxd/pull/10586
- shared/logger: Filter event levels for syslog by @stgraber in https://github.com/lxc/lxd/pull/10584
- Add cephfs.fscache by @stgraber in https://github.com/lxc/lxd/pull/10583
- lxc: List volumes under used-by by @monstermunchkin in https://github.com/lxc/lxd/pull/10579
- doc: Rename refquota config key name for use_refquota by @presztak in https://github.com/lxc/lxd/pull/10588
- doc: storage: I/O limits by @ru-fu in https://github.com/lxc/lxd/pull/10592
- doc: storage: how to back up storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10587
- Adds staticcheck and fixes lint errors by @markylaing in https://github.com/lxc/lxd/pull/10580
- doc: storage: cleanup of the general storage drivers reference by @ru-fu in https://github.com/lxc/lxd/pull/10593
- Fixes structcheck, typecheck, unused, varcheck lint errors by @markylaing in https://github.com/lxc/lxd/pull/10594
- lxd-agent exec bug by @markylaing in https://github.com/lxc/lxd/pull/10597
- Fix migration between LXD 4.0 and LXD 5.0 by @monstermunchkin in https://github.com/lxc/lxd/pull/10591
- lxd-generate: Revert to deprecated strings.Title. by @markylaing in https://github.com/lxc/lxd/pull/10598
- Add some API constants by @stgraber in https://github.com/lxc/lxd/pull/10599
New Contributors
- @nathannaveen made their first contribution in https://github.com/lxc/lxd/pull/10513
- @naveensrinivasan made their first contribution in https://github.com/lxc/lxd/pull/10515
- @dependabot made their first contribution in https://github.com/lxc/lxd/pull/10518
Full Changelog: lxc/incus@lxd-5.2...lxd-5.3
LXD 5.2
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-2-has-been-released/14200
What's Changed
- Fix btrfs issue "cannot find parent subvolume" by @monstermunchkin in https://github.com/lxc/lxd/pull/10346
- lxd/secommp: Fix sysinfo syscall interception on 32 bit platforms by @tomponline in https://github.com/lxc/lxd/pull/10348
- Client: Add some default timeouts by @tomponline in https://github.com/lxc/lxd/pull/10351
- lxd/certificates: Check token for trusted admins by @monstermunchkin in https://github.com/lxc/lxd/pull/10352
- doc: Fix typos by @hnakamur in https://github.com/lxc/lxd/pull/10353
- server.crt referred to as lxd.crt in the prometheus config file by @pmarini-nc in https://github.com/lxc/lxd/pull/10355
- Inclusive language by @ru-fu in https://github.com/lxc/lxd/pull/10360
- github: Re-organize workflows by @stgraber in https://github.com/lxc/lxd/pull/10361
- Peer routing relationships by @ru-fu in https://github.com/lxc/lxd/pull/10358
- shared/network: Always return 0 on error by @monstermunchkin in https://github.com/lxc/lxd/pull/10365
- lxc: Fix instance snapshot deletion by @tomponline in https://github.com/lxc/lxd/pull/10364
- doc: document how to handle SAN vs target name mismatch in Prometheus sample by @simondeziel in https://github.com/lxc/lxd/pull/10368
- lxd: Prevent use of instance/snapshot name in instance specific routes by @tomponline in https://github.com/lxc/lxd/pull/10367
- lxc/list: Don't skip extra info when name filtering by @stgraber in https://github.com/lxc/lxd/pull/10369
- doc: update firewall configuration documentation by @ru-fu in https://github.com/lxc/lxd/pull/10328
- doc: rework doc for setting up OVN by @ru-fu in https://github.com/lxc/lxd/pull/10356
- lxd/certificates: Fix token request validation by @stgraber in https://github.com/lxc/lxd/pull/10375
- doc: add a Discourse link about simple streams by @ru-fu in https://github.com/lxc/lxd/pull/10378
- lxc/config_trust: revoke-token requires a name, not a token by @simondeziel in https://github.com/lxc/lxd/pull/10380
- lxc/config_trust: clarify help for join token creation by @simondeziel in https://github.com/lxc/lxd/pull/10382
- lxd/project: Fix bad error on invalid instance type by @stgraber in https://github.com/lxc/lxd/pull/10381
- lxd/request: Export CtxKey type and use for all keys. by @markylaing in https://github.com/lxc/lxd/pull/10384
- lxd/daemon: Fix LXD crash is failing to start due to already running LXD process by @tomponline in https://github.com/lxc/lxd/pull/10383
- Storage: Align UnmountVolume in storage drivers by @tomponline in https://github.com/lxc/lxd/pull/10385
- Storage: Adds ref counting to volume snapshot mount/unmount by @tomponline in https://github.com/lxc/lxd/pull/10325
- lxc/config: no name shown when editing the instance's config by @simondeziel in https://github.com/lxc/lxd/pull/10390
- expose PCI VPD info in resources by @albertodonato in https://github.com/lxc/lxd/pull/10387
- Network: Pass --wait=sb when using ovn-nbctl for OVN networks by @tomponline in https://github.com/lxc/lxd/pull/10393
- golangci-lint github action: deadcode by @markylaing in https://github.com/lxc/lxd/pull/10394
- lxc/config: Add more examples by @stgraber in https://github.com/lxc/lxd/pull/10405
- lxd/resources: Handle negative CPU indexes by @stgraber in https://github.com/lxc/lxd/pull/10403
- Fixed small typo. (issue #10409) by @erik78se in https://github.com/lxc/lxd/pull/10410
- Client: Increase header timeout from 30s to 1 hour by @tomponline in https://github.com/lxc/lxd/pull/10407
- Storage: Restore instance snapshot volume config and description by @tomponline in https://github.com/lxc/lxd/pull/10398
- Instance: Regenerate running VM NVRAM on next start if profile
security.secureboot
setting is changed by @tomponline in https://github.com/lxc/lxd/pull/10400 - lxc/config_trust: Fix single argument trust remove by @stgraber in https://github.com/lxc/lxd/pull/10406
- lxc/profile: Add cross-project copy by @stgraber in https://github.com/lxc/lxd/pull/10404
- Use server-side filtering for CLI list commands by @presztak in https://github.com/lxc/lxd/pull/10140
- Storage: Populate snapshot volume info in instance backup.yaml file and use it when restoring by @tomponline in https://github.com/lxc/lxd/pull/10402
- Instance: Show non-editable fields in
lxc config edit
screen without expanded config by @tomponline in https://github.com/lxc/lxd/pull/10397 - lxd/resources: Handle unreadable VPD by @stgraber in https://github.com/lxc/lxd/pull/10413
- lxd/instance: Fix auto-snapshot on restricted projects by @stgraber in https://github.com/lxc/lxd/pull/10415
- Fix cpu and memory state for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/10414
- Use QEMU rbd driver for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/10308
- lxd/instance/qemu: Fix ceph username key by @stgraber in https://github.com/lxc/lxd/pull/10418
- doc: add link to YouTube video for network ACLs by @ru-fu in https://github.com/lxc/lxd/pull/10421
- lxd-agent/devlxd: Don't expand format strings by @monstermunchkin in https://github.com/lxc/lxd/pull/10424
- Storage: Fix copy/move of custom volume snapshot so that its config is used for new volume by @tomponline in https://github.com/lxc/lxd/pull/10420
- lxd/instance/drivers/qemu: Set conf option in rbd driver by @monstermunchkin in https://github.com/lxc/lxd/pull/10425
- lxd/instance/drivers/qemu: Fix ceph conf filename by @monstermunchkin in https://github.com/lxc/lxd/pull/10429
- Storage: Separate generation of backup config struct from writing it by @tomponline in https://github.com/lxc/lxd/pull/10427
- Storage: Adds additonal error handling by @tomponline in https://github.com/lxc/lxd/pull/10430
- lxd-generate: Appease errcheck linter in generated files by @markylaing in https://github.com/lxc/lxd/pull/10431
- tests: Test stateless migration by @monstermunchkin in https://github.com/lxc/lxd/pull/10432
- Generator: Use join tag for Create stmt primary key by @masnax in https://github.com/lxc/lxd/pull/10433
- Lint with errcheck by @markylaing in https://github.com/lxc/lxd/pull/10428
- doc/storage: Add CEPHFS to table by @stgraber in https://github.com/lxc/lxd/pull/10438
- docs: Typo in ovn docs by @tomponline in https://github.com/lxc/lxd/pull/10439
- Version switcher by @ru-fu in https://github.com/lxc/lxd/pull/10388
- Instance: Stop source instance from freezing when using --allow-inconsistent by @markylaing in https://github.com/lxc/lxd/pull/10442
- Storage: Fix custom volume refresh if volume doesn't exist in target by @tomponline in https://github.com/lxc/lxd/pull/10437
- Bugfix: allow inconsistent copy for pool and project migrations by @markylaing in https://github.com/lxc/lxd/pull/10443
- Storage: Add migration index header in order to send full volume and volume snapshot info by @tomponline in https://github.com/lxc/lxd/pull/10423
- Allow inconsistent not working with refresh on the same storage pool. by @markylaing in https://github.com/lxc/lxd/pull/10447
- doc: add a link to the YouTube video on BGP by @ru-fu in https://github.com/lxc/lxd/pull/10453
- lxd/bgp: Enable multihop by @stgraber in https://github.com/lxc/lxd/pull/10451
- doc: move storage content to different files by @ru-fu in https://github.com/lxc/lxd/pull/10452
- Instance: Refactor config generation (qemuBase) by @tarruda in https://github.com/lxc/lxd/pull/10445
- lxd/apparmor: Add mknod cap to archive by @stgraber in https://github.com/lxc/lxd/pull/10454
- lxd/instance/qemu: Fix some variable names to match code style by @tarruda in https://github.com/lxc/lxd/pull/10455
- Quick fixes to storage docs by @ru-fu in https://github.com/lxc/lxd/pull/10458
- Optimize snapshot expiry by @stgraber in https://github.com/lxc/lxd/pull/10460
- lxd/network: Disable IPv6 on bridges with no IPv6 address by @stgraber in https://github.com/lxc/lxd/pull/10459
- cloud-init notification API by @monstermunchkin in https://github.com/lxc/lxd/pull/10359
- Database performance fixes by @stgraber in https://github.com/lxc/lxd/pull/10457
- Optimize automatic custom volume snapshots by @stgraber in https://github.com/lxc/lxd/pull/10461
New Contributors
- @pmarini-nc made their first contribution in https://github.com/lxc/lxd/pull/10355
- @erik78se made their first contribution in https://github.com/lxc/lxd/pull/10410
- @tarruda made their first contribution in https://github.com/lxc/lxd/pull/10445
Full Changelog: lxc/incus@lxd-5.1...lxd-5.2
LXD 5.1
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-1-has-been-released/13956
What's Changed
- lxd/instance/qemu: Fix bad topoext logic by @stgraber in https://github.com/lxc/lxd/pull/10168
- lxd/storage/btrfs: Fix usage nested by @stgraber in https://github.com/lxc/lxd/pull/10167
- Networking docs restructure by @ru-fu in https://github.com/lxc/lxd/pull/10139
- lxd/instance/drivers/qemu: Add serial key to device by @monstermunchkin in https://github.com/lxc/lxd/pull/10173
- Add/remove cluster role commands by @markylaing in https://github.com/lxc/lxd/pull/10172
- Move SplitNTrimSpace to shared by @stgraber in https://github.com/lxc/lxd/pull/10174
- Fix typo in notes by @745150400 in https://github.com/lxc/lxd/pull/10170
- Storage: Move validation into storage package by @tomponline in https://github.com/lxc/lxd/pull/10169
- lxd/cluster: Don't overwrite original volatile.evacuate.origin by @stgraber in https://github.com/lxc/lxd/pull/10176
- Database Refactor Part 1: Decouple Certificates from their Projects. by @masnax in https://github.com/lxc/lxd/pull/10031
- Image: Prevent concurrent delete race by @tomponline in https://github.com/lxc/lxd/pull/10179
- DB: Update generator to use api.StatusErrorf(http.StatusNotFound) by @tomponline in https://github.com/lxc/lxd/pull/10178
- Storage volume total size and used in a single query by @presztak in https://github.com/lxc/lxd/pull/10171
- doc/rest-api: Refresh swagger YAML by @stgraber in https://github.com/lxc/lxd/pull/10180
- lxd/util/net: Assign default port if no port given by @masnax in https://github.com/lxc/lxd/pull/10182
- lxd/instance/qemu: Allow using external firmware or kernel by @stgraber in https://github.com/lxc/lxd/pull/10188
- doc: move Sphinx extensions to a separate repo by @ru-fu in https://github.com/lxc/lxd/pull/10150
- lxd/instance/qemu: Tweak warning on -bios/-kernel by @stgraber in https://github.com/lxc/lxd/pull/10193
- Storage: Use TryUnmount without MNT_DETACH in DiskMountClear by @tomponline in https://github.com/lxc/lxd/pull/10185
- lxd/instance: Fix RuntimeLiblxcVersionAtLeast to handle ~ by @stgraber in https://github.com/lxc/lxd/pull/10197
- shared: allow EOPNOTSUPP from llistxattr() by @tych0 in https://github.com/lxc/lxd/pull/10198
- Lxd 100 network bgp by @ru-fu in https://github.com/lxc/lxd/pull/10190
- VM: Fix disk hotplugging issues by @tomponline in https://github.com/lxc/lxd/pull/10202
- lxd/storage/drivers/btrfs: Fix optimized refresh by @monstermunchkin in https://github.com/lxc/lxd/pull/10192
- Miscellaneous fixes by @monstermunchkin in https://github.com/lxc/lxd/pull/10204
- Introduction operationlock around Update by @stgraber in https://github.com/lxc/lxd/pull/10203
- Misc by @simondeziel in https://github.com/lxc/lxd/pull/10206
- lxd/storage/drivers/zfs: Close stderr after copy by @monstermunchkin in https://github.com/lxc/lxd/pull/10211
- Backup: Default to container instance type if not specified in backup config by @tomponline in https://github.com/lxc/lxd/pull/10209
- LXD: Replace use of ErrNotFound with api.StatusError with code set to http.StatusNotFound by @tomponline in https://github.com/lxc/lxd/pull/10207
- Update doc links by @stgraber in https://github.com/lxc/lxd/pull/10214
- Network types documentation by @ru-fu in https://github.com/lxc/lxd/pull/10201
- Storage: Updates genericVFSCopyVolume to not copy block volume files twice by @tomponline in https://github.com/lxc/lxd/pull/10213
- Properly handle nesting a manually built LXD by @stgraber in https://github.com/lxc/lxd/pull/10215
- lxd/instance/qemu: Avoid conflicting vsock IDs by @stgraber in https://github.com/lxc/lxd/pull/10216
- Implement HEAD in file API by @stgraber in https://github.com/lxc/lxd/pull/10218
- Storage: VM copy dir driver peformance improvements by @tomponline in https://github.com/lxc/lxd/pull/10217
- Error improvements by @tomponline in https://github.com/lxc/lxd/pull/10220
- test: drop dependency on uuidgen by @simondeziel in https://github.com/lxc/lxd/pull/10226
- Add global config option instances.nic.host_name by @presztak in https://github.com/lxc/lxd/pull/10212
- lxc/instance/drivers: Do not update root device pool by @monstermunchkin in https://github.com/lxc/lxd/pull/10224
- Improve PTY error and prevent volatile key deletion by @stgraber in https://github.com/lxc/lxd/pull/10229
- Fix format string expansion in devlxd by @stgraber in https://github.com/lxc/lxd/pull/10232
- lxd/util: Extend tests for CanonicalNetworkAddress by @stgraber in https://github.com/lxc/lxd/pull/10230
- Set msize for 9p mounts by @stgraber in https://github.com/lxc/lxd/pull/10228
- Replace
forkuserns
with Go's native uid/gid map by @stgraber in https://github.com/lxc/lxd/pull/10227 - doc: make it explicit that automake is needed to build LXD by @simondeziel in https://github.com/lxc/lxd/pull/10235
- lxd/main_init_interactive: Mention port by @stgraber in https://github.com/lxc/lxd/pull/10237
- tests: Add test for instances.nic.host_name by @stgraber in https://github.com/lxc/lxd/pull/10239
- lxd/storage/drivers/zfs: Use -w flag with
zfs send
if possible by @monstermunchkin in https://github.com/lxc/lxd/pull/10240 - Comment updates for upcoming godoc/gofmt changes by @stgraber in https://github.com/lxc/lxd/pull/10241
- Re-enable some clustering unit tests by @stgraber in https://github.com/lxc/lxd/pull/10243
- lxd/storage/drivers/zfs: send -w is possible since 0.8.0 by @simondeziel in https://github.com/lxc/lxd/pull/10248
- Migration: Improve errors returned when failing to read control message by @tomponline in https://github.com/lxc/lxd/pull/10245
- lxd: Switch to using api.StatusErrorCheck where appropriate by @tomponline in https://github.com/lxc/lxd/pull/10247
- VM: Look for QEMU helpers in /usr/libexec/ by @tomponline in https://github.com/lxc/lxd/pull/10246
- LXD: Updates ConnectIfInstanceIsRemote to return client preconfigured with instance's project by @tomponline in https://github.com/lxc/lxd/pull/10244
- lxd-agent: Fix trans= handling by @stgraber in https://github.com/lxc/lxd/pull/10252
- Show instance driver startup errors by @stgraber in https://github.com/lxc/lxd/pull/10242
- lxd/device: Increase device name length restriction to 64 chars by @stgraber in https://github.com/lxc/lxd/pull/10251
- Fix user triggered restart of ephemeral instances by @stgraber in https://github.com/lxc/lxd/pull/10254
- VM: Use qemu-img convert rather than qemu-img dd and use direct I/O where possible by @tomponline in https://github.com/lxc/lxd/pull/10249
- Bugfixes by @stgraber in https://github.com/lxc/lxd/pull/10257
- client: Add GetMetrics by @stgraber in https://github.com/lxc/lxd/pull/10256
- Cluster: Allow member join when a project has
restricted.networks.subnets
by @tomponline in https://github.com/lxc/lxd/pull/10259 - Database Refactor: Remove UsedBy/Config from Projects by @masnax in https://github.com/lxc/lxd/pull/10225
- VM: Fix stateful snapshot with QEMU >= 6.2 by @tomponline in https://github.com/lxc/lxd/pull/10262
- Switch QEMU text console to socket by @stgraber in https://github.com/lxc/lxd/pull/10264
- lxd/apparmor: Treat ramfs the same as tmpfs by @simondeziel in https://github.com/lxc/lxd/pull/10268
- Network: Mark
sriov
network as available on successful start by @tomponline in https://github.com/lxc/lxd/pull/10273 - LXD: Ensure that encoded URL segment variables are not considered for route matching by @tomponline in https://github.com/lxc/lxd/pull/10276
- VM: Only attempt to open NVRAM file on UEFI architectures by @tomponline in https://github.com/lxc/lxd/pull/10277
- Cluster: Separate, smaller timeout for client leader request by @MathieuBordere in https://github.com/lxc/lxd/pull/10284
- Instance: Ensure that devices are added and removed in the correct order by @tomponline in https://github.com/lxc/lxd/pull/10285
- lxd/storage/drivers/zfs: Fix optimized refresh in migration by @monstermunchkin in https://github.com/lxc/lxd/pull/10234
- Network: Improve network zone name validation by @tomponline in https://github.com/lxc/lxd/pull/10280
- Add a --profile option to lxc image copy by @presztak in https://github.com/lxc/lxd/pull/10269
- Storage: Attempt to unmount volume if even mount task fails by @tomponline in https://github.com/lxc/lxd/pull/10289
- Lower log level of "Detected poll(POLLNVAL) event" message by @simondeziel in https://github.com/lxc/lxd/pull/10292
- Fix cluster join cert name issue by @stgraber in https://github.com/lxc/lxd/pull/10290
- test: restore "set -x" at the end of respawn_lxd() by @simondeziel in https://github.com/lxc/lxd/pull/10295
- test: avoid unbound var if cleanup() is called early on by @simondeziel in https://github.com/lxc/lxd/pull/10297
- lxd/instance/qemu: Don't timeout during migration by @stgraber in https://github.com/lxc/lxd/pull/10294
- lxc/utils: Fix bad error string by @stgraber in https://github.com/lxc/lxd/pull/10293
- lxd/sys: Fix vsockID detection by @stgraber in https://github.com/lxc/lxd/pull/10301
- Storage: Fix restoring non-thin LVM block volumes by @tomponline in https://github.com/lxc/lxd/pull/10299
- lxd/storage: Allow parallel writes in qemu-img by @stgraber in https://github.com/lxc/lxd/pull/10303
- Improve ceph.conf parser by @stgraber in https://github.com/lxc/lxd/pull/10304
- Database: Package-based Tx functions and unified DB by @masnax in https://github.com/lxc/lxd/pull/10296
- LXD: Removes TransactionCTX function and updates Transaction function to accept context by @tomponline in https://github.com/lxc/lxd/pull/10305
- Sql dump schema table by @markylaing in https://github.com/lxc/lxd/pull/10298
- Recursive rlock shutdown by @MathieuBordere in https://github.com/lxc/lxd/pull/10306
- Sql dump all entities by @markylaing in https://github.com/lxc/lxd/pull/10310
- Cosmetic fixes for test by @simondeziel in https://github.com/lxc/lxd/pull/10311
- ...
LXD 5.0.0
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-0-lts-has-been-released/13723
What's Changed
- fix typo by @tenforward in https://github.com/lxc/lxd/pull/10032
- Update description in lxc file mount by @tenforward in https://github.com/lxc/lxd/pull/10033
- sphinx: Don't pin dependencies by @stgraber in https://github.com/lxc/lxd/pull/10035
- lxd: Warn if exec control connection disconnects prematurely by @tomponline in https://github.com/lxc/lxd/pull/10037
- 'lxc storage volume info' returns empty 'EXPIRES AT' values by @presztak in https://github.com/lxc/lxd/pull/10038
- Cluster: Fix hang during cluster upgrade due to missing event websocket handshake timeout by @tomponline in https://github.com/lxc/lxd/pull/10040
- Prevent concurent snapshot and snapshot expiry for a volume by @presztak in https://github.com/lxc/lxd/pull/9992
- Fix SFTP API issues by @stgraber in https://github.com/lxc/lxd/pull/10042
- Client: Simplify setting request headers from client settings by @tomponline in https://github.com/lxc/lxd/pull/10043
- Client: Replace httpHost with httpBaseURL to better indicate what it represents by @tomponline in https://github.com/lxc/lxd/pull/10044
- test: Fix container devices nic bridged filtering tests on recent versions of nftables by @tomponline in https://github.com/lxc/lxd/pull/10045
- client: Avoid connecting twice in rawSFTPConn by @tomponline in https://github.com/lxc/lxd/pull/10046
- lxd: Minor improvements to naming, errors and comments related to auto snapshot pruning by @tomponline in https://github.com/lxc/lxd/pull/10047
- Instance: Create log directory if needed before starting forkfile by @tomponline in https://github.com/lxc/lxd/pull/10048
- Cluster: Improve logging in triggerUpdate by @tomponline in https://github.com/lxc/lxd/pull/10049
- Extend
lxc network info
by @stgraber in https://github.com/lxc/lxd/pull/10050 - Tests: Add function to wait for duplicate address detection by @markylaing in https://github.com/lxc/lxd/pull/10054
- doc: restrict docutils version to fix parsing of notes by @ru-fu in https://github.com/lxc/lxd/pull/10055
- lxc/file: Use random auth creds if no-auth and auth-user flags not specified by @tomponline in https://github.com/lxc/lxd/pull/10051
- BGP fixes by @stgraber in https://github.com/lxc/lxd/pull/10058
- Youtube links by @ru-fu in https://github.com/lxc/lxd/pull/10059
- VM: Only enable io_uring support on kernels >= 5.13.0 by @tomponline in https://github.com/lxc/lxd/pull/10064
- lxd/cgroup/abstractions: Wrap parse errors to give context of problematic value by @tomponline in https://github.com/lxc/lxd/pull/10065
- Storage: Prevent white space in storage pool names by @tomponline in https://github.com/lxc/lxd/pull/10066
- Youtube links by @ru-fu in https://github.com/lxc/lxd/pull/10067
- lxd/instance/lxc: Handle long forkfile socket paths by @stgraber in https://github.com/lxc/lxd/pull/10070
- lxd/cluster: Don't mask lack of cluster response by @stgraber in https://github.com/lxc/lxd/pull/10071
- HTTP: Ensure Connection: Upgrade header is returned when LXD upgrades a connection by @tomponline in https://github.com/lxc/lxd/pull/10076
- Allow ipv{4,6} routes when using bridged security.ipv{4,6}_filtering by @markylaing in https://github.com/lxc/lxd/pull/9953
- Device: Adds concept of a pre-start check to devices and pushes storage pool availability check into disk device by @tomponline in https://github.com/lxc/lxd/pull/10082
- Add --target-project to lxc image copy by @presztak in https://github.com/lxc/lxd/pull/10068
- UUID based cloud-init instance-id by @stgraber in https://github.com/lxc/lxd/pull/10069
- LXD: Switch to transitional IsNotFoundError() helper function by @tomponline in https://github.com/lxc/lxd/pull/10086
- Instance: Run all device pre-start checks before starting any device by @tomponline in https://github.com/lxc/lxd/pull/10072
- lxc/utils/table: add compact table by @745150400 in https://github.com/lxc/lxd/pull/10084
- shared/util/linux: only complain on xattr size increase by @adilger in https://github.com/lxc/lxd/pull/10090
- Network: Degraded startup by @tomponline in https://github.com/lxc/lxd/pull/10056
- Storage: Replaces bespoke revert with revert package by @tomponline in https://github.com/lxc/lxd/pull/10093
- Discourse links clean by @ru-fu in https://github.com/lxc/lxd/pull/10074
- Storage: Add and use VolumeDBDelete helper function by @tomponline in https://github.com/lxc/lxd/pull/10096
- LXD: Allow disabling shiftfs independently of idmapped mount support by @tomponline in https://github.com/lxc/lxd/pull/10095
- lxd-agent: cleaner shutdown sequence by @simondeziel in https://github.com/lxc/lxd/pull/10098
- lxd/network/ovn: Don't use HostPathFollow on OVN configs by @stgraber in https://github.com/lxc/lxd/pull/10097
- Network: Don't keep trying to start removed degraded networks by @tomponline in https://github.com/lxc/lxd/pull/10100
- Storage: Update GetPoolByInstance to use instance's StoragePool() function by @tomponline in https://github.com/lxc/lxd/pull/10099
- Various small fixes by @stgraber in https://github.com/lxc/lxd/pull/10106
- grafana: Add missing datasource field by @stgraber in https://github.com/lxc/lxd/pull/10104
- Related links by @ru-fu in https://github.com/lxc/lxd/pull/10108
- Storage: Update VolumeDBSnapshotsGet for consistency with other functions by @tomponline in https://github.com/lxc/lxd/pull/10110
- lxd/instance/qemu: Fix regression in cdrom handling by @stgraber in https://github.com/lxc/lxd/pull/10112
- Use allow inconsistent for cluster migrations by @markylaing in https://github.com/lxc/lxd/pull/10094
- Disk hotplug for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/10020
- Storage: Simplify instance root disk volume config by @tomponline in https://github.com/lxc/lxd/pull/10115
- doc/authentication: mention ECDSA keys as recommend by @simondeziel in https://github.com/lxc/lxd/pull/10126
- Operations: Clean up operations on LXD shutdown by @tomponline in https://github.com/lxc/lxd/pull/10123
- lxd/instance/drivers/qemu: Fix block devices by @monstermunchkin in https://github.com/lxc/lxd/pull/10127
- lxd/images: Remove old db entry after image refresh by @monstermunchkin in https://github.com/lxc/lxd/pull/10121
- Update TLS 1.2 ciphersuites by @simondeziel in https://github.com/lxc/lxd/pull/10128
- Update dependencies ahead of LXD 5.0 by @stgraber in https://github.com/lxc/lxd/pull/10131
- Fix help message on
lxc export
by @stgraber in https://github.com/lxc/lxd/pull/10134 - Storage: Manage instance storage volume database records in storage package by @tomponline in https://github.com/lxc/lxd/pull/10109
- Revert "lxd-agent: cleaner shutdown sequence" by @stgraber in https://github.com/lxc/lxd/pull/10135
- Introduce OVN chassis role by @stgraber in https://github.com/lxc/lxd/pull/10119
- shared: Adds generic HasKey by @tomponline in https://github.com/lxc/lxd/pull/10125
- Make it easier to script token add by @stgraber in https://github.com/lxc/lxd/pull/10138
- Client: Fix incorrect interpolation of % characters in errors by @tomponline in https://github.com/lxc/lxd/pull/10144
- Image: Fix image refresh record management by @tomponline in https://github.com/lxc/lxd/pull/10136
- shared/network: require TLS 1.2+ if LXD_INSECURE_TLS by @simondeziel in https://github.com/lxc/lxd/pull/10147
- Image: Fix refresh tests by @tomponline in https://github.com/lxc/lxd/pull/10148
- Storage: Align load functions with network package by @tomponline in https://github.com/lxc/lxd/pull/10146
- Network zones documentation by @ru-fu in https://github.com/lxc/lxd/pull/10107
- Support USB hotplugging by @monstermunchkin in https://github.com/lxc/lxd/pull/10075
- lxd: Drop devPaths logic by @monstermunchkin in https://github.com/lxc/lxd/pull/10155
- Remove old operations of offline cluster members by @monstermunchkin in https://github.com/lxc/lxd/pull/10145
- doc: add link to multi-user video by @ru-fu in https://github.com/lxc/lxd/pull/10157
- Replace interface{} with any by @tomponline in https://github.com/lxc/lxd/pull/10151
- Add syscall interception for sched_setscheduler by @stgraber in https://github.com/lxc/lxd/pull/10143
- Optimized refresh by @monstermunchkin in https://github.com/lxc/lxd/pull/9880
- Remove pre LXD 4.0.0 patches by @tomponline in https://github.com/lxc/lxd/pull/10158
- Storage: Add option to specify LVM thinpool metadata size and default to automatic sizing by @tomponline in https://github.com/lxc/lxd/pull/10152
- Replace log15 with logrus by @stgraber in https://github.com/lxc/lxd/pull/10160
- lxd: make sure we're operating relative to the correct pid namespace by @brauner in https://github.com/lxc/lxd/pull/10161
- client: add function useCurrentServer instead of "r == source" by @745150400 in https://github.com/lxc/lxd/pull/10156
- Various fixes by @stgraber in https://github.com/lxc/lxd/pull/10163
- Remove pre LXD 4.0.0 schema patches by @tomponline in https://github.com/lxc/lxd/pull/10159
- Pre-5.0 fixes by @stgraber in https://github.com/lxc/lxd/pull/10165
New Contributors
- @adilger made their first contribution in https://github.com/lxc/lxd/pull/10090
Full Changelog: lxc/incus@lxd-4.24...lxd-5.0.0
LXD 4.24
Announcement
https://discuss.linuxcontainers.org/t/lxd-4-24-has-been-released/13550
What's Changed
- lxd-agent: Fix bad copy/paste by @stgraber in https://github.com/lxc/lxd/pull/9898
- lxd/daemon: Fix http response error typos by @masnax in https://github.com/lxc/lxd/pull/9899
- Daemon: Add the trusted cluster member fingerprint to the request context username field by @tomponline in https://github.com/lxc/lxd/pull/9901
- lxd-migrate: Support certificate tokens by @monstermunchkin in https://github.com/lxc/lxd/pull/9900
- Events: Replaces isLocal concept with event source by @tomponline in https://github.com/lxc/lxd/pull/9902
- Events: Replaces listener level server location with server level location by @tomponline in https://github.com/lxc/lxd/pull/9903
- go.mod: bump github.com/mdlayher/[email protected] by @mdlayher in https://github.com/lxc/lxd/pull/9907
- lxd/main_init_interactive: Add missing : by @stgraber in https://github.com/lxc/lxd/pull/9911
- lxc/console: Don't crash on manual disconnect by @stgraber in https://github.com/lxc/lxd/pull/9912
- doc/metrics: stop tuning job's scrape_interval now that results are c… by @simondeziel in https://github.com/lxc/lxd/pull/9913
- doc/metrics: don't assume any default scrape_interval value by @simondeziel in https://github.com/lxc/lxd/pull/9914
- Rework FileResponse by @stgraber in https://github.com/lxc/lxd/pull/9915
- lxd/response: Rename FileModify to FileModified by @stgraber in https://github.com/lxc/lxd/pull/9916
- lxd/fsmonitor/drivers: Ignore stale file handle errors. by @markylaing in https://github.com/lxc/lxd/pull/9917
- Remove state.State dependency from apparmor package by @presztak in https://github.com/lxc/lxd/pull/9920
- Cluster: Heartbeat improvements by @tomponline in https://github.com/lxc/lxd/pull/9924
- lxc/config_trust: Support --name flag for tokens by @monstermunchkin in https://github.com/lxc/lxd/pull/9927
- test: Update clustering membership tests to not expect a specific promotion order of members by @tomponline in https://github.com/lxc/lxd/pull/9929
- Client: Context improvements by @tomponline in https://github.com/lxc/lxd/pull/9928
- Storage: Set all ZFS dataset mountpoint settings to legacy by @tomponline in https://github.com/lxc/lxd/pull/9922
- Fix message typo: entriess to entries, doest to does by @hnakamur in https://github.com/lxc/lxd/pull/9933
- test: Update cluster rebalance tests to not use member specific role logic by @tomponline in https://github.com/lxc/lxd/pull/9934
- shared/api/url: Add WithQuery by @masnax in https://github.com/lxc/lxd/pull/9930
- Cluster: Heartbeat improvement by @tomponline in https://github.com/lxc/lxd/pull/9935
- lxc/cluster_group: Update long descriptions by @monstermunchkin in https://github.com/lxc/lxd/pull/9939
- lxd/cgroup: Fix bad cpuset check by @stgraber in https://github.com/lxc/lxd/pull/9938
- lxd/certificates: Fix token generation over HTTPS by @stgraber in https://github.com/lxc/lxd/pull/9937
- Improve
lxc query
support for metrics by @stgraber in https://github.com/lxc/lxd/pull/9936 - doc/metrics: use secp384r1 curve with SHA384 signature by @simondeziel in https://github.com/lxc/lxd/pull/9943
- NIC: Various routed fixes and improvements by @tomponline in https://github.com/lxc/lxd/pull/9942
- NIC: Don't attempt to clear bridged filter rules on stop if filtering is not enabled by @tomponline in https://github.com/lxc/lxd/pull/9945
- NIC: Adds ipv{n}.neighbor_probe settings to routed NIC by @tomponline in https://github.com/lxc/lxd/pull/9944
- lxd/instance/qemu: Allow live update of cluster.evacuate by @stgraber in https://github.com/lxc/lxd/pull/9947
- lxd/certificates: Better handle authentication by @stgraber in https://github.com/lxc/lxd/pull/9948
- Events: Add event-hub cluster member role by @tomponline in https://github.com/lxc/lxd/pull/9639
- Restrict device names by @markylaing in https://github.com/lxc/lxd/pull/9946
- Replace
forkfile
with Go implementation using SFTP by @stgraber in https://github.com/lxc/lxd/pull/9931 - Add filesystem.Syncfs by @stgraber in https://github.com/lxc/lxd/pull/9955
- Refresh instance allow inconsistent by @markylaing in https://github.com/lxc/lxd/pull/9954
- Shared: Adds IsTrueOrEmpty and IsFalseOrEmpty by @tomponline in https://github.com/lxc/lxd/pull/9949
- lxd/db/generate: Fix bad loop logic by @stgraber in https://github.com/lxc/lxd/pull/9956
- lxd/instance/lxc: Use contextual logger in Metrics by @stgraber in https://github.com/lxc/lxd/pull/9958
- doc: add Open Graph metadata by @ru-fu in https://github.com/lxc/lxd/pull/9959
- Device: Name validation improvements by @tomponline in https://github.com/lxc/lxd/pull/9960
- doc: fix Open Graph version by @ru-fu in https://github.com/lxc/lxd/pull/9961
- Warnings: Fix logic bug in matching entityID in resolve and delete warning functions by @tomponline in https://github.com/lxc/lxd/pull/9963
- Network: Fix DHCP static allocation bug by @tomponline in https://github.com/lxc/lxd/pull/9962
- Adds lxd-agent option to apply name and MTU to nic devices by @markylaing in https://github.com/lxc/lxd/pull/9893
- Add Context option to some DB actions. by @masnax in https://github.com/lxc/lxd/pull/9957
- doc: fix the footer by @ru-fu in https://github.com/lxc/lxd/pull/9966
- doc: Fix cert pathing in metrics.md by @vosdev in https://github.com/lxc/lxd/pull/9968
- VM: Bug fixes and improvements to the lxd-agent NIC settings feature by @tomponline in https://github.com/lxc/lxd/pull/9967
- Harden calls to image unpackers by @presztak in https://github.com/lxc/lxd/pull/9906
- lxd/util/sys: Pass liblxc version to RuntimeLiblxcVersionAtLeast by @masnax in https://github.com/lxc/lxd/pull/9969
- Detect and use io_uring for VMs by @stgraber in https://github.com/lxc/lxd/pull/9973
- Warnings: Use DB generator for warnings functions by @tomponline in https://github.com/lxc/lxd/pull/9970
- Image: Fix regressions in image unpack by @tomponline in https://github.com/lxc/lxd/pull/9975
- VM: Fix VM support detection regression by @tomponline in https://github.com/lxc/lxd/pull/9976
- lxd/apparmor: Allow rw remount of /run by @stgraber in https://github.com/lxc/lxd/pull/9981
- Disable io_uring on loop pools by @stgraber in https://github.com/lxc/lxd/pull/9979
- Add the Grafana dashboard (15726) by @simondeziel in https://github.com/lxc/lxd/pull/9982
- Shared: Adds tcp package for setting timeouts on TCP connections by @tomponline in https://github.com/lxc/lxd/pull/9983
- Fix bad help message on storage volume list by @stgraber in https://github.com/lxc/lxd/pull/9984
- Storage: Degraded startup support for storage-pools by @tomponline in https://github.com/lxc/lxd/pull/9951
- Warnings: Fix warnings removal on network delete by @tomponline in https://github.com/lxc/lxd/pull/9988
- lxd/bgp: Fix RemovePrefixByOwner when multiple matches by @stgraber in https://github.com/lxc/lxd/pull/9990
- Network: Don't refresh BGP prefixes during forward update by @tomponline in https://github.com/lxc/lxd/pull/9989
- shared: Update ExtractConn to detect net.TCPConn by @tomponline in https://github.com/lxc/lxd/pull/9986
- Wrap errors correctly and drop github.com/pkg/errors by @monstermunchkin in https://github.com/lxc/lxd/pull/9987
- Instance: Add mount support via SFTP by @tomponline in https://github.com/lxc/lxd/pull/9985
- VM: Disable io_uring support on loop backed pools by @tomponline in https://github.com/lxc/lxd/pull/9991
- Improve network ACLs documentation by @ru-fu in https://github.com/lxc/lxd/pull/9993
- Improve network forwards documentation by @ru-fu in https://github.com/lxc/lxd/pull/9995
- VM: Improve secureboot needs to be disabled error by @tomponline in https://github.com/lxc/lxd/pull/9999
- Device: Detect disk pool VM mount options using single call to os.Stat by @tomponline in https://github.com/lxc/lxd/pull/10001
- Network: Update OVN LogicalRouterRoutes to support recent versions of ovn by @tomponline in https://github.com/lxc/lxd/pull/10002
- seccomp: pass a PID FD to process_still_alive by @lephilousophe in https://github.com/lxc/lxd/pull/10003
- Storage: Try auto starting instances when storage pools become available by @tomponline in https://github.com/lxc/lxd/pull/9994
- lxc/file: Adds support for setting up local SFTP server for mount command by @tomponline in https://github.com/lxc/lxd/pull/9998
- Add
restricted.containers.interception
to projects by @stgraber in https://github.com/lxc/lxd/pull/10008 - lxd/instance/qemu: Switch TPM mode to CRB by @stgraber in https://github.com/lxc/lxd/pull/10006
- lxd/apparmor/archive: Expand all paths by @stgraber in https://github.com/lxc/lxd/pull/10004
- Improve
lxc storage volume info
by @stgraber in https://github.com/lxc/lxd/pull/10007 - Allow unauthenticated metrics by @stgraber in https://github.com/lxc/lxd/pull/10005
- Device: Fix regression for VM disk shares by @tomponline in https://github.com/lxc/lxd/pull/10010
- LXD: Disable idmapped mounts if LXD_SHIFTFS_DISABLE=true by @tomponline in https://github.com/lxc/lxd/pull/10012
- Fix live-migration of VMs and quiesce apparmor when using a LXD binary symlink by @stgraber in https://github.com/lxc/lxd/pull/10014
- Fix disk usage in Grafana dashboard by @simondeziel in https://github.com/lxc/lxd/pull/10015
- lxd/apparmor: Handle missing paths by @stgraber in https://github.com/lxc/lxd/pull/10017
- Export sorting helpers. by @masnax in https://github.com/lxc/lxd/pull/10016
- Add last-modified to file API by @stgraber in https://github.com/lxc/lxd/pull/10018
- lxd/instance/qemu: Set spawn=allow by @stgraber in https://github.com/lxc/lxd/pull/10019
- Warnings: Use WarningExists from DB generator by @tomponline in https://github.com/lxc/lxd/pull/10023
- lxc/file: Adds --listen flag to mount command by @tomponline in https://github.com/lxc/lxd/pull/10021
- lxd: Adds IdmappedMounts field to OS struct by @tomponline...