RETIRED, Examples and references to use Chef for OpenStack projects
Go to file
mattray 2cd56abb39 Apache License v2.0 2012-10-12 15:45:47 -05:00
.chef use current directory instead of home 2012-07-27 14:30:39 -05:00
documentation document Glance image uploads 2012-08-14 16:47:06 -05:00
environments use the cirros img 2012-10-05 17:18:23 -05:00
roles single nic network 2012-10-04 21:58:33 -05:00
.gitignore nova and horizon appear to be working, need to get images into glance 2012-08-14 14:31:17 -05:00
Cheffile Essex 5.0.0 versions 2012-10-12 10:58:43 -05:00
Cheffile.lock Essex 5.0.0 versions 2012-10-12 10:58:43 -05:00
LICENSE Apache License v2.0 2012-10-12 15:45:47 -05:00
README.md Librarian and merging strategy updated 2012-08-14 14:42:39 -05:00
TODO.org single nic network 2012-10-04 21:58:33 -05:00
infrastructure.yml removed glance-images role, moved into environment 2012-10-05 09:41:06 -05:00

README.md

Description

This repository contains documentation, roles, environments and data bags for deploying an OpenStack Essex reference architecture using Chef. This currently includes the 5 OpenStack core projects: Nova, Glance, Keystone, Swift and Horizon.

Please use this essex branch to get the latest stable release. Once Folsom work is started, the essex branch will be merged back to the master branch and that will become active again.

This is a canonical source of documentation and there is additional content in the documentation directory in this repository. There will be documentation for a variety of deployment techniques for single-node, small and large installations.

This repository uses Librarian (https://github.com/applicationsonline/librarian) to manage downloading all of the proper cookbook versions, whether from Git or from the Opscode Community site (https://community.opscode.com). The preference is to publish all of the cookbook dependencies to the Opscode Community site.

There is a Spiceweasel (http://bit.ly/spcwsl) manifest documenting all the community cookbooks (currently redundant with Librarian), roles, data bags and environments required to deploy OpenStack.

Usage

To populate this Chef repository with the cookbooks for deploying, run the following command:

librarian-chef update

To see the commands necessary to push all of the files to the Chef server, run the following command:

spiceweasel infrastructure.yml

To actually deploy the repository to your Chef server, run the following command:

spiceweasel infrastructure.yml | sh

Cookbooks

The cookbooks have been designed and written in such a way that they can be used to deploy individual service components on any of the nodes in the infrastructure; in short they can be used for single node 'all-in-one' installs (for testing), right up to multi/many node production installs. In order to achieve this flexibility, they make use of the chef search functionality, and therefore require that if you are deploying anything larger than a single node deployment, you use chef server to host your cookbooks rather than using Chef Solo. It is important to note that much of the search is driven by the roles wrapping the recipes, so use the roles to deploy rather than directly including recipes in your run lists.

Each of the OpenStack services has its own cookbook and is available on the Chef Community site and on GitHub. Please refer to the documentation directory for more details on the roles for deploying them.

Glance

http://community.opscode.com/cookbooks/glance

http://github.com/mattray/glance

There is further documentation in the Glance cookbook README.me.

Horizon

http://community.opscode.com/cookbooks/horizon

http://github.com/mattray/horizon

There is further documentation in the Horizon cookbook README.me.

Keystone

http://community.opscode.com/cookbooks/keystone

http://github.com/mattray/keystone

There is further documentation in the Keystone cookbook README.me.

Nova

http://community.opscode.com/cookbooks/nova

http://github.com/mattray/nova

There is further documentation in the Nova cookbook README.me.

Swift

http://community.opscode.com/cookbooks/swift

http://github.com/mattray/swift

There is further documentation in the Swift cookbook README.me.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.