Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Retry creating LXD conjureup network bridges #998

Closed
adam-stokes opened this issue Jun 25, 2017 · 3 comments
Closed

Retry creating LXD conjureup network bridges #998

adam-stokes opened this issue Jun 25, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@adam-stokes
Copy link
Contributor

https://sentry.io/canonical-pj/conjure-up/issues/296744258/

Exception: Failed to create LXD conjureup1 network bridge: error: Failed to run: dnsmasq --strict-order --bind-interfaces --pid-file=/var/snap/conjure-up/common/lxd/networks/conjureup1/dnsmasq.pid --except-interface=lo --interface=conjureup1 --listen-address=10.85.243.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/conjure-up/common/lxd/networks/conjureup1/dnsmasq.leases --dhcp-hostsfile=/var/snap/conjure-up/common/lxd/networks/conjureup1/dnsmasq.hosts --dhcp-range 10.85.243.2,10.85.243.254,1h -s lxd -S /lxd/ -u lxd: dnsmasq: failed to create listening socket for 10.85.243.1: Address already in use

(21 additional frame(s) were not displayed)
...
  File "conjureup/controllers/credentials/common.py", line 21, in finish
    controllers.use('lxdsetup').render()
  File "conjureup/controllers/lxdsetup/gui.py", line 11, in render
    return self.setup(self.ifaces[0])
  File "conjureup/controllers/lxdsetup/common.py", line 70, in setup
    self.lxd_init(iface)
  File "conjureup/controllers/lxdsetup/common.py", line 94, in lxd_init
    cmd()
  File "conjureup/controllers/lxdsetup/common.py", line 211, in setup_bridge_network
    "{}".format(out.stderr.decode()))

Exception: Failed to create LXD conjureup1 network bridge: error: Failed to run: dnsmasq --strict-order --bind-interfaces --pid-file=/var/snap/conjure-up/common/lxd/networks/conjureup1/dnsmasq.pid --except-interface=lo --interface=conjureup1 --listen-address=10.85.243.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/conjure-up/common/lxd/networks/conjureup1/dnsmasq.leases --dhcp-hostsfile=/var/snap/conjure-up/common/lxd/networks/conjureup1/dnsmasq.hosts --dhcp-range 10.85.243.2,10.85.243.254,1h -s lxd -S /lxd/ -u lxd: dnsmasq: failed to create listening socket for 10.85.243.1: Address already in use

@adam-stokes adam-stokes modified the milestone: 2.3.0 Jun 25, 2017
@adam-stokes adam-stokes self-assigned this Jun 26, 2017
@adam-stokes
Copy link
Contributor Author

Investigate implementing retries for lxc network creation

@adam-stokes adam-stokes modified the milestones: 2.2.4, 2.3.0 Jun 29, 2017
@adam-stokes adam-stokes changed the title Exception: Failed to create LXD conjureup1 network bridge: error: Failed to run: dnsmasq --strict-order --bi... Retry creating LXD conjureup network bridges Jul 7, 2017
@tvansteenburgh tvansteenburgh modified the milestones: 2.2.4, 2.3.0 Jul 10, 2017
@RainingNight
Copy link

+1

@adam-stokes adam-stokes modified the milestones: 2.3.0, 01.09.2017 Aug 23, 2017
@adam-stokes adam-stokes removed the sp/1 label Aug 23, 2017
@adam-stokes
Copy link
Contributor Author

Addressed in edge channel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants