Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run-integration-tests-in-lxd: ignore error returned by cloud-init status
``` + lxc exec pylxd-noble-329986 -- cloud-init status --long --wait ............ status: done extended_status: degraded done boot_status_code: enabled-by-generator last_update: Tue, 27 Feb 2024 19:49:44 +0000 detail: DataSourceLXD errors: [] recoverable_errors: WARNING: - Unable to get zpool status of default: Unexpected error while running command. Command: ['zpool', 'status', 'default'] Exit code: - Reason: [Errno 2] No such file or directory: b'zpool' Stdout: - Stderr: - ``` This was noticed with a host running lxd latest/edge snap and using a zfs storage pool: ``` $ snap list lxd Name Version Rev Tracking Publisher Notes lxd git-2688037 27360 latest/edge canonical✓ - ``` This is a workaound for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2055219 with a proper fix proposed in canonical/cloud-init#4970. Signed-off-by: Simon Deziel <[email protected]>
- Loading branch information