[Yakkety] fanatic fails running docker test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-fan (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
Xenial |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
On Yakkety 16.10, fanatic fails trying to run docker tests and then hangs:
$sudo fanatic
Welcome to the fanatic fan networking wizard. This will help you set
up an example fan network and optionally configure docker and/or LXD to
use this network. See fanatic(1) for more details.
Configure fan underlay (hit return to accept, or specify alternative) [192.168.0.0/16]:
Configure fan overlay (hit return to accept, or specify alternative) [250.0.0.0/8]:
LXD already configured
Docker already configured
Test LXD networking for underlay:
(NOTE: potentially triggers large image downloads) [Yn]: n
Test docker networking for underlay:
(NOTE: potentially triggers large image downloads) [Yn]: Y
local docker test: pulling container images ...
Using default tag: latest
latest: Pulling from library/ubuntu
6d28225f8d96: Pull complete
166102ec41af: Pull complete
d09bfba2bd6a: Pull complete
c80dad39a6c0: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:
Status: Downloaded newer image for ubuntu:latest
local docker test: creating test container ...
f0cc43d63b6f687
test master: ping test (250.1.16.0) ...
test slave: ping test (250.1.16.1) ...
test slave: ping test ... FAIL
--- transcript start ---
/bin/sh: 74: ping: not found
--- transcript end ---
test slave: short data test (250.1.16.0 -> 250.1.16.1) ...
test master: ping test ... PASS
test master: short data test (250.1.16.1 -> 250.1.16.0) ...
===
[Impact]
Unable to test docker configuration due to the removal of ping from the default images.
[Test Case]
Request docker configuration and testing.
[Regression Potential]
Low, only used during initial configuration.
Changed in ubuntu-fan (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Andy Whitcroft (apw) |
description: | updated |
Changed in ubuntu-fan (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Andy Whitcroft (apw) |
The container images now no longer contains ping, I hit this problem writing some tests for these a few weeks when exercising the test on docker images. I had to hack around it by running "docker run ubuntu sh -c "apt-get update && apt-get install iputils-ping -y" before running the ping test.
http:// kernel. ubuntu. com/git/ ubuntu/ autotest- client- tests.git/ tree/ubuntu_ fan_smoke_ test/ubuntu_ fan_smoke_ test.sh