LXD with juju storage and local loopbacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned |
Bug Description
I am doing a bunch of deployments/
The first is,
$ juju bootstrap yung localhost --upload-tools --config image
-stream=daily --config enable-
$ juju deploy <bundle>
$ juju destroy-model default
$ juju add-model dino
$ juju deploy <bundle>
The second is,
$ juju bootstrap yung localhost --upload-tools --config image
-stream=daily --config enable-
$ juju deploy <bundle>
$ juju destroy-controller --destroy-
$ juju bootstrap yung localhost --upload-tools --config image
-stream=daily --config enable-
$ juju deploy <bundle>
There are several times in both cases where machines will stay in pending/allocating stage:
https:/
Digging through the machine log I spotted:
2016-07-21 12:31:18 WARNING juju.network network.go:430 cannot get "lxdbr0" addresses: route ip+net: no such network interface (ignoring)
Even though my network bridge is alive and well:
eth0 Link encap:Ethernet HWaddr b8:ae:ed:74:0b:07
inet addr:172.16.0.29 Bcast:172.16.0.255 Mask:255.255.255.0
inet6 addr: fe80::baae:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12111864 errors:0 dropped:0 overruns:0 frame:0
TX packets:4906790 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:17525256923 (17.5 GB) TX bytes:374279915 (374.2 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2389 errors:0 dropped:0 overruns:0 frame:0
TX packets:2389 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1665510 (1.6 MB) TX bytes:1665510 (1.6 MB)
lxdbr0 Link encap:Ethernet HWaddr fe:f3:21:3a:72:73
inet addr:10.1.78.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::50bb:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4619775 errors:0 dropped:0 overruns:0 frame:0
TX packets:9949792 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:443834026 (443.8 MB) TX bytes:17423911337 (17.4 GB)
openstack0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.99.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::7492:
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1038 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:69592 (69.5 KB) TX bytes:648 (648.0 B)
veth8BTVT4 Link encap:Ethernet HWaddr fe:f3:21:3a:72:73
inet6 addr: fe80::fcf3:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44491 errors:0 dropped:0 overruns:0 frame:0
TX packets:57014 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:60053248 (60.0 MB) TX bytes:94542924 (94.5 MB)
Another thing I saw is:
2016-07-21 12:40:15 ERROR juju.worker.environ wait.go:58 loaded invalid environment configuration: Error inserting juju-dino into database: UNIQUE constraint failed: profiles.name
Another interesting bit is that you can no longer destroy the controller:
juju destroy-controller yung --destroy-
WARNING! This command will destroy the "yung" controller.
This includes all machines, applications, data and other resources.
Continue [y/N]? y
Destroying controller
Waiting for hosted model resources to be reclaimed
Waiting on 2 models, 3 machines, 3 applications
Waiting on 2 models, 3 machines, 3 applications
Waiting on 1 model, 3 machines, 3 applications
Waiting on 1 model, 3 machines, 3 applications
Waiting on 1 model, 3 machines, 3 applications
..on it goes
This was filed as a seperate bug: https:/
Machine-0 log: http://
tags: | added: conjure |
description: | updated |
Changed in juju-core: | |
assignee: | nobody → Richard Harding (rharding) |
Changed in juju-core: | |
milestone: | 2.0-beta14 → 2.0-beta15 |
Changed in juju-core: | |
milestone: | 2.0-beta15 → 2.0-beta16 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta16 → none |
milestone: | none → 2.0-beta16 |
Changed in juju: | |
milestone: | 2.0-beta16 → 2.0-beta17 |
Changed in juju: | |
milestone: | 2.0-beta17 → 2.0-beta18 |
Changed in juju: | |
milestone: | 2.0-beta18 → 2.0-beta19 |
Changed in juju: | |
milestone: | 2.0-beta19 → 2.0-rc1 |
Changed in juju: | |
milestone: | 2.0-rc1 → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.1.0 |
Changed in juju: | |
assignee: | Richard Harding (rharding) → nobody |
summary: |
- lxd instances not starting + LXD with juju storage and local loopbacks |
Changed in juju: | |
status: | Fix Committed → Triaged |
milestone: | 2.1.0 → 2.2.0 |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
Changed in juju: | |
milestone: | 2.2-beta4 → 2.2-rc1 |
Changed in juju: | |
status: | Triaged → Incomplete |
Wild stab in the dark, but perhaps this needs to be checked:
2016-07-21 12:31:18 WARNING juju.network network.go:430 cannot get "lxdbr0" addresses: route ip+net: no such network interface (ignoring)