<commit_before># Vagrant OpenStack (Havana)  

These scripts will fire up an [OpenStack](http://www.openstack.org/software) private cloud consisting of a controller and two compute nodes (compute1 and compute2).  Each machine will get an extra 500GB hdd that will be used with [glusterfs](http://www.gluster.org/) to setup replication volumes.  The [OpenStack guide for Havana on Ubuntu](http://docs.openstack.org/havana/install-guide/install/apt/content/) was used as a base guide, with the changes made to accomodate Ubuntu 13.10, qemu and glusterfs.  

Because this is built in VirtualBox the compute nodes are setup to use [qemu](http://wiki.qemu.org/Main_Page), but on bare metal hardware OpenStack [supports](https://wiki.openstack.org/wiki/HypervisorSupportMatrix) a variety of [hypervisors](http://docs.openstack.org/havana/config-reference/content/section_compute-hypervisors.html).  

## Pre-requisites  

* [Vagrant](http://www.vagrantup.com/)  
* [VirtualBox](https://www.virtualbox.org/) w/ a host only network named vboxnet0  
* [Ubuntu 13.10 amd64 vagrant base box](docs/packer.md)  

## Build OpenStack using vagrant   

### Quick start  

For the brave, this will fire up all the servers and do everything.  This process "takes a while" an produces a lot of valuable troubleshooting output, so capture it with _tee_.  

	./generate-passwords.sh  
	vagrant up | tee vagrant.log  
	git reset --hard HEAD   # hack to reset files that were changed by generate-passwords.sh  

### One at a time please  

The first time you fire up your OpenStack it would be a good idea to do them one at a time and save the output.  

	./generate-passwords.sh  
	vagrant up controller | tee controller.log  
	vagrant up compute1 | tee compute1.log  
	vagrant up compute2 | tee compute2.log  
	git reset --hard HEAD   # hack to reset files that were changed by generate-passwords.sh  

*When compute2 is brought up, the glusterfs volumes will be setup and available/replicated on all three servers.*  

### Post-configuration and testing  

After the [3 servers](docs/servers.md) are running and provisioned you can do the [post-configuration and testing](docs/post-configuration.md) of your OpenStack to verify everything was installed correctly.  

## Copyright  

This project is copyrighted under a [MIT license](LICENSE) and you are free to make changes and/or improvements to fit your needs and pretty much use this software in any way you like. Feel free to add issues for improvements or even better a pull request.  You can also talk to us on [Freenode IRC](https://webchat.freenode.net/) in the #socialgeeks channel.  
<commit_msg>Minor change to README.md<commit_after># Vagrant OpenStack (Havana)  

These scripts will fire up an [OpenStack](http://www.openstack.org/software) private cloud consisting of a controller and two compute nodes (compute1 and compute2).  Each machine will get an extra 500GB hdd that will be used with [glusterfs](http://www.gluster.org/) to setup replication volumes.  The [OpenStack guide for Havana on Ubuntu](http://docs.openstack.org/havana/install-guide/install/apt/content/) was used as a base guide, with the changes made to accomodate Ubuntu 13.10, qemu and glusterfs.  

Because this is built in VirtualBox the compute nodes are setup to use [qemu](http://wiki.qemu.org/Main_Page), but on bare metal hardware OpenStack [supports](https://wiki.openstack.org/wiki/HypervisorSupportMatrix) a variety of [hypervisors](http://docs.openstack.org/havana/config-reference/content/section_compute-hypervisors.html).  

## Pre-requisites  

* [Vagrant](http://www.vagrantup.com/)  
* [VirtualBox](https://www.virtualbox.org/) w/ a host only network named vboxnet0  
* [Ubuntu 13.10 amd64 vagrant base box](docs/packer.md)  

## Quick start  

For the brave, this will fire up all the servers and do everything.  This process "takes a while" an produces a lot of valuable troubleshooting output, so capture it with _tee_.  

	./generate-passwords.sh  
	vagrant up | tee vagrant.log  
	git reset --hard HEAD   # hack to reset files that were changed by generate-passwords.sh  

## One at a time please  

The first time you fire up your OpenStack it would be a good idea to do them one at a time and save the output.  

	./generate-passwords.sh  
	vagrant up controller | tee controller.log  
	vagrant up compute1 | tee compute1.log  
	vagrant up compute2 | tee compute2.log  
	git reset --hard HEAD   # hack to reset files that were changed by generate-passwords.sh  

*When compute2 is brought up, the glusterfs volumes will be setup and available/replicated on all three servers.*  

## Post-configuration and testing  

After the [3 servers](docs/servers.md) are running and provisioned you can do the [post-configuration and testing](docs/post-configuration.md) of your OpenStack to verify everything was installed correctly.  

## Copyright  

This project is copyrighted under a [MIT license](LICENSE) and you are free to make changes and/or improvements to fit your needs and pretty much use this software in any way you like. Feel free to add issues for improvements or even better a pull request.  You can also talk to us on [Freenode IRC](https://webchat.freenode.net/) in the #socialgeeks channel.  

{'fraction_non_alphanumeric': 0.07891727030118185, 'fraction_numerical': 0.008387342737323675, 'mean_word_length': 3.9971428571428573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5228354', 'n_tokens_mistral': 1546, 'n_tokens_neox': 1473, 'n_words': 647}