2018-06-01 00:30:23 |
Ryan Finnie |
bug |
|
|
added bug |
2018-06-01 00:43:04 |
Ryan Finnie |
description |
On a MAAS-deployed node, /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg contains:
network:
config:
- id: enp1s0
mac_address: 52:54:00:9a:b4:64
mtu: 1500
name: enp1s0
subnets:
- address: 10.48.7.48/21
dns_nameservers:
- 10.48.0.5
gateway: 10.48.0.1
type: static
type: physical
- address:
- 10.48.0.5
search:
- bos01.canonistack.internal
type: nameserver
version: 1
But the generated /etc/netplan/50-cloud-init.yaml contains no search domains under nameservers for the interface:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
enp1s0:
addresses:
- 10.48.7.48/21
gateway4: 10.48.0.1
match:
macaddress: 52:54:00:9a:b4:64
mtu: 1500
nameservers:
addresses:
- 10.48.0.5
set-name: enp1s0 |
On a deployed node with a MAAS datasource, /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg contains:
network:
config:
- id: enp1s0
mac_address: 52:54:00:9a:b4:64
mtu: 1500
name: enp1s0
subnets:
- address: 10.48.7.48/21
dns_nameservers:
- 10.48.0.5
gateway: 10.48.0.1
type: static
type: physical
- address:
- 10.48.0.5
search:
- bos01.canonistack.internal
type: nameserver
version: 1
But the generated /etc/netplan/50-cloud-init.yaml contains no search domains under nameservers for the interface:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
enp1s0:
addresses:
- 10.48.7.48/21
gateway4: 10.48.0.1
match:
macaddress: 52:54:00:9a:b4:64
mtu: 1500
nameservers:
addresses:
- 10.48.0.5
set-name: enp1s0 |
|
2018-07-13 16:32:47 |
Scott Moser |
description |
On a deployed node with a MAAS datasource, /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg contains:
network:
config:
- id: enp1s0
mac_address: 52:54:00:9a:b4:64
mtu: 1500
name: enp1s0
subnets:
- address: 10.48.7.48/21
dns_nameservers:
- 10.48.0.5
gateway: 10.48.0.1
type: static
type: physical
- address:
- 10.48.0.5
search:
- bos01.canonistack.internal
type: nameserver
version: 1
But the generated /etc/netplan/50-cloud-init.yaml contains no search domains under nameservers for the interface:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
enp1s0:
addresses:
- 10.48.7.48/21
gateway4: 10.48.0.1
match:
macaddress: 52:54:00:9a:b4:64
mtu: 1500
nameservers:
addresses:
- 10.48.0.5
set-name: enp1s0 |
On a deployed node with a MAAS datasource, /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg contains:
network:
config:
- id: enp1s0
mac_address: 52:54:00:9a:b4:64
mtu: 1500
name: enp1s0
subnets:
- address: 10.48.7.48/21
dns_nameservers:
- 10.48.0.5
gateway: 10.48.0.1
type: static
type: physical
- address:
- 10.48.0.5
search:
- bos01.canonistack.internal
type: nameserver
version: 1
But the generated /etc/netplan/50-cloud-init.yaml contains no search domains under nameservers for the interface:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
enp1s0:
addresses:
- 10.48.7.48/21
gateway4: 10.48.0.1
match:
macaddress: 52:54:00:9a:b4:64
mtu: 1500
nameservers:
addresses:
- 10.48.0.5
set-name: enp1s0
Related bugs:
* bug 1750884: /etc/resolv.conf not configured correctly in Bionic, leads to no DNS resolution |
|
2018-07-13 16:34:54 |
Scott Moser |
cloud-init: status |
New |
Confirmed |
|
2018-07-13 16:34:58 |
Scott Moser |
cloud-init: importance |
Undecided |
Medium |
|
2021-11-19 18:43:21 |
Ryan Finnie |
removed subscriber Ryan Finnie |
|
|
|
2023-05-11 14:03:19 |
James Falcon |
bug watch added |
|
https://github.com/canonical/cloud-init/issues/3189 |
|
2023-05-11 14:03:19 |
James Falcon |
cloud-init: status |
Confirmed |
Expired |
|