Releases: canonical/lxd
LXD 5.11
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-11-has-been-released/16443
What's Changed
- doc/ref/devices_nic: Add queue.tx.length by @stgraber in https://github.com/lxc/lxd/pull/11283
- lxd: Reduce calls to d.State() and avoid starting a transaction if target is local server in
ResolveTarget()
by @tomponline in https://github.com/lxc/lxd/pull/11282 - Cluster: Adds cluster member state API endpoint by @tomponline in https://github.com/lxc/lxd/pull/11284
- Improve UI behavior by @stgraber in https://github.com/lxc/lxd/pull/11286
- lxd/instances_post: Fix copying profiles during instance copy by @stgraber in https://github.com/lxc/lxd/pull/11287
- lxc/migrate: Make live migration error message more helpful by @yunginnanet in https://github.com/lxc/lxd/pull/11288
- doc/clustering: add link to YouTube video about cluster groups by @ru-fu in https://github.com/lxc/lxd/pull/11291
- Add mipsle and mips64le architecture aliases by @gibmat in https://github.com/lxc/lxd/pull/11296
- Cluster: Fix TotalRAM field in MemberState output by @tomponline in https://github.com/lxc/lxd/pull/11297
- Instance: Comment typo and spacing by @tomponline in https://github.com/lxc/lxd/pull/11298
- shared/util: Update RunCommandCLocale to pass LANGUAGE=en env var by @tomponline in https://github.com/lxc/lxd/pull/11299
- Instance: Container shutdown edge case fixes by @tomponline in https://github.com/lxc/lxd/pull/11290
- drivers: Unify allowed filesystems variable by @monstermunchkin in https://github.com/lxc/lxd/pull/11304
- lxd/migration: Remove leftover stats definitions by @monstermunchkin in https://github.com/lxc/lxd/pull/11305
- doc/clustering: document
lxc cluster info
by @ru-fu in https://github.com/lxc/lxd/pull/11307 - Instance: Add support for placement Starlark scriptlet by @tomponline in https://github.com/lxc/lxd/pull/11180
- Device: Allow all multicast to fix IPv6 NDP for
macvlan
NICs in VMs by @tomponline in https://github.com/lxc/lxd/pull/11309 - Adds location to event context on instance and local storage volume creation by @markylaing in https://github.com/lxc/lxd/pull/11310
- Device: Fix
disk
deviceraw.mount.options
setting by @tomponline in https://github.com/lxc/lxd/pull/11315 - client: add TransportWrapper to ConnectionArgs by @sebastiaopamplona in https://github.com/lxc/lxd/pull/11318
- Device: Update
disk
device tests to check for mount flag support in raw mount.options by @tomponline in https://github.com/lxc/lxd/pull/11320 - client: fix cast to http.Transport when using TransportWrapper by @sebastiaopamplona in https://github.com/lxc/lxd/pull/11321
- doc/metrics: greatly simplify the cluster's scrape_configs by @simondeziel in https://github.com/lxc/lxd/pull/11324
- Replace
container
byinstance
inlxd/db/node
by @simondeziel in https://github.com/lxc/lxd/pull/11325 - doc/server: bring back doc for
net.core.bpf_jit_limit
by @ru-fu in https://github.com/lxc/lxd/pull/11322 - lxd/backup: update the error msg when "backup/index.yaml" can't be found by @gabrielmougard in https://github.com/lxc/lxd/pull/11328
- volume: Add source indicator by @monstermunchkin in https://github.com/lxc/lxd/pull/11331
- Storage: Only check for minimum number of columns in
btrfs qgroup show
command by @tomponline in https://github.com/lxc/lxd/pull/11333 - Small doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/11335
- doc/storage: explain how optimized instance transfer works by @ru-fu in https://github.com/lxc/lxd/pull/11323
- Makefile: Immediately fail on lint errors by @stgraber in https://github.com/lxc/lxd/pull/11341
- lxd: hotplug mounts by @brauner in https://github.com/lxc/lxd/pull/11336
- Terminology fixes by @ru-fu in https://github.com/lxc/lxd/pull/11338
- lxd: User friendly error for missing volume. by @markylaing in https://github.com/lxc/lxd/pull/11343
- storage: Various changes by @monstermunchkin in https://github.com/lxc/lxd/pull/11339
- Fix usage of --destination-server flag when copying/moving storage volumes between remotes by @markylaing in https://github.com/lxc/lxd/pull/11340
- Instance: Updates instance_placement scriptlet function to accept both project and reason as part of
request
by @tomponline in https://github.com/lxc/lxd/pull/11327 - lxd/db: Remove needless semi-colons in queries by @stgraber in https://github.com/lxc/lxd/pull/11350
- lxd/apparmor: fix AppArmor forkproxy profile by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11346
- lxd/instance/drivers/driver/lxc: s/container/instance/ by @simondeziel in https://github.com/lxc/lxd/pull/11344
- Support ZFS block mode by @monstermunchkin in https://github.com/lxc/lxd/pull/11206
- device: support managed network with physical nic by @gabrielmougard in https://github.com/lxc/lxd/pull/11357
- Instance: Remove erroneous empty log error in LXC driver by @tomponline in https://github.com/lxc/lxd/pull/11358
- instance: differentiate msg for creation/deletion of snapshots by @gabrielmougard in https://github.com/lxc/lxd/pull/11361
- device/disk: Don't use RBD for FS custom volumes by @monstermunchkin in https://github.com/lxc/lxd/pull/11359
- cgroup: properly set soft mem limit for cgroup-v2 by @mihalicyn in https://github.com/lxc/lxd/pull/11360
- Storage: Fix BTRFS regression from ZFS block mode by @tomponline in https://github.com/lxc/lxd/pull/11362
- Images: Only remove cached image files & volumes when image is expired in all projects that use it by @tomponline in https://github.com/lxc/lxd/pull/11356
- Scriptlet: Change
StarlarkMarshal
to convert Go structs to Starlark objects by @tomponline in https://github.com/lxc/lxd/pull/11348 - Network: Allow management of zone records in non-default project zones by @tomponline in https://github.com/lxc/lxd/pull/11365
- tests: make it work when seccomp is enabled externally by @mihalicyn in https://github.com/lxc/lxd/pull/11366
- doc: Images section by @ru-fu in https://github.com/lxc/lxd/pull/11334
- ceph: Check ceph config file for key by @monstermunchkin in https://github.com/lxc/lxd/pull/11367
- Storage: Fix optimized BTRFS refresh by @monstermunchkin in https://github.com/lxc/lxd/pull/11337
- lxd/apparmor: Add microceph to ceph paths by @stgraber in https://github.com/lxc/lxd/pull/11370
- Network: Improve network forward and load balancer conflict validation between networks by @tomponline in https://github.com/lxc/lxd/pull/11371
- Remove trust passwords from
lxd init
by @stgraber in https://github.com/lxc/lxd/pull/11372
New Contributors
- @yunginnanet made their first contribution in https://github.com/lxc/lxd/pull/11288
- @sebastiaopamplona made their first contribution in https://github.com/lxc/lxd/pull/11318
- @mihalicyn made their first contribution in https://github.com/lxc/lxd/pull/11360
Full Changelog: lxc/incus@lxd-5.10...lxd-5.11
LXD 5.10
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-10-has-been-released/16143
What's Changed
- lxd/storage/ceph: Remove OSD map timeout by @stgraber in https://github.com/lxc/lxd/pull/11213
- doc/instances: small clarifications to the snapshot documentation by @ru-fu in https://github.com/lxc/lxd/pull/11214
- doc/devices: Sort macvlan NIC device options in table by @hnakamur in https://github.com/lxc/lxd/pull/11215
- doc/cloud-init: add info about merging user-data and vendor-data by @ru-fu in https://github.com/lxc/lxd/pull/11216
- doc/instances: clarify misleading description for
linux.sysctl.*
by @ru-fu in https://github.com/lxc/lxd/pull/11218 - Doc: link to MicroCeph and MicroCloud by @ru-fu in https://github.com/lxc/lxd/pull/11219
- Instance: Don't mask unexpected VM monitor QMP response errors with sentinel by @tomponline in https://github.com/lxc/lxd/pull/11220
- Images: Update database functions to use transactions by @tomponline in https://github.com/lxc/lxd/pull/11222
- Instance: Fix VM support and feature detection on s390x and ppc64le by @tomponline in https://github.com/lxc/lxd/pull/11226
- Doc: move content out of the Configuration section by @ru-fu in https://github.com/lxc/lxd/pull/11223
- Instance: Unify profile validation and loading for instance create endpoint by @tomponline in https://github.com/lxc/lxd/pull/11217
- Switch to current version of macaroon bakery by @stgraber in https://github.com/lxc/lxd/pull/11229
- Instance: Fix VM QEMU feature detection by @tomponline in https://github.com/lxc/lxd/pull/11230
- lxd: Improve logging in autoCreateInstanceSnapshots by @tomponline in https://github.com/lxc/lxd/pull/11245
- doc: fix version conflicts for doc tools by @ru-fu in https://github.com/lxc/lxd/pull/11249
- lxd-migrate: Fix usage string by @monstermunchkin in https://github.com/lxc/lxd/pull/11247
- doc/lxd-migrate: add information about updating the configuration by @ru-fu in https://github.com/lxc/lxd/pull/11250
- forksyscall: ensure that parent mount is dependent mount by @brauner in https://github.com/lxc/lxd/pull/11251
- Storage: Improve error when existing zpool isn't empty by @tomponline in https://github.com/lxc/lxd/pull/11248
- Storage: Fix BTRFS driver
getQGroup
to suport BTRFS >= 6.0.1 by @tomponline in https://github.com/lxc/lxd/pull/11252 - forksyscall: avoid double MS_MOVE by @brauner in https://github.com/lxc/lxd/pull/11255
- lxc: Fix --no-profiles flag on
lxc init
by @tomponline in https://github.com/lxc/lxd/pull/11257 - lxd: Fix escaping of
lxd sql .dump
command by @tomponline in https://github.com/lxc/lxd/pull/11253 - Instance: Fix VM QEMU feature detection on aarch64 by @tomponline in https://github.com/lxc/lxd/pull/11256
- Instance: Split cluster member targeting logic to generate candidate members list before selecting least used by @tomponline in https://github.com/lxc/lxd/pull/11259
- grafana: add top network usage graphs by @simondeziel in https://github.com/lxc/lxd/pull/11258
- fix dead lock bug by @ichiro999 in https://github.com/lxc/lxd/pull/11235
- Instance: Fixes delete of ephemeral VM on stop by @tomponline in https://github.com/lxc/lxd/pull/11262
- lxd/db: Changed snapshot sort from date to datetime by @MrDaGree in https://github.com/lxc/lxd/pull/11271
- Instance: Don't allow manual targeting of a member outside of the allowed groups of a restricted project by @tomponline in https://github.com/lxc/lxd/pull/11264
- lxd/api: Add support for serving the UI by @stgraber in https://github.com/lxc/lxd/pull/11272
- doc: Fix broken cloud-init doc links by @tomponline in https://github.com/lxc/lxd/pull/11273
- lxd: Use consistent snapshot ordering in API and
lxc info
output by @tomponline in https://github.com/lxc/lxd/pull/11274 - doc/networks: add instructions for attaching a network to an instance by @ru-fu in https://github.com/lxc/lxd/pull/11276
- lxd Add support for setting txqueuelen on veth based NICs by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11243
- Doc: clean up server configuration by @ru-fu in https://github.com/lxc/lxd/pull/11279
- lxd: Efficiency improvements to cluster member listing and showing by @tomponline in https://github.com/lxc/lxd/pull/11280
New Contributors
- @ichiro999 made their first contribution in https://github.com/lxc/lxd/pull/11235
Full Changelog: lxc/incus@lxd-5.9...lxd-5.10
LXD 5.9
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-9-has-been-released/15907
What's Changed
- Instance: Restrict VM CPU hotplugging architecture by @monstermunchkin in https://github.com/lxc/lxd/pull/11137
- doc: allow returning traffic in DOCKER-USER custom chain by @simondeziel in https://github.com/lxc/lxd/pull/11140
- Instance: Prevent moving instance to invalid (or empty) name by @tomponline in https://github.com/lxc/lxd/pull/11135
- VM: Fix blockNodeName to use base64 raw URL format by @tomponline in https://github.com/lxc/lxd/pull/11134
- Network: Remove unnecessary query for server name in
bridge
Leases by @tomponline in https://github.com/lxc/lxd/pull/11132 - scripts/bash/lxd-client: fix autocompletion not working by @nbensa in https://github.com/lxc/lxd/pull/11141
- lxd/util: Skip cephobject in AvailableStorageDrivers by @stgraber in https://github.com/lxc/lxd/pull/11142
- lxd/device/tpm: Expose tpmrm to the container by @xnox in https://github.com/lxc/lxd/pull/11139
- lxd: Fix handling of images in projects with features.images=false by @Fenixoff in https://github.com/lxc/lxd/pull/11130
- Device: Add hwaddr key to liblxc NIC config by @tomponline in https://github.com/lxc/lxd/pull/11144
- VM: Fix VM image unpack apparmor profile in archiveProfile by @tomponline in https://github.com/lxc/lxd/pull/11143
- Improve error handling on container stop/update by @simondeziel in https://github.com/lxc/lxd/pull/11148
- fsmonitor: Don't watch for WRITE events when using inotify by @tomponline in https://github.com/lxc/lxd/pull/11152
- config: Fix inconsistency with acme.agree_tos option by @monstermunchkin in https://github.com/lxc/lxd/pull/11156
- Check CPU hotplug support based on QMP command by @monstermunchkin in https://github.com/lxc/lxd/pull/11147
- Storage: Move block volume rounding logic into driver and use extent size for LVM rounding by @tomponline in https://github.com/lxc/lxd/pull/11157
- lxc: Allow
--device
flag to override local devices from--storage
and--network
flags by @tomponline in https://github.com/lxc/lxd/pull/11158 - Network: Use
UsedByInstanceDevices
forcheckAddressConflict
andLeases
by @tomponline in https://github.com/lxc/lxd/pull/11159 - doc/instances: clean up devices overview section by @ru-fu in https://github.com/lxc/lxd/pull/11136
- Test tweaks by @simondeziel in https://github.com/lxc/lxd/pull/11163
- doc: add link to Running in production YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/11173
- ceph: Drop unnecessary volume.block.* config keys by @monstermunchkin in https://github.com/lxc/lxd/pull/11166
- More shellcheck fixes and other tweaks by @simondeziel in https://github.com/lxc/lxd/pull/11169
- Storage: Don't check project limits when doing a volume snapshot restore by @tomponline in https://github.com/lxc/lxd/pull/11170
- Network: Exclude gateway and uplink addresses in leases list when filtering by project other than network's by @tomponline in https://github.com/lxc/lxd/pull/11172
- Networks: Support multiple zones per network and zones associated to their own projects by @tomponline in https://github.com/lxc/lxd/pull/11160
- docs: Added snap version directory for local remotes by @AnubisFUp in https://github.com/lxc/lxd/pull/11175
- Networks: Use project.NetworkZoneProject in networkZonesGet by @tomponline in https://github.com/lxc/lxd/pull/11178
- lxd-generate: Generate boilerplate functions by @masnax in https://github.com/lxc/lxd/pull/11182
- lxd/apparmor: fix AppArmor profile for qemu-img by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11181
- doc: Adds
--cohort="+"
to snap refresh command by @tomponline in https://github.com/lxc/lxd/pull/11185 - forkdns: Updates serversFileMonitor to only watch for inotify.InMovedTo event by @tomponline in https://github.com/lxc/lxd/pull/11184
- Instance: Fix VM vsock nesting regression by @tomponline in https://github.com/lxc/lxd/pull/11188
- Metrics: Limits concurrency of instance metrics building to avoid potentially spawning unlimited go routines by @tomponline in https://github.com/lxc/lxd/pull/11186
- doc/devices: document device option override at creation by @ru-fu in https://github.com/lxc/lxd/pull/11197
- Resources: Ignore errors from ethtoolAddPortInfo by @tomponline in https://github.com/lxc/lxd/pull/11192
- Device: Use api.NetworkStatusUnavailable constant by @tomponline in https://github.com/lxc/lxd/pull/11190
- doc/devices: Clean up the documentation for devices and device options by @ru-fu in https://github.com/lxc/lxd/pull/11183
- LXD: Minor tweaks to global config handling by @tomponline in https://github.com/lxc/lxd/pull/11200
- Storage: Don't attempt multi-sync mode optimized transfers by @tomponline in https://github.com/lxc/lxd/pull/11196
- lxd/storage: Disable io_uring on ZFS by @stgraber in https://github.com/lxc/lxd/pull/11202
- VM: Fix AppArmor instance_qemu profile by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/11203
- Storage: Include ceph to ceph migration in multi sync mode by @tomponline in https://github.com/lxc/lxd/pull/11204
- VM: Fix
macvlan
NICs losing connectivity when LXD is reloaded by @tomponline in https://github.com/lxc/lxd/pull/11201 - Doc: Clean up remaining instances doc by @ru-fu in https://github.com/lxc/lxd/pull/11208
- Storage: Don't expect multi-sync for live optimized ceph migration by @tomponline in https://github.com/lxc/lxd/pull/11207
- Storage: Add ceph pool mount-time availablity check and add timeouts to some operations by @tomponline in https://github.com/lxc/lxd/pull/11209
- Instance: Handle VM guest initiated reboot via SHUTDOWN event by @tomponline in https://github.com/lxc/lxd/pull/11212
New Contributors
- @nbensa made their first contribution in https://github.com/lxc/lxd/pull/11141
- @AnubisFUp made their first contribution in https://github.com/lxc/lxd/pull/11175
Full Changelog: lxc/incus@lxd-5.8...lxd-5.9
LXD 5.8
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-8-has-been-released/15686
What's Changed
- Token expiry updates by @monstermunchkin in https://github.com/lxc/lxd/pull/11039
- Export preseed structs by @masnax in https://github.com/lxc/lxd/pull/11037
- lxd/device: Continue if device is nil by @Robertzi in https://github.com/lxc/lxd/pull/11046
- Network: Get dynamically allocated IPs from OVN switch port even if not using DHCP by @tomponline in https://github.com/lxc/lxd/pull/11049
- Export CertInfo to api.Certificate helper by @masnax in https://github.com/lxc/lxd/pull/11051
- lxc: Extend image filtering by @monstermunchkin in https://github.com/lxc/lxd/pull/11041
- test/suites: Unset join_token_expiry when done by @monstermunchkin in https://github.com/lxc/lxd/pull/11052
- doc/authentication: clarify expiration of cluster join tokens by @ru-fu in https://github.com/lxc/lxd/pull/11054
- Daemon: Respect core.shutdown_timeout by @tomponline in https://github.com/lxc/lxd/pull/11055
- lxc init: Fix usage line in the help output by @ru-fu in https://github.com/lxc/lxd/pull/11058
- doc: restructure instances documentation by @ru-fu in https://github.com/lxc/lxd/pull/11060
- Device: Relax
bridged
NIC duplicate instance DNS name checks by @tomponline in https://github.com/lxc/lxd/pull/11059 - Add resolv.conf location under WSL by @cerebrate in https://github.com/lxc/lxd/pull/11067
- doc: remove intro sentence for configuration by @ru-fu in https://github.com/lxc/lxd/pull/11068
- Device: Speed up getting NIC host name info by loading host interface info once per request by @tomponline in https://github.com/lxc/lxd/pull/11065
- Storage: Adds creation time to storage volumes and snapshots by @tomponline in https://github.com/lxc/lxd/pull/11034
- doc/clustering: clarify that you should remove offline members by @ru-fu in https://github.com/lxc/lxd/pull/11069
- Extend CPU limit validation by @monstermunchkin in https://github.com/lxc/lxd/pull/11057
- Allow device overrides when initialising or launching an instance. by @markylaing in https://github.com/lxc/lxd/pull/11066
- lxd: Sets Location field to hostname for GET /1.0 in devlxd API. by @markylaing in https://github.com/lxc/lxd/pull/11070
- Add some how-to guides to the instances docs by @ru-fu in https://github.com/lxc/lxd/pull/11076
- lxd/instances/lxc: Fix build on MIPS by @stgraber in https://github.com/lxc/lxd/pull/11074
- lxd/storage/pools: Initialize pool config if nil by @masnax in https://github.com/lxc/lxd/pull/11078
- devlxd: Do not return devlxd info if turned off by @monstermunchkin in https://github.com/lxc/lxd/pull/11085
- lxd: Remove shadowed variable name. by @markylaing in https://github.com/lxc/lxd/pull/11091
- lxd-agent: Return correct error when querying devlxd by @monstermunchkin in https://github.com/lxc/lxd/pull/11087
- Start devlxd on VMs as early as possible by @monstermunchkin in https://github.com/lxc/lxd/pull/11080
- scripts/bash/lxd-client: Add missing file mount sub-command by @simondeziel in https://github.com/lxc/lxd/pull/11092
- client/util: Use ConnectionArgs.Proxy with unix socket client by @masnax in https://github.com/lxc/lxd/pull/11090
- doc/instances: add instructions for accessing files by @ru-fu in https://github.com/lxc/lxd/pull/11086
- lxd: Check LXD ready state before changing instance by @monstermunchkin in https://github.com/lxc/lxd/pull/11093
- doc/instances: add instructions for running commands and logging on by @ru-fu in https://github.com/lxc/lxd/pull/11079
- test/suites/sql: safe grep usage by @simondeziel in https://github.com/lxc/lxd/pull/11097
- Add shared devlxd structs by @monstermunchkin in https://github.com/lxc/lxd/pull/11094
- lxd/device/tpm: Handle TPM devices in profiles by @monstermunchkin in https://github.com/lxc/lxd/pull/11098
- Network: Adds MTU DHCP option when using bridge fan mode by @tomponline in https://github.com/lxc/lxd/pull/11095
- doc: the location is set in responses from GET /1.0 in devlxd API by @simondeziel in https://github.com/lxc/lxd/pull/11102
- doc: add video links by @ru-fu in https://github.com/lxc/lxd/pull/11100
- lxd/init: Use strict checking for preseed by @monstermunchkin in https://github.com/lxc/lxd/pull/11107
- Refresh REST API by @simondeziel in https://github.com/lxc/lxd/pull/11103
- Small tweaks to Github Action tests by @simondeziel in https://github.com/lxc/lxd/pull/11104
- doc: Fix configuration directory in remotes.md by @gibmat in https://github.com/lxc/lxd/pull/11109
- doc/instances: add example for filtering by location by @ru-fu in https://github.com/lxc/lxd/pull/11116
- acme: Switch to github.com/go-acme/lego/v4 by @monstermunchkin in https://github.com/lxc/lxd/pull/11119
- build(deps): bump actions/dependency-review-action from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/11113
- doc/security: add YouTube link by @ru-fu in https://github.com/lxc/lxd/pull/11121
- Instance: Fixes missing container initiated instance-shutdown lifecycle event by @tomponline in https://github.com/lxc/lxd/pull/11122
- shared: Increase default TCP user timeout from 30 seconds to 2 minutes by @tomponline in https://github.com/lxc/lxd/pull/11117
- devlxd: Add volatile NIC hwaddr to devices output by @tomponline in https://github.com/lxc/lxd/pull/11120
- Storage: Update DeleteImage to not use GetImageFromAnyProject by @tomponline in https://github.com/lxc/lxd/pull/11118
- lxd: Limit shutdown concurrency to number of instances or number of CPU cores (which ever is less). by @tomponline in https://github.com/lxc/lxd/pull/11114
- Device: Fix attaching cephfs disk volumes to VMs by @tomponline in https://github.com/lxc/lxd/pull/11125
- test: Reduce "shellcheck disable=SC2034" usage by @simondeziel in https://github.com/lxc/lxd/pull/11124
- Enable CPU hot-(un)plugging for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/11075
- lxc: Fix copying storage volume to remote from cluster member by @tomponline in https://github.com/lxc/lxd/pull/11127
- Storage: Consider custom volume snapshot creation date when refreshing by @tomponline in https://github.com/lxc/lxd/pull/11123
- Storage: Allow ZFS block volumes to use pool's zfs.blocksize setting by @tomponline in https://github.com/lxc/lxd/pull/11128
New Contributors
- @Robertzi made their first contribution in https://github.com/lxc/lxd/pull/11046
- @cerebrate made their first contribution in https://github.com/lxc/lxd/pull/11067
- @gibmat made their first contribution in https://github.com/lxc/lxd/pull/11109
Full Changelog: lxc/incus@lxd-5.7...lxd-5.8
LXD 5.7
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-7-has-been-released/15432
What's Changed
- lxd-agent: Only unblock systemd once /dev/lxd/sock is started by @stgraber in https://github.com/lxc/lxd/pull/10942
- Enable link checker for the documentation by @ru-fu in https://github.com/lxc/lxd/pull/10948
- doc: update IRC link by @ru-fu in https://github.com/lxc/lxd/pull/10949
- lxd/apparmor/instance: allow reading /proc/pid/cpuset by @simondeziel in https://github.com/lxc/lxd/pull/10950
- tests: Respect LXD_SHIFTFS_DISABLE by @stgraber in https://github.com/lxc/lxd/pull/10952
- doc/metrics: add
lxd_cpu_effective_total
to the list of metrics by @ru-fu in https://github.com/lxc/lxd/pull/10954 - docs: Added snap version directory for global remotes by @MrDaGree in https://github.com/lxc/lxd/pull/10935
- Loki fixes by @monstermunchkin in https://github.com/lxc/lxd/pull/10957
- Cgroup: Update GetIOStats to be more flexible by @tomponline in https://github.com/lxc/lxd/pull/10955
- doc: Allow forwarded traffic to the lxd bridge for proxy nat devices by @johanehnberg in https://github.com/lxc/lxd/pull/10966
- Storage: Expose minio start up error to client by @tomponline in https://github.com/lxc/lxd/pull/10964
- Device: Allows hot plugging proxy device (in nat mode) for VMs by @tomponline in https://github.com/lxc/lxd/pull/10967
- cloud-init schema validation by @monstermunchkin in https://github.com/lxc/lxd/pull/10961
- Daemon: Wait until server is ready before handling metrics and bucket API requests that can cause mounts by @tomponline in https://github.com/lxc/lxd/pull/10963
- VM: Dont offer VM support if /dev/vsock is missing by @tomponline in https://github.com/lxc/lxd/pull/10965
- Network: Adds duplicate address check for
ovn
NICs by @tomponline in https://github.com/lxc/lxd/pull/10970 - Add client.operation.WaitContext by @hnakamur in https://github.com/lxc/lxd/pull/10972
- API/Swagger update by @stgraber in https://github.com/lxc/lxd/pull/10973
- lxd: use go-criu/crit for dump statistics by @snprajwal in https://github.com/lxc/lxd/pull/10969
- Network: Separate DNS IP configuration from dynamic IP extraction logic by @tomponline in https://github.com/lxc/lxd/pull/10976
- Storage: Don't fail ZFS pool Mount if policy cannot be applied to existing datasets by @tomponline in https://github.com/lxc/lxd/pull/10975
- doc/server: update Loki config by @simondeziel in https://github.com/lxc/lxd/pull/10974
- Network: Manage DHCPv4 reservations when adding/removing OVN NICs by @tomponline in https://github.com/lxc/lxd/pull/10978
- doc/header: update to new menu style for linuxcontainers.org by @edlerd in https://github.com/lxc/lxd/pull/10968
- refactor: move from io/ioutil to io and os packages by @Juneezee in https://github.com/lxc/lxd/pull/10979
- lxd/apparmor: apparmor profile for qemu-img by @Viktor-Yakovchuk in https://github.com/lxc/lxd/pull/10690
- scripts/bash/lxd-client: Add missing network sub-commands by @tomponline in https://github.com/lxc/lxd/pull/10980
- AppArmor: Fix QemuImg when using symlinks by @tomponline in https://github.com/lxc/lxd/pull/10984
- Storage: Fix incorrect ZFS mount dataset policy error check by @tomponline in https://github.com/lxc/lxd/pull/10983
- lxd/storage/utils: Fix error in ImageUnpack by @tomponline in https://github.com/lxc/lxd/pull/10985
- doc/linting: fix failures about indentation for unordered lists by @ru-fu in https://github.com/lxc/lxd/pull/10989
- lxd-agent: Restart server on CID change by @monstermunchkin in https://github.com/lxc/lxd/pull/10991
- AppArmor: Fix QemuImg policy to support snap by @tomponline in https://github.com/lxc/lxd/pull/10988
- lxd/instance/drivers/driver/qemu: comment typo by @tomponline in https://github.com/lxc/lxd/pull/10993
- lxd-agent: Fix filesystem metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/10996
- LXD: Remove use of node.ClusterAddress helper by @tomponline in https://github.com/lxc/lxd/pull/10998
- LXD: Use cached local HTTP address and remove node.HTTPAddress() function by @tomponline in https://github.com/lxc/lxd/pull/11002
- Instance: Handle unsupported devices from profiles shared with multiple instance types by @tomponline in https://github.com/lxc/lxd/pull/11001
- LXD: Use consistent "member" terminology when using
tx.GetNodes()
by @tomponline in https://github.com/lxc/lxd/pull/11003 - Instance: Sort snapshots by ID if creation datetime matches by @tomponline in https://github.com/lxc/lxd/pull/11009
- Instance: Add Delete operation lock by @tomponline in https://github.com/lxc/lxd/pull/11007
- Client: Updates CreateImage to stream files from disk to server by @tomponline in https://github.com/lxc/lxd/pull/11008
- doc/storage: add video links by @ru-fu in https://github.com/lxc/lxd/pull/11012
- Add ACME support for server certificate by @monstermunchkin in https://github.com/lxc/lxd/pull/10992
- doc/authentication: add http-{301,403} backends to HAProxy example by @simondeziel in https://github.com/lxc/lxd/pull/11014
- Device: Fix bridge NIC start failures when using
vlan
when parent bridge has no default PVID by @tomponline in https://github.com/lxc/lxd/pull/11013 - Instance: Add TCP keepalives/timeouts, and websocket level keepalives to exec channels by @tomponline in https://github.com/lxc/lxd/pull/11011
- shared/version: Fix regression in useragent string by @stgraber in https://github.com/lxc/lxd/pull/11015
- lxc: Fix symlink following in cmdFilePull by @tomponline in https://github.com/lxc/lxd/pull/11018
- Tweak server configuration list overview by @simondeziel in https://github.com/lxc/lxd/pull/11019
- Add warning if cluster certificate update fails by @monstermunchkin in https://github.com/lxc/lxd/pull/11017
- Add internal metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/11006
- api: Add internal_metrics API extension by @monstermunchkin in https://github.com/lxc/lxd/pull/11020
- .sphinx: Add
goroutines
anduptime
to wordlist by @monstermunchkin in https://github.com/lxc/lxd/pull/11021 - Instance: Improve exit status and error handling in exec by @tomponline in https://github.com/lxc/lxd/pull/11024
- doc/api-extensions:
/1.0
doesn't accept a trailing "/" by @simondeziel in https://github.com/lxc/lxd/pull/11026 - lxd/main/interactive: Remove user facing "node" references by @tomponline in https://github.com/lxc/lxd/pull/11023
- lxc: Fix filtering in
lxc list
when using YAML output format by @tomponline in https://github.com/lxc/lxd/pull/11025 - doc: rework clustering section by @ru-fu in https://github.com/lxc/lxd/pull/11022
- doc: Update metrics by @monstermunchkin in https://github.com/lxc/lxd/pull/11028
- Device: Add case insensitive DNS name conflict check for
bridged
andovn
NICs connected to managed networks by @tomponline in https://github.com/lxc/lxd/pull/11029 - doc/rest-api: Add missing Ready state by @stgraber in https://github.com/lxc/lxd/pull/11032
- doc: add a link to the development process YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/11035
- Add expiry date to cluster join token by @monstermunchkin in https://github.com/lxc/lxd/pull/11031
- Export initialization helpers by @masnax in https://github.com/lxc/lxd/pull/11036
- Add remote token expiry by @monstermunchkin in https://github.com/lxc/lxd/pull/11038
- VM: Fix unmount race during LXD startup registeration of running VMs by @tomponline in https://github.com/lxc/lxd/pull/11040
New Contributors
- @MrDaGree made their first contribution in https://github.com/lxc/lxd/pull/10935
- @snprajwal made their first contribution in https://github.com/lxc/lxd/pull/10969
- @edlerd made their first contribution in https://github.com/lxc/lxd/pull/10968
- @Juneezee made their first contribution in https://github.com/lxc/lxd/pull/10979
- @Viktor-Yakovchuk made their first contribution in https://github.com/lxc/lxd/pull/10690
Full Changelog: lxc/incus@lxd-5.6...lxd-5.7
LXD 5.6
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-6-has-been-released/15191
What's Changed
- Doc: Fix typo in howto/storage_backup by @hnakamur in https://github.com/lxc/lxd/pull/10821
- Fix dependencies by @stgraber in https://github.com/lxc/lxd/pull/10825
- doc: backquote true and NO_PROXY in doc/server.md by @hnakamur in https://github.com/lxc/lxd/pull/10826
- doc: backquote instance types in events.md by @hnakamur in https://github.com/lxc/lxd/pull/10824
- doc: backqoute cloud-init in doc/cloud-init.md by @hnakamur in https://github.com/lxc/lxd/pull/10823
- doc: backquote mac in doc/api-extensions.md by @hnakamur in https://github.com/lxc/lxd/pull/10822
- Doc: Uses more backquotes in documents by @hnakamur in https://github.com/lxc/lxd/pull/10828
- doc: Note AIO requirement by @cole-miller in https://github.com/lxc/lxd/pull/10832
- Storage: Fix typo in
cephobject.radosgw.endpoint*
settings by @tomponline in https://github.com/lxc/lxd/pull/10831 - Adds storage pool to instance-created lifecycle context by @markylaing in https://github.com/lxc/lxd/pull/10829
- Doc fixes buckets by @ru-fu in https://github.com/lxc/lxd/pull/10830
- Generator: Use variadic filter structs by @masnax in https://github.com/lxc/lxd/pull/10833
- DB: Apply schema patch version for bucket config typo fix by @tomponline in https://github.com/lxc/lxd/pull/10837
- Doc: several fixes by @ru-fu in https://github.com/lxc/lxd/pull/10839
- api: metric: lxd_cpu_seconds_total: fix help text, floats by @exsver in https://github.com/lxc/lxd/pull/10834
- Storage: Create initial admin credentials on bucket creation by @tomponline in https://github.com/lxc/lxd/pull/10835
- lxd-generate Allow Type field in filter struct by @markylaing in https://github.com/lxc/lxd/pull/10836
- lxd/db/generate/db/method: Fix external package support by @masnax in https://github.com/lxc/lxd/pull/10840
- lxd/db/generate/db/stmt: Add joinon tag by @masnax in https://github.com/lxc/lxd/pull/10841
- lxd/db/generate/db/stmt: Use joinon tag for ID query generation by @masnax in https://github.com/lxc/lxd/pull/10847
- lxd-generate join config by @markylaing in https://github.com/lxc/lxd/pull/10845
- Project rename response docs by @markylaing in https://github.com/lxc/lxd/pull/10848
- doc/requirements: correct statement about AIO by @cole-miller in https://github.com/lxc/lxd/pull/10852
- Storage: Use
Volume
to represent buckets with a new VolumeType by @tomponline in https://github.com/lxc/lxd/pull/10850 - Storage: Precursor changes before local bucket support by @tomponline in https://github.com/lxc/lxd/pull/10854
- doc: improve systemd-resolved integration by adding stop command by @simondeziel in https://github.com/lxc/lxd/pull/10856
- New lxd_cpu_effective_total metric by @exsver in https://github.com/lxc/lxd/pull/10849
- Doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/10858
- doc/storage/volumes: add
--all-projects
to documentation by @ru-fu in https://github.com/lxc/lxd/pull/10859 - lxd/apparmor: Deref compress commands by @stgraber in https://github.com/lxc/lxd/pull/10860
- doc: add related links to the start page by @ru-fu in https://github.com/lxc/lxd/pull/10863
- Add instance-ready event by @julio641742 in https://github.com/lxc/lxd/pull/10857
- github: Use markdownlint by @ru-fu in https://github.com/lxc/lxd/pull/10846
- Test: Adds timeout to
lxc
command calls by @tomponline in https://github.com/lxc/lxd/pull/10864 - Instance: Remove duplicate profiles argument from
instance.Load()
by @tomponline in https://github.com/lxc/lxd/pull/10871 - Instance: Load api.Project into instance common struct by @tomponline in https://github.com/lxc/lxd/pull/10869
- doc/metrics: add a list of provided metrics by @ru-fu in https://github.com/lxc/lxd/pull/10878
- doc/network/bgp: add some clarifications to the BGP docs by @ru-fu in https://github.com/lxc/lxd/pull/10877
- lxc-to-lxd: Handle linux32 and linux64 arch personalities by @monstermunchkin in https://github.com/lxc/lxd/pull/10872
- lxd/apparmor: allow rw access to /sys/fs/bpf by @morphis in https://github.com/lxc/lxd/pull/10884
- doc/storage/dir: add link to the YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/10883
- VM: Adds support for multi-queue macvlan NICs in VMs by @tomponline in https://github.com/lxc/lxd/pull/10876
- Networks: Adds
restricted.networks.access
setting by @tomponline in https://github.com/lxc/lxd/pull/10866 - Add profiles to backup data by @presztak in https://github.com/lxc/lxd/pull/10880
- doc/migration: Document lxc-to-lxd tool by @ru-fu in https://github.com/lxc/lxd/pull/10882
- lxd-generate: Create filtered statements from pre-existing "objects" statement. by @masnax in https://github.com/lxc/lxd/pull/10870
- Migration cleanup by @ru-fu in https://github.com/lxc/lxd/pull/10887
- doc/migration: clarify how to enable live migration for VMs by @ru-fu in https://github.com/lxc/lxd/pull/10889
- lxc: Fix panic when doing
lxc alias add
without existing config.yaml by @tomponline in https://github.com/lxc/lxd/pull/10888 - Network: Make dnsmasq start failure a network start failure by @tomponline in https://github.com/lxc/lxd/pull/10886
- GetAllXattr: handle overlay filtering by @hallyn in https://github.com/lxc/lxd/pull/10885
- lxd-generate: Refactor
stmt
generation with more manual intervention by @masnax in https://github.com/lxc/lxd/pull/10881 - DB: Removes inefficient
storagePoolVolumeGetType
and associated functions by @tomponline in https://github.com/lxc/lxd/pull/10890 - Storage: Object storage with MinIO by @tomponline in https://github.com/lxc/lxd/pull/10809
- lxd/db/generate/db/mapping: Use 'join' tag to deduce column name by @masnax in https://github.com/lxc/lxd/pull/10891
- AppArmor: Use non-deferenced outputPath to derive profile name in
archiveProfile
by @tomponline in https://github.com/lxc/lxd/pull/10895 - Storage: Use a sub-directory for minio on storage volume by @tomponline in https://github.com/lxc/lxd/pull/10893
- gomod: Updates dependencies by @tomponline in https://github.com/lxc/lxd/pull/10892
- LXD: Add context support to
subprocess
package by @tomponline in https://github.com/lxc/lxd/pull/10894 - Shared: Update GetAllXattr implementation using github.com/pkg/xattr by @tomponline in https://github.com/lxc/lxd/pull/10897
- Shared: Don't modify the global logrus standard logger by @tomponline in https://github.com/lxc/lxd/pull/10896
- lxd: Fix calls to inst.Project().Name when used in fmt.Sprintf by @tomponline in https://github.com/lxc/lxd/pull/10898
- lxd-generate: Use
QueryRowContext
forGet<entity>ID
by @masnax in https://github.com/lxc/lxd/pull/10899 - gomod: go mod tidy by @tomponline in https://github.com/lxc/lxd/pull/10903
- Firewall: Pass nftables rules via stdin rather than as command arguments by @tomponline in https://github.com/lxc/lxd/pull/10902
- Database: Use
QueryContext
inquery.Scan
andquery.SelectObjects
by @masnax in https://github.com/lxc/lxd/pull/10900 - Test: Adds
LXD_SKIP_TESTS
option by @tomponline in https://github.com/lxc/lxd/pull/10907 - Image: Maintain
Cached
property when creating an image in a project from an existing project by @tomponline in https://github.com/lxc/lxd/pull/10906 - Lxd-generate: Remove superfluous GetID error check by @masnax in https://github.com/lxc/lxd/pull/10908
- Database: Replace
tx.Query
withtx.QueryContext
andtx.QueryRow
withtx.QueryRowContext
by @masnax in https://github.com/lxc/lxd/pull/10901 - build(deps): bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10912
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10911
- shared/osarch: Improve 32bit arm handling by @stgraber in https://github.com/lxc/lxd/pull/10918
- Add new validators by @masnax in https://github.com/lxc/lxd/pull/10917
- Remove
-List
validators by @masnax in https://github.com/lxc/lxd/pull/10919 - Network: Fix ipv4.routes validation in
physical
network driver by @tomponline in https://github.com/lxc/lxd/pull/10920 - doc: update footer to display correctly by @ru-fu in https://github.com/lxc/lxd/pull/10923
- Storage: Run local bucket
minio
process as LXD's unprivileged user by @tomponline in https://github.com/lxc/lxd/pull/10922 - test: Adds LXD_REQUIRED_TESTS support by @tomponline in https://github.com/lxc/lxd/pull/10924
- Device: Fix project name in device logger by @tomponline in https://github.com/lxc/lxd/pull/10925
- Update gomod by @monstermunchkin in https://github.com/lxc/lxd/pull/10928
- client: Handle nil args in CopyImage by @monstermunchkin in https://github.com/lxc/lxd/pull/10930
- Add a performance tuning section by @ru-fu in https://github.com/lxc/lxd/pull/10916
- How to benchmark performance by @ru-fu in https://github.com/lxc/lxd/pull/10931
- Storage documentation by @ru-fu in https://github.com/lxc/lxd/pull/10932
- doc/instance API: add link to YouTube video by @ru-fu in https://github.com/lxc/lxd/pull/10933
- Infiniband support for VMs by @monstermunchkin in https://github.com/lxc/lxd/pull/10710
- Stream lifecycle and log events to Loki by @monstermunchkin in https://github.com/lxc/lxd/pull/10915
New Contributors
- @cole-miller made their first contribution in https://github.com/lxc/lxd/pull/10832
- @julio641742 made their first contribution in https://github.com/lxc/lxd/pull/10857
Full Changelog: lxc/incus@lxd-5.5...lxd-5.6
LXD 5.5
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-5-has-been-released/14899
What's Changed
- Remove redundant LXD before ZFS pool by @hnakamur in https://github.com/lxc/lxd/pull/10689
- Doc: Fix LXD volume group to LVM by @hnakamur in https://github.com/lxc/lxd/pull/10688
- doc/authentication: add information about a server behind NAT by @ru-fu in https://github.com/lxc/lxd/pull/10692
- Generator: New generator logic for Warnings by @masnax in https://github.com/lxc/lxd/pull/10695
- DB: Remove unused warning types by @tomponline in https://github.com/lxc/lxd/pull/10697
- doc/storage: add link to video about benchmarking storage drivers by @ru-fu in https://github.com/lxc/lxd/pull/10698
- lxc/remote: Allow specifying alternate server address for tokens by @monstermunchkin in https://github.com/lxc/lxd/pull/10693
- DB: Fix bug in GetNetworkLoadBalancers and other DB query tweaks by @tomponline in https://github.com/lxc/lxd/pull/10699
- Storage: Fix "lvm.stripes cannot be used with thin pool volumes" error by @tomponline in https://github.com/lxc/lxd/pull/10700
- Remove duplicate prepared statement store by @masnax in https://github.com/lxc/lxd/pull/10702
- LXD: Lifecycle and SyncResponseLocation fixes by @tomponline in https://github.com/lxc/lxd/pull/10701
- DB: Don't use query parameters with IN statement when loading instance config in InstanceList by @tomponline in https://github.com/lxc/lxd/pull/10706
- LXD: Update SyncResponseLocation URLs to include project parameter where appropriate by @tomponline in https://github.com/lxc/lxd/pull/10703
- lxd/resources: Fix VPD parser crash by @stgraber in https://github.com/lxc/lxd/pull/10709
- Doc spell check by @ru-fu in https://github.com/lxc/lxd/pull/10661
- Add instance Ready state by @monstermunchkin in https://github.com/lxc/lxd/pull/10691
- DB: Fixes "Failed to get snapshots: Failed to fetch from "config" table: sql: Rows are closed" errors by @tomponline in https://github.com/lxc/lxd/pull/10712
- docs: Update storage create pool howto by @cricalix in https://github.com/lxc/lxd/pull/10713
- lxd-agent: Handle PATCH /1.0 in devlxd by @monstermunchkin in https://github.com/lxc/lxd/pull/10714
- doc: mark up default values correctly by @ru-fu in https://github.com/lxc/lxd/pull/10717
- API: Only allow admin users to see storage pool and network config by @tomponline in https://github.com/lxc/lxd/pull/10722
- Storage: Add common volume management "not supported" functions by @tomponline in https://github.com/lxc/lxd/pull/10720
- Network: Support patching forwarder and load balancer configs by @tomponline in https://github.com/lxc/lxd/pull/10719
- LXC: Fix expanded show of instance snapshot by @tomponline in https://github.com/lxc/lxd/pull/10715
- Storage: Scan pool device source for BTRFS filesystems before mounting by @tomponline in https://github.com/lxc/lxd/pull/10723
- Instance: Remove InstanceToArgs function by @tomponline in https://github.com/lxc/lxd/pull/10716
- Doc landing page by @ru-fu in https://github.com/lxc/lxd/pull/10728
- Tests: Fix devlxd tests on go-tip by @tomponline in https://github.com/lxc/lxd/pull/10726
- Storage: Fix
Invalid argument
errors on BTRFS pool mount by @tomponline in https://github.com/lxc/lxd/pull/10725 - Daemon: Add explicit instancesLoaded bool to indicate if shared mounts can be cleaned up by @tomponline in https://github.com/lxc/lxd/pull/10727
- Client: Set transport.DialTLSContext in tlsHTTPClient by @tomponline in https://github.com/lxc/lxd/pull/10735
- Util: Adds detection of
RunError
type toExitStatus
function by @tomponline in https://github.com/lxc/lxd/pull/10729 - Test: Order tweaks for proxy device tests by @tomponline in https://github.com/lxc/lxd/pull/10733
- doc/reference: improve description of storage option by @simondeziel in https://github.com/lxc/lxd/pull/10737
- Network: Fix regression in GetNetworkLoadBalancers by @tomponline in https://github.com/lxc/lxd/pull/10736
- lxd: Fixes API version for instances in project usedby. by @markylaing in https://github.com/lxc/lxd/pull/10741
- Test: Make basic_usage reboot test more reliable by @tomponline in https://github.com/lxc/lxd/pull/10740
- lxd/db: Fix escaped slashes in storage volume URIs. by @markylaing in https://github.com/lxc/lxd/pull/10742
- workflows: Adds edge ppa's and removes make deps step. by @markylaing in https://github.com/lxc/lxd/pull/10744
- URLs: Generate URLs in GetClusterGroupURIs correctly by @tomponline in https://github.com/lxc/lxd/pull/10743
- lxd/storage/drivers/zfs: set atime=off and relatime=on by @simondeziel in https://github.com/lxc/lxd/pull/10747
- doc/reference: fix description of dir source param by @simondeziel in https://github.com/lxc/lxd/pull/10749
- lxd/cgroup/abstractions: Improve errors from GetIOStats by @tomponline in https://github.com/lxc/lxd/pull/10750
- Instance: Use more efficient snapshot loading query when deleting snapshots by @tomponline in https://github.com/lxc/lxd/pull/10751
- lxd: Adds
RunCommandContext
function and updatesRunError
withUnwrap
function by @tomponline in https://github.com/lxc/lxd/pull/10752 - cgo: ensure that lxd wrappers don't conflict with libc provided wrapper by @brauner in https://github.com/lxc/lxd/pull/10756
- Small doc fixes by @ru-fu in https://github.com/lxc/lxd/pull/10757
- lxc/remote: the admin password prompt also accepts a token by @simondeziel in https://github.com/lxc/lxd/pull/10758
- Use SI units for storage by @simondeziel in https://github.com/lxc/lxd/pull/10762
- doc/storage/zfs: {remove_snapshots,use_refquota,reserve_space} are bools by @simondeziel in https://github.com/lxc/lxd/pull/10761
- Adds instance type to instance-created lifecycle event context. by @markylaing in https://github.com/lxc/lxd/pull/10760
- Storage: Don't use losetup --direct-io=off to support CentOS 7 by @tomponline in https://github.com/lxc/lxd/pull/10763
- doc/migration: clean up "live migration" documentation by @ru-fu in https://github.com/lxc/lxd/pull/10767
- Storage: Improve and simplify
/1.0/storage-pools/<pool>/volumes
endpoint by @tomponline in https://github.com/lxc/lxd/pull/10769 - doc: use HTTPS for links to CRIU site and inotify man by @simondeziel in https://github.com/lxc/lxd/pull/10770
- Network: BGP peer holdtime option configuration by @ivanovuri in https://github.com/lxc/lxd/pull/10768
- Storage: Volume list improvements by @tomponline in https://github.com/lxc/lxd/pull/10773
- lxd-user: Fix use with clusters by @stgraber in https://github.com/lxc/lxd/pull/10774
- LXD: Replace
InstanceGetParentAndSnapshotName
withGetParentAndSnapshotName
by @tomponline in https://github.com/lxc/lxd/pull/10775 - Storage: Volume list improvements by @tomponline in https://github.com/lxc/lxd/pull/10777
- lxd/projects: Ensure default project has features.networks by @stgraber in https://github.com/lxc/lxd/pull/10780
- grafana: Only use instant queries on piechart graphs by @simondeziel in https://github.com/lxc/lxd/pull/10782
- lxd/network: Fix BGP without hold time by @stgraber in https://github.com/lxc/lxd/pull/10781
- Storage: Adds
--all-projects
tolxc storage volume list
by @tomponline in https://github.com/lxc/lxd/pull/10778 - Instance: Generate
volatile.uuid
if needed on move by @tomponline in https://github.com/lxc/lxd/pull/10786 - Database: Adds remote storage aware unique index to
storage_volumes
by @tomponline in https://github.com/lxc/lxd/pull/10787 - Network: Include error from bridge n.populateAutoConfig by @tomponline in https://github.com/lxc/lxd/pull/10788
- Network: Lower case OVN DNS names by @tomponline in https://github.com/lxc/lxd/pull/10789
- Storage: Don't use project param when deleting image volumes during storage pool deletion by @tomponline in https://github.com/lxc/lxd/pull/10790
- Generator: Remove unnecessary statement prepares from Config/Devices by @masnax in https://github.com/lxc/lxd/pull/10793
- doc/storage/ceph: remove YouTube link from content that is reused by @ru-fu in https://github.com/lxc/lxd/pull/10801
- Makefile: Moves shellcheck version call into static-analysis target. by @markylaing in https://github.com/lxc/lxd/pull/10798
- metrics: new metric: lxd_memory_OOM_kills_total by @exsver in https://github.com/lxc/lxd/pull/10791
- lxd-generate: Allow GetOne filter to include a 'type' field. by @markylaing in https://github.com/lxc/lxd/pull/10802
- Doc: Separate storage howtos to cover pool and volumes separately by @tomponline in https://github.com/lxc/lxd/pull/10799
- api: metrics_memory_oom_total by @stgraber in https://github.com/lxc/lxd/pull/10805
- Doc for lxd-migrate by @ru-fu in https://github.com/lxc/lxd/pull/10804
- Network: Fixes impossibility to set MTU for a pair of veths connecting OVN uplink and ovs-system bridges by @Fenixoff in https://github.com/lxc/lxd/pull/10803
- Storage: Add object storage buckets for ceph radosgw by @tomponline in https://github.com/lxc/lxd/pull/10694
- Storage: Fix detection of missing lxd-admin radosgw user in cephobject driver by @tomponline in https://github.com/lxc/lxd/pull/10807
- Database: Use QueryScan rowFunc for SelectObjects by @masnax in https://github.com/lxc/lxd/pull/10794
- Firewall: Use xtables locking in
NetworkApplyACLRules
by @tomponline in https://github.com/lxc/lxd/pull/10812 - Node: Removes inefficient convenience functions that load all node config unnecessarily by @tomponline in https://github.com/lxc/lxd/pull/10808
- Storage: Ceate admin cephobject radosgw-admin user if missing in CreateBucket by @tomponline in https://github.com/lxc/lxd/pull/10815
- lxd/db/generate/db/method: Fix lxd-generate typo by @masnax in https://github.com/lxc/lxd/pull/10817
New Contributors
- @ivanovuri made their first contribution in https://github.com/lxc/lxd/pull/10768
- @exsver made their first contribution in https://github.com/lxc/lxd/pull/10791
- @Fenixoff made their fir...
LXD 5.0.1
LXD 5.4
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-4-has-been-released/14683
What's Changed
- doc: storage: clarify moving of storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10602
- doc: fix version switcher to work for latest by @ru-fu in https://github.com/lxc/lxd/pull/10603
- lxd/network/openvswitch: Use %s so that delimiting quotes are not escaped. by @markylaing in https://github.com/lxc/lxd/pull/10607
- Subprocess: Improve errors in ImportProcess by @tomponline in https://github.com/lxc/lxd/pull/10608
- Tweaks to go-lxc usage by @stgraber in https://github.com/lxc/lxd/pull/10611
- doc: storage: clarify that most docs are about custom volumes by @ru-fu in https://github.com/lxc/lxd/pull/10606
- Update lifecycle events by @stgraber in https://github.com/lxc/lxd/pull/10612
- Enables additional linters via golangci-lint config file. by @markylaing in https://github.com/lxc/lxd/pull/10600
- doc: add link to YouTube video about image handling by @ru-fu in https://github.com/lxc/lxd/pull/10614
- lxd/instance/lxc: Don't fail on missing apparmor by @stgraber in https://github.com/lxc/lxd/pull/10616
- Shell linters and github action by @markylaing in https://github.com/lxc/lxd/pull/10617
- Network: Load balancer struct prerequisites applied to network forwards by @tomponline in https://github.com/lxc/lxd/pull/10618
- Tiny lint fixes by @simondeziel in https://github.com/lxc/lxd/pull/10619
- lxd/network/driver/ovn: Inserts newlines after blocks. by @simondeziel in https://github.com/lxc/lxd/pull/10620
- workflows: Removes unit tests and reinstates ubuntu client tests. by @markylaing in https://github.com/lxc/lxd/pull/10621
- lxd/db/generate/lex: Use cases.Title instead of deprecated strings.Title by @markylaing in https://github.com/lxc/lxd/pull/10622
- Generator: Fix config table error handling. by @masnax in https://github.com/lxc/lxd/pull/10626
- Fix OVN docs by @ru-fu in https://github.com/lxc/lxd/pull/10629
- workflows/static-analysis: Download but do not update dependencies. by @markylaing in https://github.com/lxc/lxd/pull/10632
- Test: Add tests for passing unix character devices as disks into a container by @tomponline in https://github.com/lxc/lxd/pull/10631
- Fix incorrect error fields in swagger by @stgraber in https://github.com/lxc/lxd/pull/10638
- lxd/resources: Handle invalid VPD lengths by @stgraber in https://github.com/lxc/lxd/pull/10637
- Update for current candid by @stgraber in https://github.com/lxc/lxd/pull/10635
- lxd/instance/qemu: Fix qemuCPU template broken numa section by @tarruda in https://github.com/lxc/lxd/pull/10642
- Storage: Fix instance root disk volume config overrides leak volume DB record error by @tomponline in https://github.com/lxc/lxd/pull/10641
- DB: Optimise query pattern for InstanceList by @tomponline in https://github.com/lxc/lxd/pull/10634
- Network: OVN load balancers by @tomponline in https://github.com/lxc/lxd/pull/10609
- Don't double TLS connections between LXD and agent by @stgraber in https://github.com/lxc/lxd/pull/10644
- Instance: Don't wait for update operation to complete when removing disk from running container by @tomponline in https://github.com/lxc/lxd/pull/10647
- Instance: Revert InstanceList selective config loading optimisation by @tomponline in https://github.com/lxc/lxd/pull/10648
- Upgrades shellcheck to version 0.8.0 by @markylaing in https://github.com/lxc/lxd/pull/10649
- doc/instances: add link to NVIDIA video by @ru-fu in https://github.com/lxc/lxd/pull/10653
- lxd: Replace use of cluster "node" with "member" in user facing text by @tomponline in https://github.com/lxc/lxd/pull/10655
- doc: add a more complete prometheus.yaml example by @simondeziel in https://github.com/lxc/lxd/pull/10656
- doc: update storage driver reference by @ru-fu in https://github.com/lxc/lxd/pull/10643
- Generator: Fixes for external calling by @masnax in https://github.com/lxc/lxd/pull/10658
- doc: Load balancer fixes by @ru-fu in https://github.com/lxc/lxd/pull/10657
- lxd/resources: Better handle invalid VPD by @stgraber in https://github.com/lxc/lxd/pull/10663
- doc: Fix use of setup/set up by @stgraber in https://github.com/lxc/lxd/pull/10665
- Several fixes to the storage docs by @ru-fu in https://github.com/lxc/lxd/pull/10664
- Bidirectional vsock interface by @monstermunchkin in https://github.com/lxc/lxd/pull/10610
- Support
volume.*
configurations by @presztak in https://github.com/lxc/lxd/pull/10613 - lxd: Deprecates
ceph.osd.force_reuse
Ceph storage pool setting by @tomponline in https://github.com/lxc/lxd/pull/10666 - lxc: Clarify that monitor --log-level can only be used with pretty formatting mode by @tomponline in https://github.com/lxc/lxd/pull/10671
- Doc: Two additional storage how-tos by @ru-fu in https://github.com/lxc/lxd/pull/10673
- Storage: Fix ParseFloat warnings when instance on LVM thinpool not running by @tomponline in https://github.com/lxc/lxd/pull/10676
- doc/storage: move content from FAQ to storage section by @ru-fu in https://github.com/lxc/lxd/pull/10675
- lxd/resources: Better handle ethtool errors by @stgraber in https://github.com/lxc/lxd/pull/10677
- lxd/instance/drivers: Handle QEMU I/O errors by @stgraber in https://github.com/lxc/lxd/pull/10678
- Client: Add 30s HTTP header timeout for image download by @tomponline in https://github.com/lxc/lxd/pull/10681
- VM: Fix instance reference leak in getMonitorEventHandler by @tomponline in https://github.com/lxc/lxd/pull/10682
- DB: Make config tables
value
fields NOT NULL by @tomponline in https://github.com/lxc/lxd/pull/10680 - doc: Update cloud-init.md with user-data examples by @cricalix in https://github.com/lxc/lxd/pull/10669
- lxd/instance/drivers: Rename agentReady to agentStarted by @monstermunchkin in https://github.com/lxc/lxd/pull/10683
- Fix v1 generator code style by @masnax in https://github.com/lxc/lxd/pull/10684
- DB: Query optimisations by @tomponline in https://github.com/lxc/lxd/pull/10685
- Don't expose internal structs by @stgraber in https://github.com/lxc/lxd/pull/10686
New Contributors
- @cricalix made their first contribution in https://github.com/lxc/lxd/pull/10669
Full Changelog: lxc/incus@lxd-5.3...lxd-5.4
LXD 5.3
Announcement
https://discuss.linuxcontainers.org/t/lxd-5-3-has-been-released/14439
What's Changed
- lxd/resources: Handle ethtool not supported by @stgraber in https://github.com/lxc/lxd/pull/10465
- Fix issue with image profiles during copy by @stgraber in https://github.com/lxc/lxd/pull/10466
- Fix bad profile copy handling by @stgraber in https://github.com/lxc/lxd/pull/10467
- lxd/main_forkfile: Change counting model by @stgraber in https://github.com/lxc/lxd/pull/10469
- Instance: Convert more qemu config templates by @tarruda in https://github.com/lxc/lxd/pull/10450
- doc: fix version numbers in the version switcher by @ru-fu in https://github.com/lxc/lxd/pull/10476
- lxd/instance/lxc: Stop forkfile on restore by @stgraber in https://github.com/lxc/lxd/pull/10477
- Storage doc by @ru-fu in https://github.com/lxc/lxd/pull/10475
- Events: Remove frequent
Failed closing listener connection
error by @tomponline in https://github.com/lxc/lxd/pull/10472 - Operations: Fixes race conditions on status propery and improves some function names by @tomponline in https://github.com/lxc/lxd/pull/10471
- Database Refactor: Profiles by @masnax in https://github.com/lxc/lxd/pull/10463
- Instance: convert qemuCPU plus a few other simple templates by @tarruda in https://github.com/lxc/lxd/pull/10473
- Storage: Don't close migration socket on error by @tomponline in https://github.com/lxc/lxd/pull/10480
- doc: update info on how to grow a ZFS pool by @ru-fu in https://github.com/lxc/lxd/pull/10482
- Instance: Allow 5 minutes for the root disk unmount process by @tomponline in https://github.com/lxc/lxd/pull/10486
- Instance: convert remaining qemu templates by @tarruda in https://github.com/lxc/lxd/pull/10481
- Instance: Fix ZFS tests with exclusive lock on refresh by @tomponline in https://github.com/lxc/lxd/pull/10484
- How to create a storage pool by @ru-fu in https://github.com/lxc/lxd/pull/10485
- doc: storage: Clarify driver names by @ru-fu in https://github.com/lxc/lxd/pull/10488
- Instance: Final cleanup after refactoring qemu config building by @tarruda in https://github.com/lxc/lxd/pull/10487
- lxd/storage/drivers/zfs: Fix VM migration by @monstermunchkin in https://github.com/lxc/lxd/pull/10489
- Operations: Prevent image related background tasks from running concurrently and stepping on each other by @tomponline in https://github.com/lxc/lxd/pull/10491
- Events: Consistently close connection on function exit by @tomponline in https://github.com/lxc/lxd/pull/10490
- Storage: Custom volume migration fixes by @tomponline in https://github.com/lxc/lxd/pull/10493
- How to add storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10494
- Restore unprivileged archive unpack behavior by @stgraber in https://github.com/lxc/lxd/pull/10495
- doc/howto/ovn: Fix incorrect config syntax by @stgraber in https://github.com/lxc/lxd/pull/10497
- doc: storage: clarification about sharing of storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10500
- Update /1.0/events API description by @stgraber in https://github.com/lxc/lxd/pull/10499
- lxd/instance/qemu: Support running inside a LXD container by @stgraber in https://github.com/lxc/lxd/pull/10504
- lxd/operations: Fix crash on nil state by @stgraber in https://github.com/lxc/lxd/pull/10508
- chore: Set permissions for GitHub actions by @nathannaveen in https://github.com/lxc/lxd/pull/10513
- Storage: Restore missing instance volume snapshot DB records by @tomponline in https://github.com/lxc/lxd/pull/10516
- LXD: Move away from accepting revert.Reverter as an argument and instead return revert.Hook for cleanup by @tomponline in https://github.com/lxc/lxd/pull/10502
- chore: Included githubactions in the dependabot config by @naveensrinivasan in https://github.com/lxc/lxd/pull/10515
- build(deps): bump actions/labeler from 3 to 4 by @dependabot in https://github.com/lxc/lxd/pull/10518
- build(deps): bump actions/upload-artifact from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10520
- build(deps): bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10517
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in https://github.com/lxc/lxd/pull/10519
- Tweak Github Actions by @stgraber in https://github.com/lxc/lxd/pull/10521
- Migration: Improve migration index header negotiation and format by @tomponline in https://github.com/lxc/lxd/pull/10523
- doc: Update for new myst_parser by @stgraber in https://github.com/lxc/lxd/pull/10527
- lxd-user: Use getent by @stgraber in https://github.com/lxc/lxd/pull/10528
- lxd/certificates: Require an address for token issuance by @stgraber in https://github.com/lxc/lxd/pull/10529
- Fix network forward example in edit by @stgraber in https://github.com/lxc/lxd/pull/10532
- lxd/instance/qemu: Drop bootIndex from PCI by @stgraber in https://github.com/lxc/lxd/pull/10530
- lxd/cgroup: Better handle broken CGroupV2 setups by @stgraber in https://github.com/lxc/lxd/pull/10533
- Handle custom volume refresh properly by @monstermunchkin in https://github.com/lxc/lxd/pull/10510
- github: Only run dependencies check on PR by @stgraber in https://github.com/lxc/lxd/pull/10535
- Instance: Allow storage volume config to be migrated by @tomponline in https://github.com/lxc/lxd/pull/10526
- tests: Skip EDITOR=cat when not a terminal by @stgraber in https://github.com/lxc/lxd/pull/10536
- doc: fix indentation for commands by @ru-fu in https://github.com/lxc/lxd/pull/10538
- New
raw.qemu.conf
config option by @tarruda in https://github.com/lxc/lxd/pull/10512 - doc/instances: Add section about raw.qemu.conf by @tarruda in https://github.com/lxc/lxd/pull/10539
- doc: add link to video about network forwards by @ru-fu in https://github.com/lxc/lxd/pull/10544
- Generator: Handle Devices as a collection by @masnax in https://github.com/lxc/lxd/pull/10541
- Database: Refactor database actions for Instances by @masnax in https://github.com/lxc/lxd/pull/10542
- Fix sysinfo boottime by @stgraber in https://github.com/lxc/lxd/pull/10549
- Database: Refactor db.InstanceSnapshot to cluster.InstanceSnapshot by @masnax in https://github.com/lxc/lxd/pull/10547
- Database: Refactor db.Image to cluster.Image by @masnax in https://github.com/lxc/lxd/pull/10548
- Database: Refactor db.Operation to cluster.Operation by @masnax in https://github.com/lxc/lxd/pull/10550
- Fix incorrect usage on lxc storage volume by @stgraber in https://github.com/lxc/lxd/pull/10555
- lxd/profiles/utils: Add missing profiles slice check by @masnax in https://github.com/lxc/lxd/pull/10557
- Storage doc: add howtos by @ru-fu in https://github.com/lxc/lxd/pull/10556
- Instance: Move most of device lifecycle logic into common driver by @tomponline in https://github.com/lxc/lxd/pull/10551
- lxd/dns: Add support for SOA (and accept IXFR) by @stgraber in https://github.com/lxc/lxd/pull/10559
- Enables gosimple linter and fixes lint errors by @markylaing in https://github.com/lxc/lxd/pull/10562
- Device: Allow copying and snapshot restoring instance snapshots that results in device confict by @tomponline in https://github.com/lxc/lxd/pull/10546
- Instance: Use the negotiated index migration header version on target by @tomponline in https://github.com/lxc/lxd/pull/10567
- Fix ACL UsedBy Instance type assertion by @masnax in https://github.com/lxc/lxd/pull/10570
- Instance: Stop and remove device after non-user requested update validation fails by @tomponline in https://github.com/lxc/lxd/pull/10572
- lxd/device/disk: Fix ceph creds on custom volumes by @stgraber in https://github.com/lxc/lxd/pull/10574
- build(deps): bump actions/dependency-review-action from 1 to 2 by @dependabot in https://github.com/lxc/lxd/pull/10577
- github: Disable dependabot labels by @stgraber in https://github.com/lxc/lxd/pull/10581
- lxd/network/ovs: Add timeout to nbctl/sbctl by @stgraber in https://github.com/lxc/lxd/pull/10582
- doc: add link to the YouTube video about network zones by @ru-fu in https://github.com/lxc/lxd/pull/10586
- shared/logger: Filter event levels for syslog by @stgraber in https://github.com/lxc/lxd/pull/10584
- Add cephfs.fscache by @stgraber in https://github.com/lxc/lxd/pull/10583
- lxc: List volumes under used-by by @monstermunchkin in https://github.com/lxc/lxd/pull/10579
- doc: Rename refquota config key name for use_refquota by @presztak in https://github.com/lxc/lxd/pull/10588
- doc: storage: I/O limits by @ru-fu in https://github.com/lxc/lxd/pull/10592
- doc: storage: how to back up storage volumes by @ru-fu in https://github.com/lxc/lxd/pull/10587
- Adds staticcheck and fixes lint errors by @markylaing in https://github.com/lxc/lxd/pull/10580
- doc: storage: cleanup of the general storage drivers reference by @ru-fu in https://github.com/lxc/lxd/pull/10593
- Fixes structcheck, typecheck, unused, varcheck lint errors by @markylaing in https://github.com/lxc/lxd/pull/10594
- lxd-agent exec bug by @markylaing in https://github.com/lxc/lxd/pull/10597
- Fix migration between LXD 4.0 and LXD 5.0 by @monstermunchkin in https://github.com/lxc/lxd/pull/10591
- lxd-generate: Revert to deprecated strings.Title. by @markylaing in https://github.com/lxc/lxd/pull/10598
- Add some API constants by @stgraber in https://github.com/lxc/lxd/pull/10599
New Contributors
- @nathannaveen made their first contribution in https://github.com/lxc/lxd/pull/10513
- @naveensrinivasan made their first contribution in https://github.com/lxc/lxd/pull/10515
- @dependabot made their first contribution in https://github.com/lxc/lxd/pull/10518
Full Changelog: lxc/incus@lxd-5.2...lxd-5.3