~gandelman-a/juju-deployer/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
1. Juju deployer
This is a wrapper for Juju that allows stack-like configurations of complex
deployments.  It was created to deploy Openstack but should be able to deploy
other complex service configurations in the same manner.

See deployments.cfg and deployments.cfg.sample for examples of how to describe
service stacks in JSON.


2. Notes on Openstack post-deploy configuration

After you've run the deployer against an Openstack Essex/Precise deployment,
there are a couple of additional steps needed before the services are usable.
These can potentially be added as an optional step taken by charms, but for now
live as scripts in a seperate repository: lp:~gandelman-a/+junk/stack-setup

Once deployed:
    - ssh to the keystone node and run:
        sudo keystone-manage credentials add admin EC2 ubuntutesting openstack
    - ssh to the nova-cloud-controller node and run:
        bzr branch lp:~gandelman-a/+junk/stack-setup stack-setup
        cd stack-setup
        ./create_networks.sh eth0
        ./publish_image.sh ttylinux
        . novacreds
    
    You can now use euca-tools from the cloud-controller node with the
    environment variables in novacreds
    
    Note, when running on EC2 the instance private network must be created on
    eth0 (there is no eth1).  As a result, you'll only be able to reach running
    instances from the compute node it that hosts it.

Adam Gandelman <adamg@canonical.com>