75a6c3bc9f
This is supposed to prevent proliferation of scripts in "tools" directory and reduce code duplication. This first patch replaces tools/{start,stop,pull,status} scripts and more commands are to be added in the future. Change-Id: I3d99cf5033be8631d8e6f32a4c34d3b5ffcae7e8
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
Docker compose
|
|
==============
|
|
|
|
These scripts and docker compose files can be used to stand up a simple
|
|
installation of openstack. Running the 'tools/genenv' script creates an
|
|
'openstack.env' suitable for running on a single host system as well as an
|
|
'openrc' to allow access to the installation.
|
|
|
|
Once you have run that you can either manually start the containers using the
|
|
'docker-compose' command or try the 'tools/kolla start' script which tries to
|
|
start them all in a reasonable order, waiting at key points for services to
|
|
become available. Once stood up you can issue the typical openstack commands
|
|
to use the installation:
|
|
|
|
```
|
|
# source openrc
|
|
# nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge=br100 --multi-host=T
|
|
# nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
|
|
# nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
|
|
#
|
|
# nova keypair-add mykey > mykey.pem
|
|
# chmod 600 mykey.pem
|
|
# nova boot --flavor m1.medium --key_name mykey --image puffy_clouds instance_name
|
|
# ssh -i mykey.pem cirros@<ip>
|
|
```
|