Issues have been disabled for this repository.
Any issues with this cookbook should be raised here:
Please title the issue as follows:
[openstack-ha]: <short description of problem>
In the issue description, please include a longer description of the issue, along with any relevant log/command/error output.
If logfiles are extremely long, please place the relevant portion into the issue description, and link to a gist containing the entire logfile
Please see the contribution guidelines for more information about contributing to this cookbook.
Installs haproxy using the haproxy cookbook, and adds floating IPs per load balanced service using the keepalived cookbook.
Chef 0.10.0 or higher required (for Chef environment use).
- CentOS >= 6.3
- Ubuntu >= 12.04
The following cookbooks are dependencies:
- Iterates through the list of services provided in the attributes/environment
- Adds a haproxy config file per service, and uses search to discover the relevant back ends for that service.
- Uses provided vip from the environment to add a floating IP using keepalived (eg node['vips']['glance']['api'] would contain the required VIP to be used for load balancing glance api requests
default['ha']['available_services']- single attribute that contains a list of hashes, one hash per service.
- Each service hash contains the following:
role- name of the role to be searched for when building the back ends for the haproxy config
namespace- name of the attribute namespace to be searched for (see for eg nova cookbook attributes)
service- name of the service to be searched for in the relevant service hash (see for eg nova cookbook attributes)
service_type- the type of service that keystone expects (identity, compute, ec2, volume, image, object-store)
License and Author
Author:: Justin Shepherd (firstname.lastname@example.org)
Author:: Jason Cannavale (email@example.com)
Author:: Ron Pedde (firstname.lastname@example.org)
Author:: Joseph Breu (email@example.com)
Author:: William Kelly (firstname.lastname@example.org)
Author:: Darren Birkett (email@example.com)
Author:: Evan Callicoat (firstname.lastname@example.org)
Author:: Andy McCrae (<email@example.com)
Copyright 2012-2013, Rackspace US, 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
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.