RETIRED, Chef Cookbook - OpenStack Block Storage
Go to file
John Dewey e88d487928 Corrected OOO issues
This cookbook looks a bit more like RCB due to some difficult to solve
OOO issues.

1. Needed to duplicate the cinder.conf template in each service needing it, due
   to the following reasons:
   a. Having a notifies in common.rb to restart services that were not defined
      yet (but in later recipes) broke the recipe.
   b. Having notifies in common.rb for services that were not installed breaks
      things.
   Due to this very diffuclt issue to solve, felt it was okay to duplicate the
   template rendering.

2. Need to lookup the database password from a mysql server query, like we do
   elsewhere.  Have not tackled this yet.  Hardcoded to see if service would
   finally install.

3. Reformatted a few things to match our other openstack cookbooks.

4. Found a few bugs with endpoints needing '.to_s', or missing @ reference
   in template.
2012-12-06 20:22:30 -08:00
attributes Massive refactoring of Cinder cookbook 2012-12-05 21:38:33 -05:00
recipes Corrected OOO issues 2012-12-06 20:22:30 -08:00
templates/default Corrected OOO issues 2012-12-06 20:22:30 -08:00
.gitignore Massive refactoring of Cinder cookbook 2012-12-05 21:38:33 -05:00
README.md Massive refactoring of Cinder cookbook 2012-12-05 21:38:33 -05:00
metadata.rb Updates metadata and indent correction per retr0h 2012-12-06 11:14:35 -05:00

README.md

Description

Installs the Openstack volume service (codename: cinder) from packages.

http://cinder.openstack.org

Requirements

Chef 0.10.0 or higher required (for Chef environment use).

Platforms

  • Ubuntu-12.04
  • Fedora-17

Cookbooks

The following cookbooks are dependencies:

  • apt
  • database
  • glance
  • keystone
  • mysql
  • openssh
  • rabbitmq
  • selinux (Fedora)
  • openstack-common
  • openstack-utils

Recipes

api

  • Installs the cinder-api, sets up the cinder database, and cinder service/user/endpoints in keystone

scheduler

  • Installs the cinder-scheduler service

volume

  • Installs the cinder-volume service and sets up the iscsi helper

Attributes

  • cinder["db"]["name"] - name of database to create for cinder
  • cinder["db"]["username"] - cinder username for database
  • cinder["service_tenant_name"] - name of tenant to use for the cinder service account in keystone
  • cinder["service_user"] - cinder service user in keystone
  • cinder["service_role"] - role for the cinder service user in keystone
  • cinder["syslog"]["use"]
  • cinder["syslog"]["facility"]
  • cinder["syslog"]["config_facility"]
  • cinder["platform"] = hash of platform specific package/service names and options

Templates

  • api-paste.ini.erb - Paste config for cinder API middleware
  • cinder.conf.erb - Basic cinder.conf file
  • targets.conf.erb - config file for tgt (iscsi target software)

License and Author

Author:: Justin Shepherd (justin.shepherd@rackspace.com)
Author:: Jason Cannavale (jason.cannavale@rackspace.com)
Author:: Ron Pedde (ron.pedde@rackspace.com)
Author:: Joseph Breu (joseph.breu@rackspace.com)
Author:: William Kelly (william.kelly@rackspace.com)
Author:: Darren Birkett (darren.birkett@rackspace.co.uk)
Author:: Evan Callicoat (evan.callicoat@rackspace.com)
Author:: Jay Pipes (jaypipes@gmail.com)

Copyright 2012, Rackspace US, Inc. Copyright 2012, AT&T, Inc.

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.