Hi So far i have developed juju charm bundle which contains three charms.I have Two Questions (Q1) And i need to deploy juju charm bundle in one machine in LXC. i have three charms and normally when i deploy charm it deploy in three different machines.I have followed this question(How do I deploy the OpenStack bundle to one machine?) and add "to : 0" to each charm in my charm bundle yaml file.Then i got this error.
An error occurred while deploying the bundle: cannot assign unit "mysql/0" to machine 0: machine "0" cannot host units
So first i want to know is it possible to add all charms in one machine.And if it is possible what is the wrong with my bundle.Here i have attached my bundle.
sample:
services:
mysql:
to: 0
charm: "cs:precise/mysql-27"
num_units: 1
annotations:
"gui-x": "139"
"gui-y": "168"
wordpress:
to : 0
charm: "cs:precise/wordpress-20"
num_units: 1
annotations:
"gui-x": "481"
"gui-y": "178"
relations:
- - "wordpress:db"
- "mysql:db"
(Q2)And last thing i have seen (http://marcoceppi.com/2014/06/deploying-openstack-with-just-two-machines/) that is it possible to add more charms in to one machine in OpenStack.So this is manual installation with only charms not bundle.I want to know i have one bundle and using juju GUI i want to deploy my bundle in one machine (Because i have only three nodes in my cloud) in OpenStack as well.Is it possible??