Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various bugfixes #1054

Merged
merged 16 commits into from
Jul 27, 2024
Merged

Various bugfixes #1054

merged 16 commits into from
Jul 27, 2024

Conversation

stgraber
Copy link
Member

No description provided.

A VG query failing would cause the function to attempt to divide by 0
causing a Go process panic...

Signed-off-by: Stéphane Graber <[email protected]>
The --project and --target-project logic was switched up.

Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
@hallyn hallyn merged commit 8828254 into lxc:main Jul 27, 2024
30 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Aug 10, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [lxc/incus](https://github.com/lxc/incus) | minor | `v6.3.0` -> `v6.4.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>lxc/incus (lxc/incus)</summary>

### [`v6.4.0`](https://github.com/lxc/incus/releases/tag/v6.4.0): Incus 6.4

[Compare Source](lxc/incus@v6.3.0...v6.4.0)

### Announcement

https://discuss.linuxcontainers.org/t/incus-6-4-has-been-released/21323

#### What's Changed

-   incus-simplestreams: Fix split images by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#987
-   incusd/instance/edk2: Support OVMF filenames on arm64 by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#991
-   Import LXD changes from stable-5.0 by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#988
-   incusd/instance/drivers/qemu: Limit CPU flag calculation to x86\_64 by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#992
-   doc: Add OCI mentions by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#990
-   incusd/instance/qemu: Fix architecture check being backward by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1000
-   incus/s3: Fix mcli minio client executable name check by [@&#8203;apophys](https://github.com/apophys) in lxc/incus#998
-   OCI container fixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1001
-   incus-simplestreams: Handle removal of combined images by [@&#8203;melato](https://github.com/melato) in lxc/incus#995
-   Change RunDir file mode to 0711 by [@&#8203;bketelsen](https://github.com/bketelsen) in lxc/incus#1004
-   incusd/apparmor/qemu: Relax apparmor rules a bit by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1007
-   incusd/instance/lxc: Handle OCI containers using real PID1 by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1005
-   incusd/apparmor/qemu: Fix typo in rule by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1009
-   incusd/apparmor/dnsmasq: Relax rules a bit by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1011
-   incusd/storage: Use writeback mode for qemu-img convert by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1015
-   Relax cluster upgrade requirements around API extensions by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1012
-   incusd/cgroup: Handle unknown devices in io.stat by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1016
-   incusd/instance_post: Always set the target project by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1019
-   Fix LVM locking issues by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1021
-   Make run-parts running compatible with different versions by [@&#8203;nanjj](https://github.com/nanjj) in lxc/incus#1018
-   Properly handle request retries on OIDC by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1024
-   Fix storage clustering handling by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1022
-   CLI tweaks/improvements by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1029
-   Use qemu-img convert output to update progress by [@&#8203;nanjj](https://github.com/nanjj) in lxc/incus#1025
-   Tweak EDK2 paths by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1033
-   Introduce cluster group configuration by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1034
-   Improve resource API CPU sorting by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1036
-   Fix some clustering issues by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1039
-   Add support for per-instance LXCFS by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1041
-   Fix automatic re-send of unseekable POST queries by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1042
-   VM related improvements by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1043
-   Translations update from Hosted Weblate by [@&#8203;weblate](https://github.com/weblate) in lxc/incus#1045
-   Varied cluster fixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1044
-   incus/top: Properly filter disk usage by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1047
-   More clustering fixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1049
-   OCI related fixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1052
-   Various bugfixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1054
-   incusd/storage/zfs: Always call tryGetVolumeDiskPathFromDataset by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1060
-   doc: add colima instructions by [@&#8203;abiosoft](https://github.com/abiosoft) in lxc/incus#1058
-   doc: Update incus_alias.md by [@&#8203;simos](https://github.com/simos) in lxc/incus#1061
-   incusd/network/ovn: Require functional uplink by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1063
-   OVN related fixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1068
-   doc/instances: Cover incus agent installation by [@&#8203;simos](https://github.com/simos) in lxc/incus#1067
-   Various bugfixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1071
-   doc/storage_volume: Fix snapshot command by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1072
-   Improve lifecycle events on evacuation by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1073
-   More lifecycle fixes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1074
-   doc/clustering: Better document healing by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1075
-   incus-migrate: Properly handle projects by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1077
-   incusd/apparmor: Allow mounting zfs when delegation is supported by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1078
-   doc/clustering: Add howto on cluster access by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1079
-   Fix handling of long running connections by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1080
-   Handle Ceph config in unusual location by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1081
-   Translations update from Hosted Weblate by [@&#8203;weblate](https://github.com/weblate) in lxc/incus#1082
-   incusd/instance/lxc: Respect LXCFS_OPTS by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1083
-   Allow per cluster group CPU definitions by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1088
-   Make connecting to OVN more reliable by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1089
-   incus: Add support for environment file (.env) by [@&#8203;bketelsen](https://github.com/bketelsen) in lxc/incus#1085
-   Translations update from Hosted Weblate by [@&#8203;weblate](https://github.com/weblate) in lxc/incus#1091
-   Fix some LVM activation bugs by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1090
-   incusd/device/disk: Allow relative paths within custom volumes by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1092
-   Add image cache for CLI client by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1094
-   incus/image/alias: Add column flag by [@&#8203;HassanAlsamahi](https://github.com/HassanAlsamahi) in lxc/incus#1095
-   incusd/main_forknet: Make it so our DHCP client never fails by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1100
-   Add per storage pool project limits by [@&#8203;stgraber](https://github.com/stgraber) in lxc/incus#1098
-   Translations update from Hosted Weblate by [@&#8203;weblate](https://github.com/weblate) in lxc/incus#1099
-   Allow creating isolated OVN networks (no uplink) by [@&#8203;SpiffyEight77](https://github.com/SpiffyEight77) in lxc/incus#1070

#### New Contributors

-   [@&#8203;apophys](https://github.com/apophys) made their first contribution in lxc/incus#998
-   [@&#8203;abiosoft](https://github.com/abiosoft) made their first contribution in lxc/incus#1058
-   [@&#8203;HassanAlsamahi](https://github.com/HassanAlsamahi) made their first contribution in lxc/incus#1095

**Full Changelog**: lxc/incus@v6.3.0...v6.4.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
tomponline added a commit to canonical/lxd that referenced this pull request Sep 4, 2024
Based on:

- lxc/incus#880
- lxc/incus#991
- lxc/incus#1033
- lxc/incus#1054
- lxc/incus#1178


Plus adds support for Ubuntu 24.04 OVMF and seabios firmware locations,
and maintains support for both `LXD_QEMU_FW_PATH` and `LXD_OVMF_PATH`
environmental variables (accepting multiple search paths).

Also changes how apparmor profile is generated to only allow access to
specific firmware file selected.

Tested with:

- [x] Outside of snap on Ubuntu 24.04 with OVMF and Seabios packages.
- [x] Inside the latest/edge snap, with OVMF and Seabios modes.
- [x] Upgrading from 5.0/stable snap with VM using 2MB OVMF FW switching
to latest/edge with custom binary and check 4MB firmware is used.
- [x] Inside the latest/edge snap with debug OVMF firmware mode
(with/without secureboot enabled).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants