diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-06 23:43:03 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-06 23:49:24 +0000 |
| commit | 55f63c8a12f86c1a5d5fe1ccf0e9ddb719e7747e (patch) | |
| tree | 46c3e90a212e69f943d3b817603f8adca9ceb645 /.gitignore | |
| parent | 545ecc18af39a48a0543c844aa1652c2ed29c5d0 (diff) | |
| download | meta-virtualization-55f63c8a12f86c1a5d5fe1ccf0e9ddb719e7747e.tar.gz | |
tests: fix k3s multi-node test suite
Fix several issues discovered during multi-node testing:
- Find native QEMU binary from build sysroots-components instead of
relying on PATH (qemu-system-native is not in OE build env PATH)
- Set LD_LIBRARY_PATH for native QEMU shared library dependencies
(libSDL2, etc. from native sysroots)
- Add if=virtio to drive parameter so root device appears as /dev/vda
- Add CNI bin dirs to PATH when starting k3s manually (systemd service
has the PATH fix but manual launch does not)
- Wipe server TLS/cred/db state and kubeconfig before restarting with
cluster IPs to avoid stale certificate errors (cert only valid for
DHCP IP, not 192.168.50.1)
- Add --tls-san for cluster IP to server start
- Wipe agent k3s state to avoid "not authorized" from stale tokens
- Remove server-only config.yaml on agent (disable-cloud-controller
flag crashes the agent)
- Set unique --node-name on agent to prevent hostname collision when
both VMs boot from the same image
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
