2016-06-02 22:07:11 |
Jorge Niedbalski |
bug |
|
|
added bug |
2016-06-02 22:07:39 |
Jorge Niedbalski |
tags |
|
sts-needs-review |
|
2016-06-02 22:07:57 |
Jorge Niedbalski |
description |
[Environment]
MAAS 2.0
[Description]
Given the following configuration: http://img.ctrlv.in/img/16/06/02/5750ac35c78f8.png
The resulting /etc/network/interfaces looks as following:
http://paste.ubuntu.com/16931445/
Some bad aspects of the resulting configuration are:
1) An ipv4 ip address is configured on the alias, while an ipv6 address was expected,
auto bond0:1
iface bond0:1 inet6 static
address 172.27.72.7/26
2) It seems that there is no need to configure the bond-* options on the alias interfaces as these
options are inherited.
3) Could be possible to describe why and how the hwaddresses are selected for the aliases? |
[Environment]
MAAS 2.0
[Description]
Given the following configuration: http://img.ctrlv.in/img/16/06/02/5750ac35c78f8.png
The resulting /etc/network/interfaces looks as following:
http://paste.ubuntu.com/16931445/
Some bad aspects of the resulting configuration are:
1) An ipv4 address is configured on the alias, while an ipv6 address was expected,
auto bond0:1
iface bond0:1 inet6 static
address 172.27.72.7/26
2) It seems that there is no need to configure the bond-* options on the alias interfaces as these
options are inherited.
3) Could be possible to describe why and how the hwaddresses are selected for the aliases? |
|
2016-06-02 22:12:06 |
Jay Vosburgh |
bug |
|
|
added subscriber Jay Vosburgh |
2016-06-02 22:20:30 |
Mike Pontillo |
maas: milestone |
|
2.0.0 |
|
2016-06-02 22:20:33 |
Mike Pontillo |
maas: assignee |
|
Mike Pontillo (mpontillo) |
|
2016-06-02 22:20:36 |
Mike Pontillo |
maas: status |
New |
Triaged |
|
2016-06-02 22:20:38 |
Mike Pontillo |
maas: importance |
Undecided |
Critical |
|
2016-06-02 22:32:49 |
Mike Pontillo |
bug task added |
|
curtin |
|
2016-06-02 22:33:29 |
Mike Pontillo |
maas: importance |
Critical |
Low |
|
2016-06-02 22:33:41 |
Mike Pontillo |
maas: status |
Triaged |
Invalid |
|
2016-06-02 22:40:15 |
Felipe Reyes |
bug |
|
|
added subscriber Felipe Reyes |
2016-06-02 22:46:12 |
Mike Pontillo |
maas: milestone |
2.0.0 |
|
|
2016-06-02 23:40:13 |
Mike Pontillo |
maas: status |
Invalid |
Incomplete |
|
2016-06-03 00:05:48 |
Launchpad Janitor |
branch linked |
|
lp:~mpontillo/curtin/fix-improper-inet6-bug-1588547 |
|
2016-06-03 00:35:48 |
Launchpad Janitor |
branch linked |
|
lp:~mpontillo/curtin/fix-improper-bond-parameters-bug-1588547 |
|
2016-06-03 00:50:30 |
Mike Pontillo |
curtin: status |
New |
Confirmed |
|
2016-06-03 00:51:38 |
Mike Pontillo |
maas: status |
Incomplete |
Opinion |
|
2016-06-03 12:16:59 |
Jon Grimm |
bug |
|
|
added subscriber Jon Grimm |
2016-06-04 01:44:27 |
Launchpad Janitor |
branch linked |
|
lp:curtin |
|
2016-06-06 04:59:00 |
Dominique Poulain |
bug |
|
|
added subscriber Dominique Poulain |
2016-06-06 16:35:45 |
Andrew McDermott |
bug |
|
|
added subscriber Andrew McDermott |
2016-06-21 16:32:35 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/cloud-init/trunk.net-improve-lo-dns |
|
2016-06-22 14:16:33 |
Ryan Harper |
tags |
sts-needs-review |
curtin-sru sts-needs-review |
|
2016-07-12 16:14:48 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno399 |
|
2016-07-12 16:33:34 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/yakkety/curtin/pkg |
|
2016-07-12 16:33:46 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno399 |
|
2016-07-12 21:54:06 |
Ryan Harper |
curtin: status |
Confirmed |
Fix Committed |
|
2016-07-12 22:00:27 |
Ryan Harper |
description |
[Environment]
MAAS 2.0
[Description]
Given the following configuration: http://img.ctrlv.in/img/16/06/02/5750ac35c78f8.png
The resulting /etc/network/interfaces looks as following:
http://paste.ubuntu.com/16931445/
Some bad aspects of the resulting configuration are:
1) An ipv4 address is configured on the alias, while an ipv6 address was expected,
auto bond0:1
iface bond0:1 inet6 static
address 172.27.72.7/26
2) It seems that there is no need to configure the bond-* options on the alias interfaces as these
options are inherited.
3) Could be possible to describe why and how the hwaddresses are selected for the aliases? |
[Impact]
* Users attempting to configure nic bonding and using both ipv4 and ipv6
encounter a misconfigured network due to a bug in curtin's handling of
bond configuration and ipv6. The error results in superflous
attributes and then broken ipv4 entries if preceeded by an ipv6
address.
This affects all curtin releases which support networking
configuration.
* This SRU fixes bonding and ipv6 configurations by no longer emitting
attributes for aliased interfaces and calculating the correct
inet type for a given interface.
[Test Case]
* On a Xenial 16.04 system
- apt-get install curtin
- cat >test.yaml <<EOF
# YAML example of a simple network config
network:
version: 1
config:
# Physical interfaces.
- type: physical
name: eth0
mac_address: "c0:d6:9f:2c:e8:80"
subnets:
- type: static
address: fde9:8f83:4a81:1:0:1:0:6/64
- type: static
address: 192.168.0.1/24
EOF
- curtin apply_net -c test.yaml --target target
PASS: both greps return zero
FAIL: either grep returns non-zero
- grep "^iface eth0 inet6 static" target/etc/network/interfaces
- grep "^iface eth0:1 inet static" target/etc/network/interfaces
[Regression Potential]
* Low; users of this configuration would be broken already
[Original Description]
[Environment]
MAAS 2.0
[Description]
Given the following configuration: http://img.ctrlv.in/img/16/06/02/5750ac35c78f8.png
The resulting /etc/network/interfaces looks as following:
http://paste.ubuntu.com/16931445/
Some bad aspects of the resulting configuration are:
1) An ipv4 address is configured on the alias, while an ipv6 address was expected,
auto bond0:1
iface bond0:1 inet6 static
address 172.27.72.7/26
2) It seems that there is no need to configure the bond-* options on the alias interfaces as these
options are inherited.
3) Could be possible to describe why and how the hwaddresses are selected for the aliases? |
|
2016-07-13 13:58:23 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-07-13 13:58:29 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2016-07-13 13:58:33 |
Martin Pitt |
bug task added |
|
curtin (Ubuntu) |
|
2016-07-13 13:58:36 |
Martin Pitt |
tags |
curtin-sru sts-needs-review |
curtin-sru sts-needs-review verification-needed |
|
2016-07-13 13:58:43 |
Martin Pitt |
nominated for series |
|
Ubuntu Xenial |
|
2016-07-13 13:58:43 |
Martin Pitt |
bug task added |
|
curtin (Ubuntu Xenial) |
|
2016-07-13 13:58:50 |
Martin Pitt |
curtin (Ubuntu): status |
New |
Fix Released |
|
2016-07-13 13:59:02 |
Martin Pitt |
curtin (Ubuntu Xenial): status |
New |
Incomplete |
|
2016-07-13 13:59:05 |
Martin Pitt |
curtin (Ubuntu Xenial): status |
Incomplete |
Fix Committed |
|
2016-07-19 19:06:54 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/trusty/curtin/trusty-proposed |
|
2016-07-21 19:15:42 |
Brian Murray |
curtin (Ubuntu Trusty): status |
New |
Fix Committed |
|
2016-07-22 21:40:28 |
Felipe Reyes |
tags |
curtin-sru sts-needs-review verification-needed |
curtin-sru sts-needs-review verification-done |
|
2016-07-28 14:21:31 |
Paolo de Rosa |
tags |
curtin-sru sts-needs-review verification-done |
4010 curtin-sru sts-needs-review verification-done |
|
2016-08-17 13:01:18 |
Launchpad Janitor |
curtin (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-08-17 13:01:32 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-08-17 13:01:50 |
Launchpad Janitor |
curtin (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2017-12-15 22:10:29 |
Scott Moser |
curtin: status |
Fix Committed |
Fix Released |
|