lxc containers created, juju can't seen or communicate with them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.20 |
Fix Released
|
High
|
Ian Booth |
Bug Description
After deploying 10 units (juju deploy ubuntu -n 10) on the local provider, after some time, I could verify that juju was in the following state:
fcorrea@beast:~⟫ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.4.1
dns-name: localhost
instance-id: localhost
series: trusty
state-
"1":
agent-state: started
agent-version: 1.20.4.1
dns-name: 10.0.3.148
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"2":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"3":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"4":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"5":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"6":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"7":
agent-state: started
agent-version: 1.20.4.1
dns-name: 10.0.3.211
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"8":
agent-state: started
agent-version: 1.20.4.1
dns-name: 10.0.3.224
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"9":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
"10":
agent-state: pending
instance-id: fcorrea-
series: trusty
hardware: arch=amd64
services:
ubuntu:
charm: cs:trusty/ubuntu-0
exposed: false
units:
ubuntu/0:
machine: "1"
ubuntu/1:
machine: "2"
ubuntu/2:
machine: "3"
ubuntu/3:
machine: "4"
ubuntu/4:
machine: "5"
ubuntu/5:
machine: "6"
ubuntu/6:
machine: "7"
ubuntu/7:
machine: "8"
ubuntu/8:
machine: "9"
ubuntu/9:
machine: "10"
I've waited a bit longer but it didn't change.
After checking lxc-ls -f, I could verify the containers were indeed created and got IP's assigned:
fcorrea@beast:~⟫ sudo lxc-ls -f | grep fcorrea-local
fcorrea-
fcorrea-
fcorrea-
fcorrea-
fcorrea-
fcorrea-
fcorrea-
fcorrea-
fcorrea-
fcorrea-
Trying to juju ssh into one of the machines that didn't come up, does not work as expected:
fcorrea@beast:~⟫ juju ssh 6
ERROR machine "6" has no public address
However, it's possible to access it by its IP:
fcorrea@beast:~⟫ ssh ubuntu@10.0.3.150
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.16.0-
* Documentation: https:/
System information as of Fri Aug 15 17:23:34 BRT 2014
System load: 0.7 Processes: 24
Usage of /: 40.8% of 102.58GB Users logged in: 0
Memory usage: 22% IP address for eth0: 10.0.3.150
Swap usage: 0%
Graph this data and manage this system at:
https:/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://
0 packages can be updated.
0 updates are security updates.
Last login: Fri Aug 15 17:23:34 2014 from 10.0.3.1
ubuntu@
description: | updated |
Changed in juju-core: | |
milestone: | none → 1.21-alpha1 |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Could you please also ssh into one of the pending containers and grab the cloud init log. Also the machine-X.log directly.