Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: datasourcenone use client.restart to block until done (#4635)
Earlier iterations of this test exposed failure cases where DataSourceNone and cloud-init status --wait would block indefinitely in some failure modes. The primary failure mode was DataSourceNone config on LXD containers due to invalid network config on virtual NICs due to LP:#2022947 and newer netplan resulting in tracebacks preventing init local and network boot stages from persisting completion status to /run/cloud-init/status.json. This is resolved already within the test by copying working network config prior to DataSourceNone detection on lxd_containers. The test can now rely on client.restart default blocking and retries to avoid expiring all retries on platforms with slower reboots.
- Loading branch information