Releases: canonical/lxd
Releases · canonical/lxd
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...
LXD 4.23
Announcement
https://discuss.linuxcontainers.org/t/lxd-4-23-has-been-released/13359
What's Changed
- Take extra precautions when calling tar by @simondeziel in https://github.com/lxc/lxd/pull/9791
- doc: Adds note about newuidmap to machine setup. by @markylaing in https://github.com/lxc/lxd/pull/9793
- test: Fixes number of expected NAT rules when using xtables driver. by @markylaing in https://github.com/lxc/lxd/pull/9796
- lxd/projects: Use expanded devices/config when checking for limits by @stgraber in https://github.com/lxc/lxd/pull/9794
- Bug static ip on multiple bridged nics by @markylaing in https://github.com/lxc/lxd/pull/9790
- test: Ensure ebtables is legacy when driver is xtables. by @markylaing in https://github.com/lxc/lxd/pull/9795
- lxc/config/file: allow overriding default remote by env variable by @morphis in https://github.com/lxc/lxd/pull/9792
- Introduce GetInstanceFull by @stgraber in https://github.com/lxc/lxd/pull/9799
- Support context.Context in client by @whywaita in https://github.com/lxc/lxd/pull/9785
- Fix live-migrate during evacuation and restore by @stgraber in https://github.com/lxc/lxd/pull/9801
- lxd: Refresh all dnsmasq hosts during patch. by @markylaing in https://github.com/lxc/lxd/pull/9802
- lxd/instance/drivers: Performs disk size check on stateful startup. by @markylaing in https://github.com/lxc/lxd/pull/9797
- Security docs by @ru-fu in https://github.com/lxc/lxd/pull/9787
- doc: fix loading of substitutions by @ru-fu in https://github.com/lxc/lxd/pull/9805
- Growing a loop backed btrfs pool new note by @carlosduelo in https://github.com/lxc/lxd/pull/9804
- doc: use absolute URL for Swagger by @ru-fu in https://github.com/lxc/lxd/pull/9803
- Fix regression in volume snapshot sequence by @stgraber in https://github.com/lxc/lxd/pull/9807
- Root folder files by @ru-fu in https://github.com/lxc/lxd/pull/9808
- doc: fix broken links by @ru-fu in https://github.com/lxc/lxd/pull/9811
- Enable VLAN ranges in vlan.tagged by @zakufish in https://github.com/lxc/lxd/pull/9580
- Adds State function to network interface by @markylaing in https://github.com/lxc/lxd/pull/9817
- Align ParseNetworkVLANRange with ParseUint32Range by @stgraber in https://github.com/lxc/lxd/pull/9819
- Fix typos in network zone API/client by @stgraber in https://github.com/lxc/lxd/pull/9821
- lxd/storage/btrfs: Add volume delete shortcut by @stgraber in https://github.com/lxc/lxd/pull/9820
- doc: enable automatically generated anchors by @ru-fu in https://github.com/lxc/lxd/pull/9822
- lxd/db: Fix storage_volumes sequence again by @stgraber in https://github.com/lxc/lxd/pull/9823
- lxd: Use projectParam function in networkStateGet. by @markylaing in https://github.com/lxc/lxd/pull/9824
- Report ovn network state by @markylaing in https://github.com/lxc/lxd/pull/9813
- Port lxd/network to using fmt.Errorf instead of errors.Wrapf by @stgraber in https://github.com/lxc/lxd/pull/9825
- lxd/instance/lxc: Use absolute rootfs by @stgraber in https://github.com/lxc/lxd/pull/9826
- Implement server-side API filtering for storage volumes by @presztak in https://github.com/lxc/lxd/pull/9812
- doc: kernel 5.15+ have sane value for net.core.bpf_jit_limit by @simondeziel in https://github.com/lxc/lxd/pull/9828
- Addition of image requirements metadata by @cavcrosby in https://github.com/lxc/lxd/pull/9827
- Add option to not export ZFS pool on shutdown by @presztak in https://github.com/lxc/lxd/pull/9829
- lxd/instance/qemu: Enable HyperV flags on x86_64 by @stgraber in https://github.com/lxc/lxd/pull/9832
- Fix test failures on recent kernels by @stgraber in https://github.com/lxc/lxd/pull/9835
- lxd-agent: Fix bad network metric by @stgraber in https://github.com/lxc/lxd/pull/9836
- Exportable TLS Authentication. by @masnax in https://github.com/lxc/lxd/pull/9837
- Fix recent regressions (qemu & db) by @stgraber in https://github.com/lxc/lxd/pull/9841
- Support for custom DNS records by @stgraber in https://github.com/lxc/lxd/pull/9840
- ZFS reservation by @weastur in https://github.com/lxc/lxd/pull/9834
- lxd: Only patch dnsmasq for networks in the db. by @markylaing in https://github.com/lxc/lxd/pull/9844
- Add doc readme by @ru-fu in https://github.com/lxc/lxd/pull/9843
- Instance migration consistency by @markylaing in https://github.com/lxc/lxd/pull/9833
lxc exec
fixes by @stgraber in https://github.com/lxc/lxd/pull/9845- lxd/storage/drivers: Fixes reverter usage. by @markylaing in https://github.com/lxc/lxd/pull/9847
- Fix forkdns issues by @stgraber in https://github.com/lxc/lxd/pull/9849
- Add ability to retrieve ACL logs (OVN) by @stgraber in https://github.com/lxc/lxd/pull/9850
- Option to configure the ZFS block size on volumes by @presztak in https://github.com/lxc/lxd/pull/9848
- doc: quick cleanup of FAQ by @ru-fu in https://github.com/lxc/lxd/pull/9857
- Fix bad CPU metrics by @stgraber in https://github.com/lxc/lxd/pull/9859
- lxd/db: Refactor storage pool used by to get info on all nodes. by @markylaing in https://github.com/lxc/lxd/pull/9858
- Clarify multiple gpu device passthrough by @markylaing in https://github.com/lxc/lxd/pull/9864
- Improve doc/metrics by @simondeziel in https://github.com/lxc/lxd/pull/9865
- Discard TLS errors caused by early connect termination for trusted proxies. by @markylaing in https://github.com/lxc/lxd/pull/9860
- Varied small fixes by @stgraber in https://github.com/lxc/lxd/pull/9866
- go.mod: use github.com/mdlayher/[email protected] by @mdlayher in https://github.com/lxc/lxd/pull/9869
- lxd/instance/metrics: Fix incorrect memory metrics by @stgraber in https://github.com/lxc/lxd/pull/9870
- Micro optimizations for metrics by @simondeziel in https://github.com/lxc/lxd/pull/9871
- Generator: Add 'order' tag to generator by @masnax in https://github.com/lxc/lxd/pull/9872
- More metrics fixes by @stgraber in https://github.com/lxc/lxd/pull/9874
- Add
@never
cron pattern by @stgraber in https://github.com/lxc/lxd/pull/9873 - Exec: Add channel closed check before writing in ExecReaderToChannel by @tomponline in https://github.com/lxc/lxd/pull/9877
- doc/instances: Fix bridged NIC ipv{n}.address docs indicating none is valid value by @tomponline in https://github.com/lxc/lxd/pull/9879
- NIC: Don't attempt to configure IPv6 reverse path filter on routed NIC if IPv6 not enabled by @tomponline in https://github.com/lxc/lxd/pull/9876
- lxd/metrics: add EOL marker by @simondeziel in https://github.com/lxc/lxd/pull/9882
- Rework metrics caching and filtering by @stgraber in https://github.com/lxc/lxd/pull/9883
- Varied fixes (console, certificate, trust store) by @stgraber in https://github.com/lxc/lxd/pull/9884
- Download doc assets by @ru-fu in https://github.com/lxc/lxd/pull/9886
- Instance: Optimise DB queries during instance creation by @tomponline in https://github.com/lxc/lxd/pull/9887
- Token based remote connection by @monstermunchkin in https://github.com/lxc/lxd/pull/9816
- lxc: Translate all errors by @stgraber in https://github.com/lxc/lxd/pull/9889
- doc: fix path to image in the header by @ru-fu in https://github.com/lxc/lxd/pull/9890
- lxd/db: Uses api.URL to build used-by urls for storage pools. by @markylaing in https://github.com/lxc/lxd/pull/9888
- Cluster: Fix non-leader transaction errors when leader shuts down cleanly by @tomponline in https://github.com/lxc/lxd/pull/9891
- Assorted fixes ahead of 4.23 by @stgraber in https://github.com/lxc/lxd/pull/9895
- lxc/console: Rework concurency model for vga by @stgraber in https://github.com/lxc/lxd/pull/9896
- github: Update for current min Go version (1.16) by @stgraber in https://github.com/lxc/lxd/pull/9897
- VM: Check lxd-agent is running (via QEMU status ringbuffer) before attempting to connect by @tomponline in https://github.com/lxc/lxd/pull/9894
- Unified migration tool lxd-migrate by @monstermunchkin in https://github.com/lxc/lxd/pull/9784
New Contributors
- @whywaita made their first contribution in https://github.com/lxc/lxd/pull/9785
- @carlosduelo made their first contribution in https://github.com/lxc/lxd/pull/9804
- @weastur made their first contribution in https://github.com/lxc/lxd/pull/9834
Full Changelog: lxc/incus@lxd-4.22...lxd-4.23
LXD 4.0.9
LXD 4.22
Announcement
https://discuss.linuxcontainers.org/t/lxd-4-22-has-been-released/13137
What's Changed
- tests: Bump pg_num to 16 by @stgraber in https://github.com/lxc/lxd/pull/9661
- test: Add 1s between running non-interactive exec and checking for exit status in operation by @tomponline in https://github.com/lxc/lxd/pull/9668
- Events: Make Connect use an event driven wait approach for waiting until the event stream is connected by @tomponline in https://github.com/lxc/lxd/pull/9663
- Cluster: Move notifyNodesUpdate call out of transaction in Join by @tomponline in https://github.com/lxc/lxd/pull/9670
- lxc/list: Better handle --all-projects by @stgraber in https://github.com/lxc/lxd/pull/9672
- Fix incorrect type of ceph.rbd.clone_copy in docs by @liamnickell in https://github.com/lxc/lxd/pull/9676
- lxd/cluster: Update not clustered error by @stgraber in https://github.com/lxc/lxd/pull/9675
- lxd/cluster: Handle lack of available target in evacuation by @stgraber in https://github.com/lxc/lxd/pull/9677
- fuidshift: Remove accidental binary build by @stgraber in https://github.com/lxc/lxd/pull/9681
- NIC: Enable IP forwarding on routed NIC veth host_name interface by @tomponline in https://github.com/lxc/lxd/pull/9682
- Cluster: Remove panic in UpgradeMembersWithoutRole by @tomponline in https://github.com/lxc/lxd/pull/9683
- gitignore: Ignore potential binaries by @stgraber in https://github.com/lxc/lxd/pull/9685
- lxc/utils: Make byName sort all columns by @stgraber in https://github.com/lxc/lxd/pull/9687
- NIC: Don't depend on existance of dnsmasq.pid file to write static DHCP allocation file by @tomponline in https://github.com/lxc/lxd/pull/9686
- Generator: Use api.NewURL for URL generation by @masnax in https://github.com/lxc/lxd/pull/9618
- Fix cluster group handling on instance creation by @stgraber in https://github.com/lxc/lxd/pull/9689
- lxd/db/instance/profiles: Add missing error to stmt.Exec by @masnax in https://github.com/lxc/lxd/pull/9690
- Cluster: Only take clusterMembershipMutex on leader by @tomponline in https://github.com/lxc/lxd/pull/9691
- doc: use customized Furo theme by @ru-fu in https://github.com/lxc/lxd/pull/9671
- API get Instance with more in-depth information by @presztak in https://github.com/lxc/lxd/pull/9662
- lxd/db/cluster: Removes unused database views. by @markylaing in https://github.com/lxc/lxd/pull/9692
- Cluster: Heartbeat system rework to allow for full-state member change notifications by @tomponline in https://github.com/lxc/lxd/pull/9695
- Add TLS over Unix Socket support by @stgraber in https://github.com/lxc/lxd/pull/9694
- NIC: Don't add auto gateway when IP family not in use by @tomponline in https://github.com/lxc/lxd/pull/9697
- Lxc list wrong project names for same name instances by @markylaing in https://github.com/lxc/lxd/pull/9698
- Disk: Fix support for bind mounting unix sockets as source by opening with O_PATH by @tomponline in https://github.com/lxc/lxd/pull/9700
- lxd: Uses api.NewURL and sets project when querying other nodes. by @markylaing in https://github.com/lxc/lxd/pull/9702
- Cluster: Heartbeat and event tweaks by @tomponline in https://github.com/lxc/lxd/pull/9701
- Clean up index page by @ru-fu in https://github.com/lxc/lxd/pull/9588
- Update to gobgp v3 and drop old protobuf by @stgraber in https://github.com/lxc/lxd/pull/9704
- Agent-less VM metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9669
- Makes description columns non-nullable. by @markylaing in https://github.com/lxc/lxd/pull/9684
- doc: fix link in README by @ru-fu in https://github.com/lxc/lxd/pull/9707
- Cluster: Logging consistency improvements and removes unnecessary call to EventsUpdateListeners by @tomponline in https://github.com/lxc/lxd/pull/9708
- Migration: Enable TCP_USER_TIMEOUT and TCP keep alives on migration connections by @tomponline in https://github.com/lxc/lxd/pull/9710
- lxd/images: Don't cleanup unknown images from shared volume by @stgraber in https://github.com/lxc/lxd/pull/9705
- Cluster: Event listener socket cleanup and logging improvements by @tomponline in https://github.com/lxc/lxd/pull/9715
- Cluster: If heartbeat context is cancelled during spread sleep then exit quicker by @tomponline in https://github.com/lxc/lxd/pull/9714
- Checks that the host node is clustered before editing. by @markylaing in https://github.com/lxc/lxd/pull/9709
- lxc/alias: Allows users to reference specific arguments. by @markylaing in https://github.com/lxc/lxd/pull/9713
- lxd/cluster/recover: Return separate error if no raft role found by @masnax in https://github.com/lxc/lxd/pull/9717
- Update minimum requirements by @stgraber in https://github.com/lxc/lxd/pull/9721
- Fix progress indicator for 'lxc export' by @presztak in https://github.com/lxc/lxd/pull/9720
- Exec: Don't attempt to send signals to VM lxd-agent process if command has finished by @tomponline in https://github.com/lxc/lxd/pull/9735
- daemon: fix feature indentation by @brauner in https://github.com/lxc/lxd/pull/9737
- Add support for UUID selection of NVIDIA MIG devices by @VincentK-Titandc in https://github.com/lxc/lxd/pull/9732
- lxd/instance/drivers: Specify number of USB ports by @monstermunchkin in https://github.com/lxc/lxd/pull/9743
- automatically add labels to PRs that contain doc changes by @ru-fu in https://github.com/lxc/lxd/pull/9742
- Fix broken include by @ru-fu in https://github.com/lxc/lxd/pull/9746
- Exec: Treat websocket control close message the same as a disconnect by @tomponline in https://github.com/lxc/lxd/pull/9750
- doc: improve placement of header by @ru-fu in https://github.com/lxc/lxd/pull/9745
- DB: Handle null ExpiryDate for custom volume snapshots by @tomponline in https://github.com/lxc/lxd/pull/9744
- Fix
lxc storage volume set
on snapshots by @stgraber in https://github.com/lxc/lxd/pull/9751 - lxd/instance: Prevent nvidia.runtime on privileged containers by @stgraber in https://github.com/lxc/lxd/pull/9752
- shared/usbid: Document reasons to fork by @stgraber in https://github.com/lxc/lxd/pull/9753
- Fix overriding public property by auto-update by @presztak in https://github.com/lxc/lxd/pull/9740
- Switch back to upstream log15 by @stgraber in https://github.com/lxc/lxd/pull/9754
- gmod: Updates go-dqlite by @tomponline in https://github.com/lxc/lxd/pull/9756
- Small doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/9759
- Client: Maintain per-project event listeners and connections by @tomponline in https://github.com/lxc/lxd/pull/9760
- Event: Add Project field to Event and rename group concept to projectName by @tomponline in https://github.com/lxc/lxd/pull/9757
- github: Add API label to labeler by @stgraber in https://github.com/lxc/lxd/pull/9762
- FD Leaks by @tomponline in https://github.com/lxc/lxd/pull/9764
- Events: Add support for listener clients to send events back to server by @tomponline in https://github.com/lxc/lxd/pull/9763
- lxd/instance/qemu: Always set memory sharing on memory-backend-file by @stgraber in https://github.com/lxc/lxd/pull/9768
- lxc/exec: Don't send SIGWINCH when non-interactive by @stgraber in https://github.com/lxc/lxd/pull/9771
- fsmonitor: fixes by @brauner in https://github.com/lxc/lxd/pull/9774
- Automatically attempt live migration during evacuation by @liamnickell in https://github.com/lxc/lxd/pull/9673
- Introduce the
lxd-user
daemon by @stgraber in https://github.com/lxc/lxd/pull/9777 - lxd-user: use atomic operations by @brauner in https://github.com/lxc/lxd/pull/9779
- lxd-user: More integration bits by @stgraber in https://github.com/lxc/lxd/pull/9781
- lxd/db/cluster: Fixes v19 migration for sqlite 3.37. by @markylaing in https://github.com/lxc/lxd/pull/9769
- lxd/network: Fixes misspelling of interface. by @markylaing in https://github.com/lxc/lxd/pull/9782
- lxd: ensure file descriptors are closed before starting container by @brauner in https://github.com/lxc/lxd/pull/9778
- Allow inconsistent rsync copies with flag by @markylaing in https://github.com/lxc/lxd/pull/9780
- lxd/storage/ceph: Always pass cluster name and id by @stgraber in https://github.com/lxc/lxd/pull/9786
- doc: only link the Swagger files that we actually need by @ru-fu in https://github.com/lxc/lxd/pull/9788
- lxd/device: Adds arp check for nic routed device. by @markylaing in https://github.com/lxc/lxd/pull/9758
New Contributors
- @VincentK-Titandc made their first contribution in https://github.com/lxc/lxd/pull/9732
Full Changelog: lxc/incus@lxd-4.21...lxd-4.22
LXD 4.21
Announcement
https://discuss.linuxcontainers.org/t/lxd-4-21-has-been-released/12860
What's Changed
- DB: Support go-dqlite v1.10.1 NULLable fields using sql.NullTime by @tomponline in https://github.com/lxc/lxd/pull/9485
- Cluster: Fix self-removal of non-leader member from cluster by @tomponline in https://github.com/lxc/lxd/pull/9483
- API: Prevent update of cluster.https_address in doApi10Update by @tomponline in https://github.com/lxc/lxd/pull/9487
- Operations: Don't duplicate local operations in operationsGet when running in single member cluster by @tomponline in https://github.com/lxc/lxd/pull/9486
- Cluster: Join leader address validation improvements by @tomponline in https://github.com/lxc/lxd/pull/9488
- Doc: fix typo for hardware offload by @hnakamur in https://github.com/lxc/lxd/pull/9490
- Doc: fix remove non-existent anchor in link to network-peers.md by @hnakamur in https://github.com/lxc/lxd/pull/9491
- lxd/instances: Use correct project in live migration by @stgraber in https://github.com/lxc/lxd/pull/9502
- DB: Fix upgrade from LXD 2.0/3.0 when using go-dqlite v1.10.1 NULLable fields by @tomponline in https://github.com/lxc/lxd/pull/9500
- lxd/device: Clean up mdev vGPU on failure by @monstermunchkin in https://github.com/lxc/lxd/pull/9501
- Network: Add support for OVN PTMU discovery for external ingress traffic by @tomponline in https://github.com/lxc/lxd/pull/9503
- VM: fix usb pass-through with more than one device by @zyga in https://github.com/lxc/lxd/pull/9497
- Switch to original go-udev by @stgraber in https://github.com/lxc/lxd/pull/9505
- doc: Elaborate on pongo2 date-time syntax for snapshots by @RKBethke in https://github.com/lxc/lxd/pull/9493
- lxc/list: Changed units to be IEC consistent by @RKBethke in https://github.com/lxc/lxd/pull/9494
- Switch to go-httprequest by @stgraber in https://github.com/lxc/lxd/pull/9507
- DB: Always defer close until after statement has returned to avoid panicking on error by @tomponline in https://github.com/lxc/lxd/pull/9514
- Default profile units by @simondeziel in https://github.com/lxc/lxd/pull/9513
- Migrate: Only use pointers to migration.MigrationControl to avoid shallow copies by @tomponline in https://github.com/lxc/lxd/pull/9512
- Storage: Disk mounting cleanup and improvements by @tomponline in https://github.com/lxc/lxd/pull/9510
- Stricter regexps by @simondeziel in https://github.com/lxc/lxd/pull/9517
- Container: Fix liblxc handle leak in renderState by @tomponline in https://github.com/lxc/lxd/pull/9520
- Device: Switch VM disk devices to use opened file descriptors for passing disk sources to QEMU by @tomponline in https://github.com/lxc/lxd/pull/9521
- Warning entry for missing instance driver by @presztak in https://github.com/lxc/lxd/pull/9522
- lxd/network/ovn: Support SSL by @stgraber in https://github.com/lxc/lxd/pull/9524
- Network: Separate IP neighbour and neighbour proxy management functions by @tomponline in https://github.com/lxc/lxd/pull/9527
- Support trust certificate self renewal by @monstermunchkin in https://github.com/lxc/lxd/pull/9474
- NIC: Reworks routed NIC to not depend on liblxc's router NIC type by @tomponline in https://github.com/lxc/lxd/pull/9528
- NIC: Adds routed NIC support for VMs by @tomponline in https://github.com/lxc/lxd/pull/9529
- doc: Fix misspelling in server.md by @cavcrosby in https://github.com/lxc/lxd/pull/9530
- Device: Switch to using string slice for mount option handling by @tomponline in https://github.com/lxc/lxd/pull/9532
- Project: Adds restricted.devices.disk.paths setting by @tomponline in https://github.com/lxc/lxd/pull/9496
- Support for moving instances and custom volumes between projects by @presztak in https://github.com/lxc/lxd/pull/9509
- tests: Split cluster and standalone by @stgraber in https://github.com/lxc/lxd/pull/9537
- lxd: add forkusernsexec() by @brauner in https://github.com/lxc/lxd/pull/9536
- Project: Separate checking if a project can support snapshots from the project DB lookup by @tomponline in https://github.com/lxc/lxd/pull/9539
- VM: Use socket file descriptors for virtfs-proxy-helper and virtiofsd by @tomponline in https://github.com/lxc/lxd/pull/9538
- VM: Close unnecessary file handles for VM disk proxy processes by @tomponline in https://github.com/lxc/lxd/pull/9540
- forkusernsexec: close file descriptors before exec by @brauner in https://github.com/lxc/lxd/pull/9541
- forkusernsexec: fixes by @brauner in https://github.com/lxc/lxd/pull/9550
- util_linux: ensure that O_NOCTTY is raised when opening terminals by @brauner in https://github.com/lxc/lxd/pull/9544
- Move to cron/v3 by @stgraber in https://github.com/lxc/lxd/pull/9551
- Project: Validation cleanup by @tomponline in https://github.com/lxc/lxd/pull/9549
- Support for lxc storage volume {copy,move} --target and --destination-target flag by @RKBethke in https://github.com/lxc/lxd/pull/9534
- Allow passing context to DownloadFileHash by @monstermunchkin in https://github.com/lxc/lxd/pull/9559
- VM: Add raw.idmap support for running disk device proxy processes in user namespace by @tomponline in https://github.com/lxc/lxd/pull/9543
- Simple doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/9562
- VM: Move readonly config mount out of config directory and into devices directory by @tomponline in https://github.com/lxc/lxd/pull/9565
- Network: Ensures OVN networks only consider only compatible networks for use as uplink by @tomponline in https://github.com/lxc/lxd/pull/9567
- Instance: Improve and unify stop and shutdown error handling by @tomponline in https://github.com/lxc/lxd/pull/9563
- Instance: Reset operation lock timeout when unmounting instance and increase ZFS unmount wait by @tomponline in https://github.com/lxc/lxd/pull/9564
- First class cloud-init support by @monstermunchkin in https://github.com/lxc/lxd/pull/9515
- forkusernsexec: use unix.Stderr as standard --keep-fd-up-to value by @brauner in https://github.com/lxc/lxd/pull/9569
- Network: OVN instance peer route bug fix by @tomponline in https://github.com/lxc/lxd/pull/9570
- doc: Initial sphinx build by @stgraber in https://github.com/lxc/lxd/pull/9568
- lxd/device/disk: Support snap packages when opening restricted disk paths by @tomponline in https://github.com/lxc/lxd/pull/9571
- Generator: Accept sql.NullTime as a valid type in the generator by @masnax in https://github.com/lxc/lxd/pull/9572
- doc: Fix typo in ToC entry by @stgraber in https://github.com/lxc/lxd/pull/9573
- NIC: Routed test tweaks by @tomponline in https://github.com/lxc/lxd/pull/9574
- shared/termios: manually copy termios settings between Go and C by @brauner in https://github.com/lxc/lxd/pull/9581
- shared/termios: actually copy the values not the index by @brauner in https://github.com/lxc/lxd/pull/9582
- Shared: Revert recent termios fixes by @tomponline in https://github.com/lxc/lxd/pull/9586
- Shared: Remove requirement on cgo when setting raw mode by @tomponline in https://github.com/lxc/lxd/pull/9589
- doc: add a cheat sheet for documentation by @ru-fu in https://github.com/lxc/lxd/pull/9585
- Instance: Use exitErr.ExitCode function for containers by @tomponline in https://github.com/lxc/lxd/pull/9598
- Increases recommended subuid and subgid ranges in machine setup. by @markylaing in https://github.com/lxc/lxd/pull/9601
- lxc/exec: Always connect control websocket by @tomponline in https://github.com/lxc/lxd/pull/9595
- Instance: Add more exec tests by @tomponline in https://github.com/lxc/lxd/pull/9591
- Instance: Detect disconnect of non-interactive exec stdout websocket and kill command by @tomponline in https://github.com/lxc/lxd/pull/9594
- Instance: Rework VM exec to always expect control connection for websocket sessions by @tomponline in https://github.com/lxc/lxd/pull/9597
- doc: clean up the content on the index page of the documentation by @ru-fu in https://github.com/lxc/lxd/pull/9587
- doc: css: temporary fixes for theme issues by @ru-fu in https://github.com/lxc/lxd/pull/9603
- Instance: Fix VM exec pts leak by @tomponline in https://github.com/lxc/lxd/pull/9599
- Instance: Adds ExitStatus() to properly extract exit status when a command is signaled from interactive session by @tomponline in https://github.com/lxc/lxd/pull/9602
- Replace bionic with focal by @simondeziel in https://github.com/lxc/lxd/pull/9605
- doc: add redirect to index.html by @ru-fu in https://github.com/lxc/lxd/pull/9606
- Shared: Some minor tweaks by @tomponline in https://github.com/lxc/lxd/pull/9607
- doc: Update Ceph docs with details for erasure coded pools by @AlexandarY in https://github.com/lxc/lxd/pull/9604
- Instance: Adds non-websocket exec tests by @tomponline in https://github.com/lxc/lxd/pull/9613
- lxd: log basic idmapped mount support by @brauner in https://github.com/lxc/lxd/pull/9612
- lxd/device: Improves error message for custom storage volumes when shift is true. by @markylaing in https://github.com/lxc/lxd/pull/9611
- lxd/device: Fix golint by @stgraber in https://github.com/lxc/lxd/pull/9615
- Generator: Refactor handling of reference tables. by @masnax in https://github.com/lxc/lxd/pull/9364
- Add
network.nat
property to zones by @stgraber in https://github.com/lxc/lxd/pull/9616 - Instance: Make VM WaitForWS for lxd-agent exec explicit by @tomponline in https://github.com/lxc/lxd/pull/9619
- Instance: Clear up OVS integration bridge port earlier in stop sequence for OVN NICs by @tomponline in https://github.com/lxc/lxd/pull/9621
- Added link for installing.md by @dillonsamra9 in https://github.com/lxc/lxd/pull/9624
- Add cluster member role to indicate the leader by @presztak in https://github.com/lxc/lxd/pull/9609
- Storage: Enable nodatacow on BTRFS subvolume for block volumes by @tomponline in https://github.com/lxc/lxd/pull/9627
- Storage: Improve logging during backup unpack by @tomponline in https://github.com...
LXD 4.20
Announcement
https://discuss.linuxcontainers.org/t/lxd-4-20-has-been-released/12540
What's Changed
- lxd/checkfeature: check whether the kernel supports core scheduling by @brauner in https://github.com/lxc/lxd/pull/9319
- lxd/daemon: Fix crash on lxd start when another lxd already running by @tomponline in https://github.com/lxc/lxd/pull/9320
- Fix metrics issues by @monstermunchkin in https://github.com/lxc/lxd/pull/9328
- Instance: Use project and instance name for operation locks by @tomponline in https://github.com/lxc/lxd/pull/9329
- lxd-agent: Drop aggregated cpu stats in metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9331
- test: Kill LXD process if doesn't start in time by @tomponline in https://github.com/lxc/lxd/pull/9332
- Suggest Ubuntu 20.04 instead of 18.04 by @simondeziel in https://github.com/lxc/lxd/pull/9337
- lxc: update wording when a cert is successfully trusted by a remote by @simondeziel in https://github.com/lxc/lxd/pull/9338
- lxd/main/shutdown: Fix shutdown regression when running in snap by @tomponline in https://github.com/lxc/lxd/pull/9334
- Generator: Insert into certificates_projects table by @masnax in https://github.com/lxc/lxd/pull/9318
- Instance: Rework instancesOnDisk to load config from backup.yaml if available by @tomponline in https://github.com/lxc/lxd/pull/9330
- lxd/apparmor: Allow remount using noatime by @simondeziel in https://github.com/lxc/lxd/pull/9341
- Update protobuf code by @stgraber in https://github.com/lxc/lxd/pull/9339
- Introduce downstream networks in leases by @stgraber in https://github.com/lxc/lxd/pull/9340
- Apparmor simplification by @simondeziel in https://github.com/lxc/lxd/pull/9342
- Instance: Fix image download race condition in instanceCreateFromImage by @tomponline in https://github.com/lxc/lxd/pull/9346
- Cluster: Error when no leader address found during handover by @tomponline in https://github.com/lxc/lxd/pull/9344
- Storage: Use normal mount rather than zfs mount for ZFS volumes by @tomponline in https://github.com/lxc/lxd/pull/9349
- Simpler filters by @simondeziel in https://github.com/lxc/lxd/pull/9350
- test/suites: Fix cephfs backup tests by @monstermunchkin in https://github.com/lxc/lxd/pull/9343
- lxd/network: Move Leases to network package by @stgraber in https://github.com/lxc/lxd/pull/9351
- lxd/instance/lxc: Properly report mapped memory by @stgraber in https://github.com/lxc/lxd/pull/9355
- Instance: Keep instance operation lock alive whilst waiting for instance to shutdown by @tomponline in https://github.com/lxc/lxd/pull/9345
- lxd: core scheduling support for virtual machines and container core scheduling even without LXC shared library support by @brauner in https://github.com/lxc/lxd/pull/9352
- Storage: Set mountpoint=none for ZFS filesystem volumes by @tomponline in https://github.com/lxc/lxd/pull/9353
- Clustering: Prevent a member that is shutting down from being promoted by @tomponline in https://github.com/lxc/lxd/pull/9296
- Instance: Fix container restart locking by @tomponline in https://github.com/lxc/lxd/pull/9361
- Network: Rework network loading functionality by @tomponline in https://github.com/lxc/lxd/pull/9359
- lxd/network/driver/ovn: Fix comment on getLoadBalancerName by @tomponline in https://github.com/lxc/lxd/pull/9362
- Clustering: Improve reliablity of remove raft node test by @tomponline in https://github.com/lxc/lxd/pull/9360
- lxd/network/ovn: Add support for leases by @stgraber in https://github.com/lxc/lxd/pull/9363
- Backup: Fix regression of VM backup imports by @tomponline in https://github.com/lxc/lxd/pull/9366
- Network: Rework isInUseByDevice to remove unnecessary DB lookups via NICType by @tomponline in https://github.com/lxc/lxd/pull/9369
- Network: Rework OVN static route management by @tomponline in https://github.com/lxc/lxd/pull/9368
- lxd/images: properly return project name in error by @masnax in https://github.com/lxc/lxd/pull/9372
- Generator: No-op changes for generator refactor by @masnax in https://github.com/lxc/lxd/pull/9373
- Fix image copy between two remotes when source is not in default project by @presztak in https://github.com/lxc/lxd/pull/9298
- VM: Use consistent QMP encoding by @tomponline in https://github.com/lxc/lxd/pull/9376
- VM: Adds workaround for QEMU 6.x regression in handling memory object host-nodes setting by @tomponline in https://github.com/lxc/lxd/pull/9378
- lxd/device: Make sure vfio-pci is loaded by @stgraber in https://github.com/lxc/lxd/pull/9379
- Rename
lxc cluster remove --quiet
tolxc cluster remove --yes
by @stgraber in https://github.com/lxc/lxd/pull/9382 - Add Cluster member configuration by @masnax in https://github.com/lxc/lxd/pull/9380
- Networks: Fixes getStoragePool to support NULL description fields by @tomponline in https://github.com/lxc/lxd/pull/9386
- lxd/api/cluster: fix comment on clusterGet clusterPut by @qvjp in https://github.com/lxc/lxd/pull/9388
- Network: Add OVN router security policy to prevent address spoofing by @tomponline in https://github.com/lxc/lxd/pull/9384
- lxd: Replace inotify with fsnotify/fanotify by @monstermunchkin in https://github.com/lxc/lxd/pull/9357
- Network: Fix bridge leases by @tomponline in https://github.com/lxc/lxd/pull/9389
- Network: OVN network to network routing (peering) by @tomponline in https://github.com/lxc/lxd/pull/9243
- lxd-p2c: Allow passing existing certificate by @stgraber in https://github.com/lxc/lxd/pull/9391
- doc: Fixes by @monstermunchkin in https://github.com/lxc/lxd/pull/9392
- Instance: Renames IsMigratable to CanMigrate by @tomponline in https://github.com/lxc/lxd/pull/9397
- Instance: Add ability to perform stateful instance pool migration by @tomponline in https://github.com/lxc/lxd/pull/9394
- lxd: fixes by @brauner in https://github.com/lxc/lxd/pull/9383
- lxd/fsmonitor/drivers: Add missing FAN_MARK_FILESYSTEM by @monstermunchkin in https://github.com/lxc/lxd/pull/9393
- Instance: Add ability to perform stateful instance cluster member migration by @tomponline in https://github.com/lxc/lxd/pull/9395
- Don't autofill cluster config. by @masnax in https://github.com/lxc/lxd/pull/9401
- DB: Adds 10s timeout to Transaction by @tomponline in https://github.com/lxc/lxd/pull/9404
- Cluster: Add dqlite proxy timeout and event stream heartbeats by @tomponline in https://github.com/lxc/lxd/pull/9405
- Add linux.sysctl.* configuration keys by @presztak in https://github.com/lxc/lxd/pull/9402
- Events: Moves blocking reader into heartbeat function by @tomponline in https://github.com/lxc/lxd/pull/9409
- NIC: Prevent use of static IPs on bridged NIC connected to unmanaged bridge by @tomponline in https://github.com/lxc/lxd/pull/9406
- lxd/fsmonitor/drivers: Log warning instead of failing by @monstermunchkin in https://github.com/lxc/lxd/pull/9411
- Cluster: Replaces dqliteProxy idle timeout with TCP_USER_TIMEOUT by @tomponline in https://github.com/lxc/lxd/pull/9416
- Retry cluster transactions once if context deadline exceeded by @masnax in https://github.com/lxc/lxd/pull/9412
- seccomp: Pass the caller TGID to pidfd_open instead of TID by @lephilousophe in https://github.com/lxc/lxd/pull/9422
- lxd/instance/drivers: Check swap for metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9427
- seccomp: verify retrieved fds when by @brauner in https://github.com/lxc/lxd/pull/9428
- lxd/instance/qemu: Fix host-nodes on multi-node by @stgraber in https://github.com/lxc/lxd/pull/9429
- Add network zones API and built-in DNS server by @stgraber in https://github.com/lxc/lxd/pull/9371
- lxd/instance/drivers: Check memory limit for metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9430
- Migration: Fix deadlock in websocket control message sending by @tomponline in https://github.com/lxc/lxd/pull/9432
- VM: Stateful migration to a remote by @tomponline in https://github.com/lxc/lxd/pull/9431
- VM: Add VM stateful migration support with ceph by @tomponline in https://github.com/lxc/lxd/pull/9436
- test: Update teardown_clustering_netns to succeed if process has already gone by @tomponline in https://github.com/lxc/lxd/pull/9437
- NIC: Allow static IP on bridged NIC when using unmanaged bridge with MAAS subnet specified by @tomponline in https://github.com/lxc/lxd/pull/9438
- NIC: OVN Remove setting accept_ra sysctl unnecessarily as disable_ipv6 is set by @tomponline in https://github.com/lxc/lxd/pull/9441
- Replace 'which' with 'command -v' by @simondeziel in https://github.com/lxc/lxd/pull/9442
- lxc: better advertise support for VMs by @simondeziel in https://github.com/lxc/lxd/pull/9443
- NIC: Split up SR-IOV VF management functions by @tomponline in https://github.com/lxc/lxd/pull/9446
- NIC: Support hardware accelerated OVS/OVN by @tomponline in https://github.com/lxc/lxd/pull/9445
- lxd/cluster: Fix forceful stop on restore by @stgraber in https://github.com/lxc/lxd/pull/9448
- bash-completion: Add restore snapshots by @ulziibuyan in https://github.com/lxc/lxd/pull/9451
- forkuevent: fixes by @brauner in https://github.com/lxc/lxd/pull/9457
- Daemon: Fix shutdown panic by @tomponline in https://github.com/lxc/lxd/pull/9454
- Fixes for VM CPU topology by @stgraber in https://github.com/lxc/lxd/pull/9458
lxc import
- read from stdin by @presztak in https://github.com/lxc/lxd/pull/9459- Remove the last 'which' occurence. by @simondeziel in https://github.com/lxc/lxd/pull/9460
- cleanup: remove subtest by @hypnoglow in https://github.com/lxc/lxd/pull/9452
- lxc/file: Don't use HostPath on temp files by @stgraber in https://github.com/lxc/lxd/pull/9461
- lxd/cluster: Log leader address on failure by @stgraber in https://github.com/lxc/lxd/pull/9463
- lxd/api/cluster: Sleep for 100ms to allow http.Flush to render by @masnax in https://github.com/lxc/lxd/pull/9468
- lxd/fsmonitor: Don't crash on Walk errors by @stgraber in https:/...
LXD 4.0.8
LXD 4.19
Announcement
https://discuss.linuxcontainers.org/t/lxd-4-19-has-been-released/12276
What's Changed
- Cluster: More IPv6 listener bug fixes by @tomponline in https://github.com/lxc/lxd/pull/9192
- doc: Adds network forwards to left hand nav by @tomponline in https://github.com/lxc/lxd/pull/9196
- doc/server: Fix incorrect default for routerid by @stgraber in https://github.com/lxc/lxd/pull/9198
- More listener bugfixes by @masnax in https://github.com/lxc/lxd/pull/9199
- Resolve warnings older than startTime by @monstermunchkin in https://github.com/lxc/lxd/pull/9203
- lxc: Fix aliases containing @Args@ by @monstermunchkin in https://github.com/lxc/lxd/pull/9205
- lxd/storage/driver/zfs: Fix ListVolumes with custom zpool by @stgraber in https://github.com/lxc/lxd/pull/9208
- Add 'name' to 'raft_nodes' table. by @masnax in https://github.com/lxc/lxd/pull/9209
- doc/instances: Clarify default CPU/RAM for VMs by @stgraber in https://github.com/lxc/lxd/pull/9212
- Swagger fixes by @stgraber in https://github.com/lxc/lxd/pull/9211
- Don't allow instance ipv{n}.address to be same as managed parent network by @masnax in https://github.com/lxc/lxd/pull/9213
- lxd/networks: Improved IPv6 support for leases by @stgraber in https://github.com/lxc/lxd/pull/9214
- Network: Exports bridge forward addresses via BGP by @tomponline in https://github.com/lxc/lxd/pull/9216
- Unmount storage pools on lxd shutdown by @masnax in https://github.com/lxc/lxd/pull/9217
- don't allow 'limits.memory' to be 0 by @masnax in https://github.com/lxc/lxd/pull/9223
- Cluster: Fix slow heartbeat response due to multiple remote queries when populating raft node names by @tomponline in https://github.com/lxc/lxd/pull/9222
- lxd/util: Respect modprobe configuration by @stgraber in https://github.com/lxc/lxd/pull/9224
- Network: Exports OVN forward addresses via BGP by @tomponline in https://github.com/lxc/lxd/pull/9219
- Change restrictions check function in CheckClusterTargetRestriction by @presztak in https://github.com/lxc/lxd/pull/9225
- Extend cgroup abstraction and other preparations for metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9226
- OVN: Work around a bug in lr-nat-del in ovn-nbctl in LogicalRouterDNATSNATAdd by @tomponline in https://github.com/lxc/lxd/pull/9230
- shared/api/network/forward: Fix api extension references by @tomponline in https://github.com/lxc/lxd/pull/9242
- Network: Use consistent terminology in address forward swagger descriptions by @tomponline in https://github.com/lxc/lxd/pull/9244
- Storage: Workaround LVM unmount issues by @tomponline in https://github.com/lxc/lxd/pull/9247
- Cleanup LXD client imports by @stgraber in https://github.com/lxc/lxd/pull/9249
- Update lxc cluster list to show roles instead of boolean database column by @presztak in https://github.com/lxc/lxd/pull/9251
- doc: update link to rest-api.yaml by @ru-fu in https://github.com/lxc/lxd/pull/9256
- Typo by @regnauld in https://github.com/lxc/lxd/pull/9257
- lxd/device/tpm: Require
path
only for containers by @monstermunchkin in https://github.com/lxc/lxd/pull/9261 - Fix some swagger inconsistencies by @stgraber in https://github.com/lxc/lxd/pull/9262
- Add metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9086
- Add missing syscall mappings for riscv64, and fix missing docs by @wgrant in https://github.com/lxc/lxd/pull/9264
- Storage: Fix LVM unmount pool bug by @tomponline in https://github.com/lxc/lxd/pull/9255
- Daemon: Shutdown storage fixes by @tomponline in https://github.com/lxc/lxd/pull/9267
- Fix documented HTTP return code in console POST by @ricab in https://github.com/lxc/lxd/pull/9266
- doc/rest-api: Add missing entry for 112 (error) by @stgraber in https://github.com/lxc/lxd/pull/9272
- lxd/instance/drivers: Fix raw.lxc handling for shutdown/stop by @monstermunchkin in https://github.com/lxc/lxd/pull/9270
- lxd/cgroup: Implement CPU usage for cgroup v2 by @monstermunchkin in https://github.com/lxc/lxd/pull/9279
- lxd/cgroup: Fix logging in cgroup init by @monstermunchkin in https://github.com/lxc/lxd/pull/9282
- Storage: Fix filesystem detection to work on 32bit platforms by @tomponline in https://github.com/lxc/lxd/pull/9277
- Storage: Remove unmount functionality from LVM driver by @tomponline in https://github.com/lxc/lxd/pull/9276
- Network: Forwards fixes by @tomponline in https://github.com/lxc/lxd/pull/9283
- lxd: Improves API request/response debug logging by @tomponline in https://github.com/lxc/lxd/pull/9280
- LXD: Modifes errorResponse.Render function to JSON encode a api.ResponseRaw struct by @tomponline in https://github.com/lxc/lxd/pull/9281
- Handle VMs in instancesOnDisk by @monstermunchkin in https://github.com/lxc/lxd/pull/9285
- Network: Add lxc network forward get command by @tomponline in https://github.com/lxc/lxd/pull/9287
- lxd/util: Handle ':8443' syntax in ListenAddresses by @stgraber in https://github.com/lxc/lxd/pull/9292
- lxd: Remove public facing errors that mention cluster "node" by @tomponline in https://github.com/lxc/lxd/pull/9294
- Util: ListenAddresses improvements by @tomponline in https://github.com/lxc/lxd/pull/9293
- doc/metrics: typo fix by @simondeziel in https://github.com/lxc/lxd/pull/9295
- API: Adds URL builder and updates network UsedBy to use it by @tomponline in https://github.com/lxc/lxd/pull/9286
- Create dirs on pull -p by @masnax in https://github.com/lxc/lxd/pull/9290
- Fix clustering_remove_leader calling dqlite twice by @masnax in https://github.com/lxc/lxd/pull/9297
- Daemon: Makes /internal/shutdown synchronous by @tomponline in https://github.com/lxc/lxd/pull/9301
- Fix
lxc config trust remove
help by @stgraber in https://github.com/lxc/lxd/pull/9302 - lxd/qemu: Disable large decrementor on ppc64le by @stgraber in https://github.com/lxc/lxd/pull/9310
- Storage: Don't log an error when unmount of custom volume is skipped due to being in use by another instance by @tomponline in https://github.com/lxc/lxd/pull/9304
- lxd/instance/drivers: Add instance type to metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/9305
- Cluster: Fix cluster member remove tests by @tomponline in https://github.com/lxc/lxd/pull/9303
- Cluster: Shutdown improvements by @tomponline in https://github.com/lxc/lxd/pull/9311
- Support custom block and filesystem export for all drivers by @monstermunchkin in https://github.com/lxc/lxd/pull/9300
- Fix storage volume export for cephfs by @monstermunchkin in https://github.com/lxc/lxd/pull/9312
- lxc/file: Fix file push help message by @monstermunchkin in https://github.com/lxc/lxd/pull/9313
- lxd/cgroup: Fix GetIOStats on cgroup2 by @stgraber in https://github.com/lxc/lxd/pull/9315
- [GH-9248] Restrict protocol version by @masnax in https://github.com/lxc/lxd/pull/9316
- lxd: add core scheduling support by @brauner in https://github.com/lxc/lxd/pull/9308
New Contributors
- @ru-fu made their first contribution in https://github.com/lxc/lxd/pull/9256
- @regnauld made their first contribution in https://github.com/lxc/lxd/pull/9257
- @wgrant made their first contribution in https://github.com/lxc/lxd/pull/9264
- @ricab made their first contribution in https://github.com/lxc/lxd/pull/9266
Full Changelog: lxc/incus@lxd-4.18...lxd-4.19