[SRU] /usr/sbin/fanctl: arithmetic expression: expecting primary | unconfigured interfaces cause ifup failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
High
|
Unassigned | ||
OPNFV |
Invalid
|
Critical
|
Narinder Gupta | ||
ubuntu-fan (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
Xenial |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
Zesty |
Won't Fix
|
Undecided
|
Andreas Hasenack | ||
Artful |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
Bionic |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
[Impact]
* This bug effects anyone deploying LXD with juju on a machine with interfaces configured as IP/mask. Since this is a very common use case, SRU is needed.
[Test Case]
* Detailed process can be seen at https:/
[Regression Potential]
* Potential for regression is low because of the nature of the error. It's just missing a case stanza for interfaces that are defined with IP/mask
[Other Info]
* Original report:
I'm seeing this error as the status of multiple containers in my deploy:
http://
I can't connect to the parent machines anymore either - it seems networking is totally hosed on the machines.
This is with juju 2.3.1.
[SRU Justification]
== Impact ==
Due to unexpectedly passing up a non-critical error to the ifup hooks, this causes network interfaces to not come up.
== Fix ==
This was fixed in Xenial (and already forward ported to Bionic) effectively allowing to bring up network interfaces via ifupdown after installing ubuntu-fan.
== Testcase ==
Basic installation with ifupdown method for configuring network interfaces (no longer default for Artful and later). Then installing ubuntu-fan and either reboot or use ifdown -a && ifup -a in case of being logged in locally. Without the fix interfaces will not come up properly.
== Regression Risk ==
Minimal, well tested in Xenial and not impacting Artful and later if ifupdown is not used.
tags: | added: cpe-onsite |
Changed in ubuntu-fan (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Stefan Bader (smb) |
Changed in juju: | |
status: | Triaged → Invalid |
tags: | removed: verification-needed |
tags: | added: verification-done |
Changed in ubuntu-fan (Ubuntu Xenial): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in ubuntu-fan (Ubuntu Artful): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in ubuntu-fan (Ubuntu Bionic): | |
assignee: | Stefan Bader (smb) → Andreas Hasenack (ahasenack) |
Changed in ubuntu-fan (Ubuntu Zesty): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
description: | updated |
summary: |
- /usr/sbin/fanctl: arithmetic expression: expecting primary | + [SRU] /usr/sbin/fanctl: arithmetic expression: expecting primary | unconfigured interfaces cause ifup failures |
description: | updated |
Changed in ubuntu-fan (Ubuntu Artful): | |
status: | Confirmed → Incomplete |
Changed in ubuntu-fan (Ubuntu Bionic): | |
status: | Confirmed → Incomplete |
Changed in opnfv: | |
status: | Fix Committed → Invalid |
description: | updated |
This might be related to ubuntu-fan and machines that have an unconfigured interface.
See also bug #1737721 which is a private bug with more information.