[Yakkety] fanatic fails running docker test

Bug #1586176 reported by Leann Ogasawara on 2016-05-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-fan (Ubuntu)
High
Andy Whitcroft
Xenial
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:192.168.1.16/16 overlay:250.0.0.0/8
(NOTE: potentially triggers large image downloads) [Yn]: n
Test docker networking for underlay:192.168.1.16/16 overlay:250.0.0.0/8
(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:5718d664299eb1db14d87db7bfa6945b28879a67b74f36da3e34f5914866b71c
Status: Downloaded newer image for ubuntu:latest
local docker test: creating test container ...
f0cc43d63b6f687e47773fb6087bf1615dc7f479ef8e536594e0f4ec6a08b404
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.

Colin Ian King (colin-king) wrote :

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

Andy Whitcroft (apw) on 2016-06-30
Changed in ubuntu-fan (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Andy Whitcroft (apw)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-fan - 0.12.0

---------------
ubuntu-fan (0.12.0) yakkety; urgency=medium

  * fanatic: install ping and nc when needed (LP: #1586176)
  * fanatic: switch docker testing to lts images (LP: #1586169)

 -- Andy Whitcroft <email address hidden> Fri, 01 Jul 2016 19:10:32 +0100

Changed in ubuntu-fan (Ubuntu):
status: In Progress → Fix Released
Andy Whitcroft (apw) on 2016-07-04
description: updated
Changed in ubuntu-fan (Ubuntu Xenial):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Andy Whitcroft (apw)

Hello Leann, or anyone else affected,

Accepted ubuntu-fan into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-fan/0.9.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubuntu-fan (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Andy Whitcroft (apw) wrote :

Confirmed docker tests now install ping (and nc) as needed and complete successfully.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-fan - 0.9.1

---------------
ubuntu-fan (0.9.1) xenial; urgency=medium

  [ Andy Whitcroft ]
  * fanatic: fix legacy command line form syntax error (LP: #1584150)
  * fanctl/fanatic: add help commands/options with initial pointers
    (LP: #1535054)

  [ Jay Vosburgh ]
  * fanatic: fix underlay with calculation (LP: #1584092)

  [ Andy Whitcroft ]
  * fanctl/fanatic: remove invalid web reference from manual pages.
    (LP: #1582956)
  * fanatic: detect user specified underlay address without overlay
    (LP: #1584692)
  * fanatic: switch from lxd-images to using cached lxc images. (LP: #1584775)
  * fanatic: test-host -- use the selected underlay width to calculate the remote addresses
    (LP: #1584878)
  * fanctl: fix net start/stop exit codes. (LP: #1551747)
  * fanatic: install ping and nc when needed (LP: #1586176)
  * fanatic: switch docker testing to lts images (LP: #1586169)

 -- Andy Whitcroft <email address hidden> Mon, 04 Jul 2016 14:35:39 +0100

Changed in ubuntu-fan (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for ubuntu-fan has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers