f662bc35fd
If apache is (re)starting while the chef-client installs the cinder-api
package, it may pick up the package-supplied cinder-wsgi apache2 conf
file before chef-client gets around to disabling it which may result in
apache2 failing due to a non-working configuration.
This changeset eliminates the race by creating an empty configuration
file before installing the software. The solution is based on the
assumption that no reasonably configured package manager will overwrite
an existing, user-created configuration file. The empty configuration
file is left in place to avoid its creation and removal during every
recipe run.
backport: queens
Change-Id: I225a30379820e6e033bcea987fbf1a4db33dbd3a
(cherry picked from commit
|
||
---|---|---|
.delivery | ||
attributes | ||
files/default | ||
recipes | ||
spec | ||
templates/default | ||
.gitignore | ||
.gitreview | ||
.rubocop.yml | ||
.zuul.yaml | ||
Berksfile | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
Rakefile | ||
TESTING.md | ||
bootstrap.sh | ||
metadata.rb |
README.md
Team and repository tags
Description
Installs the OpenStack Block Storage service Cinder as part of the OpenStack reference deployment Chef for OpenStack. The https://github.com/openstack/openstack-chef-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. Cinder is currently installed from packages.
https://docs.openstack.org/developer/cinder
Requirements
- Chef 12 or higher
- chefdk 0.9.0 or higher for testing (also includes berkshelf for cookbook dependency resolution)
Platform
- ubuntu
- redhat
- centos
Cookbooks
The following cookbooks are dependencies:
- 'apt', '~> 4.0'
- 'openstack-common', '>= 14.0.0'
- 'openstack-identity', '>= 14.0.0'
- 'openstack-image', '>= 14.0.0'
- 'openstackclient', '>= 0.1.0'
Attributes
Please see the extensive inline documentation in attributes/*.rb
for
descriptions of all the settable attributes for this cookbook.
Note that all attributes are in the default['openstack']
"namespace"
The usage of attributes to generate the cinder.conf is decribed in the openstack-common cookbook.
Recipes
openstack-block-storage::api
- Installs the cinder-api and sets up the cinder database
openstack-block-storage::backup
- Installs the cinder-backup service
openstack-block-storage::cinder-common
- Defines the common pieces of repeated code from the other recipes
openstack-block-storage::client
- Install the cinder client packages
openstack-block-storage::identity_registration
- Defines the cinder service/user/endpoints in keystone
openstack-block-storage::scheduler
- Installs the cinder-scheduler service
openstack-block-storage::volume
- Installs the cinder-volume service
openstack-block-storage::volume_driver_lvm
- Configures lvm as the cinder storage backend
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 | Matt Ray (matt@opscode.com) |
Author | Jay Pipes (jaypipes@att.com) |
Author | John Dewey (jdewey@att.com) |
Author | Abel Lopez (al592b@att.com) |
Author | Sean Gallagher (sean.gallagher@att.com) |
Author | Ionut Artarisi (iartarisi@suse.cz) |
Author | David Geng (gengjh@cn.ibm.com) |
Author | Salman Baset (sabaset@us.ibm.com) |
Author | Chen Zhiwei (zhiwchen@cn.ibm.com) |
Author | Mark Vanderwiel (vanderwl@us.ibm.com) |
Author | Eric Zhou (zyouzhou@cn.ibm.com) |
Author | Edwin Wang (edwin.wang@cn.ibm.com) |
Author | Jan Klare (j.klare@cloudbau.de) |
Author | Christoph Albers (c.albers@x-ion.de) |
Copyright | Copyright (c) 2012, Rackspace US, Inc. |
Copyright | Copyright (c) 2012-2013, AT&T Services, Inc. |
Copyright | Copyright (c) 2013, Opscode, Inc. |
Copyright | Copyright (c) 2013-2014, SUSE Linux GmbH |
Copyright | Copyright (c) 2013-2015, IBM, Corp. |
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.