Releases: canonical/lxd
Releases · canonical/lxd
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