yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75053
[Bug 1768547] Re: OpenNebula DataSource adds null gateway6 to netplan config
This bug is believed to be fixed in cloud-init in version 18.4. If this
is still a problem for you, please make a comment and set the state back
to New
Thank you.
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
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/1768547
Title:
OpenNebula DataSource adds null gateway6 to netplan config
Status in cloud-init:
Fix Released
Status in cloud-init package in Ubuntu:
Confirmed
Bug description:
Hello,
In Ubuntu 18.04 with cloud-init 18.2-14-g6d48d265-0ubuntu1, the OpenNebula data source generates an invalid netplan yaml file if the IPv6 gateway is not defined in context.sh:
network:
ethernets:
eth0:
addresses:
- 10.22.33.44/22
gateway4: 10.22.33.1
gateway6: null
match:
macaddress: 02:00:00:00:aa:bb
nameservers:
addresses:
- 10.22.22.22
- 10.33.33.33
version: 2
Netplan will not apply this config:
# netplan try
Error in network definition //etc/netplan/50-cloud-init.yaml line 11 column 22: invalid IPv6 address 'null'
This is due to a typo in DataSourceOpenNebula.py, attached is a patch
which fixes it.
Cheers,
Corey Melanson
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1768547/+subscriptions