yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89103
[Bug 1978543] [NEW] default not accepted as destination in routes: in the network-config
Public bug reported:
I have this network-config file (which is valid as per netplan
version: 2
ethernets:
enp0s3:
dhcp4: false
addresses: [10.0.4.10/24]
nameservers:
addresses: [10.0.4.1]
routes:
- to: default
via: 10.0.4.1
metric: 100
And cloud-config bumps on the 'default':
022-06-14 10:30:10,662 - util.py[WARNING]: failed stage init-local
failed run of stage init-local
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 738, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 410, in main_init
...
File "/usr/lib/python3/dist-packages/cloudinit/net/network_state.py", line 953
, in _normalize_net_keys
raise ValueError(f"Address {addr} is not a valid ip address")
ValueError: Address default is not a valid ip address
------------------------------------------------------------
student@osm11:~$ uname -a
Linux osm11 5.4.0-117-generic #132-Ubuntu SMP Thu Jun 2 00:39:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
student@osm11:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"
With the cloud-enabled OVA from
https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.ova
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1978543
Title:
default not accepted as destination in routes: in the network-config
Status in cloud-init:
New
Bug description:
I have this network-config file (which is valid as per netplan
version: 2
ethernets:
enp0s3:
dhcp4: false
addresses: [10.0.4.10/24]
nameservers:
addresses: [10.0.4.1]
routes:
- to: default
via: 10.0.4.1
metric: 100
And cloud-config bumps on the 'default':
022-06-14 10:30:10,662 - util.py[WARNING]: failed stage init-local
failed run of stage init-local
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 738, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 410, in main_init
...
File "/usr/lib/python3/dist-packages/cloudinit/net/network_state.py", line 953
, in _normalize_net_keys
raise ValueError(f"Address {addr} is not a valid ip address")
ValueError: Address default is not a valid ip address
------------------------------------------------------------
student@osm11:~$ uname -a
Linux osm11 5.4.0-117-generic #132-Ubuntu SMP Thu Jun 2 00:39:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
student@osm11:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"
With the cloud-enabled OVA from
https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.ova
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1978543/+subscriptions
Follow ups