In my current juju model I have one machine with a few containers
Machine State 14 started 14/lxd/2 started 14/lxd/20 started
I want to deploy a local bundle with 2 local charms. My
bundle.yaml looks like this:
services: elasticsearch: charm: /home/user/charms/trusty/elasticsearch num_units: 1 to: ['lxd:14'] metricbeat: charm: /home/user/charms/trusty/metricbeat series: trusty relations: - - "elasticsearch:client" - "metricbeat:elasticsearch"
Now I want my elasticsearch charm in a LXD container on machine 14 but when i run
juju deploy ~/elastic5-bundle I get the following error:
ERROR the provided bundle has the following errors: placement "lxd:14" refers to a machine not defined in this bundle
But when I add machine 14 in my bundle.yaml, a new machine is created instead of the charm being deployed to machine 14. Any possible solution to deploy a charm in a bundle to an existing machine?