[Bug 1915288] Re: grub 2.04 net does not like deployments with kvm maas pods
Launchpad Bug Tracker
1915288 at bugs.launchpad.net
Fri Feb 26 07:26:28 UTC 2021
This bug was fixed in the package grub2 - 2.04-1ubuntu40
---------------
grub2 (2.04-1ubuntu40) hirsute; urgency=medium
* Revert: rhboot-f34-tcp-add-window-scaling-support.patch,
rhboot-f34-support-non-ethernet.patch,
ubuntu-fixup-rhboot-f34-support-non-ethernet.patch,
ubuntu-fixup-rhboot-f34-support-non-ethernet-2.patch: these break MAAS
LXD KVM pod deployments. LP: #1915288
grub2 (2.04-1ubuntu39) hirsute; urgency=medium
* Cherrypick a bunch of patches:
- fix crash in http LP: #1915288
- add bootp6 documentation
- add support for UEFI boot protocols
- use UEFI protocols for http & https networking
- make netboot search for by-mac/by-uuid/by-ip for grub.cfg
- update documentation for netboot search paths of grub.cfg
* Make prebuilt netboot image look for MAAS grub.cfg
* Fix grub-initrd-fallback.service thanks to JawnSmith LP: #1910815
grub2 (2.04-1ubuntu38) hirsute; urgency=medium
[ Jean-Baptiste Lallement ]
[ Didier Roche ]
* Fix warnings during grub menu generation. Thanks wdoekes for the patch
(LP: #1898177)
- Fix warnings when bpool doesn't exist.
- Fix warnings when snapshot name contains dashes.
* Do not fail to generate grub menu when name of the snapshot contains
spaces. (LP: #1903524)
-- Dimitri John Ledkov <xnox at ubuntu.com> Fri, 12 Feb 2021 20:29:16
+0000
** Changed in: grub2 (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1915288
Title:
grub 2.04 net does not like deployments with kvm maas pods
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Focal:
Fix Released
Status in grub2 source package in Groovy:
Fix Released
Bug description:
[Impact]
* MAAS KVM LXD pods fail to deploy, in very beefy servers.
1) cherrypick upstream fix that caused crash upon completion of http
networking
2) revert patches that add support for TCP window scaling and non-
ethernet cards
With above changes one can deploy 100 out of 100 MAAS KVM LXD pods
using the patched grubnetx86.efi
[Test Case]
* Configure maas
* Configure networking for lxd kvm pods
* Deploy ubuntu focal on a node
* Manually init lxd, allow netowrking, add remote password
* Add kvm lxd host in the kvm page of maas
* Disable image syncing in maas
* replace /var/snap/maas/common/maas/boot-
resources/current/bootloader/uefi/amd64/grubx64.efi with the signed
grubnetx64.efi.signed from the grub-efi-amd64-signed package
* compose & commision hundred nodes with cli api:
for i in `seq 100`; do maas ps5 vmhost compose 8; done
(where 8 is the id of the kvm host, see url for the kvm node in
question)
Without these patches failure rate is up to 30%. With these patches
100 out of 100 pods deploy fine.
Thus one should be ok testing with less number of pods too.
[Where problems could occur]
* These patches mean that we are using smaller (same ones we did in
bionic) TCP window, thus for very large kernels/initrds we may hit
http timeouts on the server. Also it means that throughput speed of
deployments is lower again.
* However it is better to deploy where we used to deploy before, than
failing to deploy small things on small networks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1915288/+subscriptions
More information about the foundations-bugs
mailing list