RETIRED, Chef Cookbook - OpenStack Identity
Go to file
Karim El Aammari c5211ab38f Possibility to set SSLCARevocationPath for keystone as chef default attribute "ca_revocation_path"
Also set SSLCARevocationCheck alongside SSLCARevocationPath, all one
gets by setting only the latter is warnings in Apache logs.

Note: with Apache 2.3.15 or newer enabling revocation checks causes
certificate validation to fail also when no CRLs for the given certificate
could be found. For details see
https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslcarevocationcheck

Co-authored-by: Marek Szuba <m.szuba@gsi.de>
Signed-off-by: Marek Szuba <m.szuba@gsi.de>
Change-Id: Ic64249ba32d43877f9ef0325e7156e0d15622a69
2021-07-20 13:26:02 +01:00
.delivery Stein fixes 2020-03-23 09:58:16 -07:00
attributes Possibility to set SSLCARevocationPath for keystone as chef default attribute "ca_revocation_path" 2021-07-20 13:26:02 +01:00
recipes Cookstyle 6.19.5 fixes 2020-10-05 17:13:24 -07:00
spec Possibility to set SSLCARevocationPath for keystone as chef default attribute "ca_revocation_path" 2021-07-20 13:26:02 +01:00
templates/default Possibility to set SSLCARevocationPath for keystone as chef default attribute "ca_revocation_path" 2021-07-20 13:26:02 +01:00
.gitignore add a Rakefile to structure test runs 2014-09-30 14:21:29 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:36:39 +00:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:49:43 -07:00
Berksfile Moving IRC network reference to OFTC 2021-07-15 11:11:04 -07:00
CONTRIBUTING.md Moving IRC network reference to OFTC 2021-07-15 11:11:04 -07:00
LICENSE identity refactor for Pike and Chef 13 2017-12-10 20:04:21 -08:00
README.rst Update to Chef Workstation 21.2.303 2021-03-08 16:15:20 -08:00
Rakefile Updates for rocky 2019-12-06 11:19:50 -08:00
TESTING.md Sync stackforge/cookbook* to openstack/cookbook* for keystone cookbook 2015-06-15 13:23:05 +08:00
metadata.rb Updates for Train 2020-06-09 09:58:00 -07:00

README.rst

OpenStack Chef Cookbook - identity

image

Description

This cookbook installs the OpenStack Identity Service Keystone as part of the OpenStack reference deployment Chef for OpenStack. The OpenStack chef-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. Keystone is installed from packages, creating the default user, tenant, and roles. It also registers the identity service and identity endpoint.

https://docs.openstack.org/keystone/latest/

Requirements

  • Chef 15 or higher
  • Chef Workstation 21.2.303 for testing (also includes Berkshelf for cookbook dependency resolution)

Platform

  • ubuntu
  • redhat
  • centos

Cookbooks

The following cookbooks are dependencies:

  • 'apache2', '~> 8.1'
  • 'openstack-common', '>= 20.0.0'
  • 'openstackclient'

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 keystone.conf is described in the openstack-common cookbook.

Recipes

openstack-identity::cloud_config

  • Manage the cloud config file located at /root/clouds.yaml

openstack-identity::_credential_tokens

  • Helper recipe to manage credential keys.

If you prefer, you can manually create the keys by doing the following:

$ keystone-manage credential_setup \
  --keystone-user keystone --keystone-group keystone

This should create a directory /etc/keystone/credential-keys with the keys residing in it.

openstack-identity::_fernet_tokens

  • Helper recipe to manage fernet tokens

openstack-identity::openrc

  • Creates a fully usable openrc file to export the needed environment variables to use the openstack client.

openstack-identity::registration

  • Registers the initial keystone endpoint as well as users, tenants and roles needed for the initial configuration utilizing the custom resource provided in the openstackclient cookbook. The recipe is documented in detail with inline comments inside the recipe.

openstack-identity::server-apache

  • Installs and configures the OpenStack Identity Service running inside of an apache webserver. The recipe is documented in detail with inline comments inside the recipe.

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 Sean Gallagher (sean.gallagher@att.com)
Author Ionut Artarisi (iartarisi@suse.cz)
Author Chen Zhiwei (zhiwchen@cn.ibm.com)
Author Eric Zhou (zyouzhou@cn.ibm.com)
Author Jan Klare (j.klare@cloudbau.de)
Author Christoph Albers (c.albers@x-ion.de)
Author Lance Albertson (lance@osuosl.org)
Copyright Copyright 2012, Rackspace US, Inc.
Copyright Copyright 2012-2013, Opscode, Inc.
Copyright Copyright 2012-2013, AT&T Services, Inc.
Copyright Copyright 2013-2014, SUSE Linux
Copyright GmbH Copyright 2013-2014, IBM, Corp.
Copyright Copyright 2016-2020, Oregon State University

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.