failed configuring a static IP for container "1/lxc/0": cannot allocate addresses: instId not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Michael Foord | ||
1.25 |
Fix Released
|
Critical
|
Michael Foord |
Bug Description
On amazon I get the following error in the Juju logs:
machine-1[5563]: 2015-09-23 15:33:21 INFO juju.worker runner.go:269 start "lxc-provisioner"
machine-1[5563]: 2015-09-23 15:33:21 INFO juju.worker runner.go:275 stopped "1-container-
machine-1[5563]: 2015-09-23 15:33:21 INFO juju.provisioner provisioner_
machine-1[5563]: 2015-09-23 15:33:21 INFO juju.provisioner provisioner_
machine-1[5563]: 2015-09-23 15:33:21 INFO juju.provisioner provisioner_
machine-1[5563]: 2015-09-23 15:33:21 INFO juju.provisione
machine-1[5563]: 2015-09-23 15:33:22 WARNING juju.provisioner lxc-broker.go:532 failed configuring a static IP for container "1/lxc/0": cannot allocate addresses: instId not supported
machine-1[5563]: 2015-09-23 15:33:22 INFO juju.provisioner lxc-broker.go:114 not allocating static IP for container "1/lxc/0": cannot allocate addresses: instId not supported
It looks like this is to do with the interaction with the recent subnets and spaces code changes and the older container logic. I don't get the error on MAAS.
Currently rewinding through commits to see if/when the error goes away.
tags: | added: network |
Changed in juju-core: | |
assignee: | nobody → Michael Foord (mfoord) |
importance: | Undecided → Critical |
milestone: | none → 1.25-beta2 |
Changed in juju-core: | |
status: | New → Triaged |
Changed in juju-core: | |
importance: | Critical → High |
milestone: | 1.25-beta2 → 1.26-alpha1 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Default VPC with addressable containers on, earlier revision (before the changes that the above error is created from):
machine-1[9862]: 2015-09-23 16:47:50 INFO juju.provisione r.lxc lxc-broker.go:87 starting lxc container for machineId: 1/lxc/0 1-lxc-0"
machine-1[9862]: 2015-09-23 16:47:50 DEBUG juju.provisioner lxc-broker.go:101 trying to allocate static IP for container "1/lxc/0"
machine-1[9862]: 2015-09-23 16:47:50 DEBUG juju.provisioner lxc-broker.go:546 trying to allocate a static IP for container "1/lxc/0"
machine-1[9862]: 2015-09-23 16:47:55 WARNING juju.provisioner lxc-broker.go:529 failed configuring a static IP for container "1/lxc/0": cannot allocate addresses: no interfaces available
machine-1[9862]: 2015-09-23 16:47:55 INFO juju.provisioner lxc-broker.go:113 not allocating static IP for container "1/lxc/0": cannot allocate addresses: no interfaces available
machine-1[9862]: 2015-09-23 16:47:55 DEBUG juju.service discovery.go:65 discovered init system "upstart" from series "trusty"
machine-1[9862]: 2015-09-23 16:47:55 DEBUG juju.container.lxc lxc.go:421 creating lxc container "juju-machine-
I think this is the same as the log when we don't have a default VPC. Will need to check that next.