yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83894
[Bug 1776958] Re: error creating lxdbr0.
This bug was fixed in the package cloud-init - 20.3-15-g6d332e5c-
0ubuntu1
---------------
cloud-init (20.3-15-g6d332e5c-0ubuntu1) groovy; urgency=medium
* d/cloud-init.postinst: fix the grub install device for NVMe-rooted
instances on upgrade. (LP: #1889555)
* d/cloud-init.templates: add RbxCloud to Choices-C.
* Add d/clean to fully clean the build artifacts.
* d/control:
- Bump Standards-Version to 4.5.0, no changes needed.
- B-D on debhelper-compat; drop d/compat.
* Bump the debhelper compat level to 13. Required changes:
- Stop including the dh systemd plugin.
- Switch from dh_systemd_start to dh_installsystemd
* New upstream snapshot.
- create a shutdown_command method in distro classes (#567)
[Emmanuel Thomé]
- user_data: remove unused constant (#566)
- network: Fix type and respect name when rendering vlan in
sysconfig. (#541) [Eduardo Otubo] (LP: #1788915, #1826608)
- Retrieve SSH keys from IMDS first with OVF as a fallback (#509)
[Thomas Stringer]
- Add jqueuniet as contributor (#569) [Johann Queuniet]
- distros: minor typo fix (#562)
- Bump the integration-requirements versioned dependencies (#565)
[Paride Legovini]
- network-config-format-v1: fix typo in nameserver example (#564)
[Stanislas]
- Run cloud-init-local.service after the hv_kvp_daemon (#505)
[Robert Schweikert]
- Add method type hints for Azure helper (#540) [Johnson Shi]
- systemd: add Before=shutdown.target when Conflicts=shutdown.target is
used (#546) [Paride Legovini]
- LXD: detach network from profile before deleting it (#542)
[Paride Legovini] (LP: #1776958)
- redhat spec: add missing BuildRequires (#552) [Paride Legovini]
-- Chad Smith <chad.smith@xxxxxxxxxxxxx> Tue, 15 Sep 2020 20:19:10
-0600
** Changed in: cloud-init (Ubuntu)
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/1776958
Title:
error creating lxdbr0.
Status in cloud-init:
Fix Committed
Status in cloud-init package in Ubuntu:
Fix Released
Bug description:
$ cat > my.yaml <<EOF
#cloud-config
lxd:
init:
storage_backend: dir
bridge:
mode: new
name: lxdbr0
ipv4_address: 10.100.100.1
ipv4_netmask: 24
ipv4_dhcp_first: 10.100.100.100
ipv4_dhcp_last: 10.100.100.200
ipv4_nat: true
domain: lxd
EOF
$ name=c1
$ lxc launch ubuntu-daily:cosmic $name "--config=user.user-data=$(cat my.yaml)"
$ sleep 10
$ lxc exec $name cat /run/cloud-init/result.json
{
"v1": {
"datasource": "DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]",
"errors": [
"('lxd', ProcessExecutionError(\"Unexpected error while running command.\\nCommand: ['lxc', 'network', 'create', 'lxdbr0', 'ipv4.address=10.100.100.1/24', 'ipv4.dhcp.ranges=10.100.100.100-10.100.100.200', 'ipv6.address=none', 'dns.domain=lxd', '--force-local']\\nExit code: 1\\nReason: -\\nStdout: \\nStderr: Error: The network already exists\",))"
]
}
}
The integration test case tests/cloud_tests/testcases/modules/lxd_bridge.py
is demonstrates this failure on cosmic. It currently only occurs on
cosmic but will occur anywhere with lxd 3.1.0.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: cloud-init 18.2-64-gbbcc5e82-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.10-0ubuntu3
Architecture: amd64
CloudName: LXD
Date: Thu Jun 14 18:34:15 2018
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-init-log-warnings:
2018-06-14 18:34:08,417 - util.py[WARNING]: Running module lxd (<module 'cloudinit.config.cc_lxd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_lxd.py'>) failed
cloudinit.util.ProcessExecutionError: Unexpected error while running command.
Stderr: Error: The network already exists
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1776958/+subscriptions
References