Looks like this problem exists on 1.25 as well, but it at least gives an error during deploy:
$ juju deploy ubuntu --to lxc
Added charm "cs:xenial/ubuntu-0" to the environment.
ERROR adding new machine to host unit "ubuntu/0": cannot add a new machine: machine not found
$ juju status
environment: amazon
machines:
"0":
agent-state: started
agent-version: 1.25.5
dns-name: 52.38.197.82
instance-id: i-7e04f2d1
instance-state: running
series: xenial
hardware: arch=amd64 cpu-cores=1 cpu-power=300 mem=3840M root-disk=8192M availability-zone=us-west-2a
state-server-member-status: has-vote
services:
ubuntu:
charm: cs:xenial/ubuntu-0
exposed: false
service-status:
current: unknown
message: Waiting for agent initialization to finish
since: 10 Jun 2016 11:16:50-05:00
units:
ubuntu/0: workload-status:
current: unknown
message: Waiting for agent initialization to finish
since: 10 Jun 2016 11:16:50-05:00 agent-status:
current: allocating
since: 10 Jun 2016 11:16:50-05:00 agent-state: pending
Looks like this problem exists on 1.25 as well, but it at least gives an error during deploy:
$ juju deploy ubuntu --to lxc ubuntu- 0" to the environment.
Added charm "cs:xenial/
ERROR adding new machine to host unit "ubuntu/0": cannot add a new machine: machine not found
$ juju status zone=us- west-2a server- member- status: has-vote
workload- status:
agent- status:
agent- state: pending
environment: amazon
machines:
"0":
agent-state: started
agent-version: 1.25.5
dns-name: 52.38.197.82
instance-id: i-7e04f2d1
instance-state: running
series: xenial
hardware: arch=amd64 cpu-cores=1 cpu-power=300 mem=3840M root-disk=8192M availability-
state-
services:
ubuntu:
charm: cs:xenial/ubuntu-0
exposed: false
service-status:
current: unknown
message: Waiting for agent initialization to finish
since: 10 Jun 2016 11:16:50-05:00
units:
ubuntu/0:
current: unknown
message: Waiting for agent initialization to finish
since: 10 Jun 2016 11:16:50-05:00
current: allocating
since: 10 Jun 2016 11:16:50-05:00