RETIRED, Chef Cookbook - OpenStack Dashboard
Go to file
Marek Szuba 1e07ff58c7 Update default Debian paths for Buster and newer
Since version 10 (Buster) the package openstack-dashboard installs its
files to different directories than it used to. With version 11
(Bullseye) just about to reach stable status, it might be time to update
the defaults - for Debian proper anyway, since judging from the contents
of relevant Ubuntu 21.04 packages that distro has decided to go their
own way here.

Note that this also changes the handling of some of the paths for RHEL
- there used to be two hard-coded paths in the recipes/horizon.rb which
still work under RHEL and Ubuntu but not under modern Debian, requiring
a switch to attribute-defined paths.

PS. The permission change on dash_state_dir is part of this too,
since without o+x Apache complains

access to /static/foo denied (filesystem path '/var/lib/openstack-dashboard/static') because search permissions are missing on a component of the path

whenever any static dashboard content is to be retrieved.

Signed-off-by: Marek Szuba <m.szuba@gsi.de>
Change-Id: I345b4894f1243db77856303d97538914dc6cf9be
2021-07-19 15:35:56 +01:00
.delivery Stein fixes 2020-03-23 10:59:37 -07:00
attributes Update default Debian paths for Buster and newer 2021-07-19 15:35:56 +01:00
files/default Update the certs with stronger ciphers 2015-05-06 11:10:47 -05:00
recipes Update default Debian paths for Buster and newer 2021-07-19 15:35:56 +01:00
spec Update default Debian paths for Buster and newer 2021-07-19 15:35:56 +01:00
templates/default Stein fixes 2020-03-23 10:59:37 -07:00
.gitignore Initial kilo updates 2015-02-27 13:48:59 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:39:21 +00:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:49:30 -07:00
Berksfile Stein fixes 2020-03-23 10:59:37 -07:00
CONTRIBUTING.md Update and replace http with https for doc links 2019-09-02 11:16:24 +00:00
LICENSE dashboard refactor for Pike and Chef 13 2017-12-13 07:02:15 -08:00
README.rst Update to Chef Workstation 21.2.303 2021-03-08 16:25:03 -08:00
Rakefile Updates for rocky 2019-12-09 05:40:15 +00:00
TESTING.md move from bundler to chefdk 2015-04-28 17:53:49 +02:00
metadata.rb Updates for Train 2020-05-29 21:41:50 -07:00

README.rst

OpenStack Chef Cookbook - dashboard

image

Description

Installs the OpenStack Dashboard service Horizon 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. Horizon is currently installed from packages.

https://docs.openstack.org/horizon/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'
  • 'openstack-identity', '>= 20.0.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"

Recipes

openstack-dashboard::horizon

  • Sets up the packages needed to run the Horizon dashboard and its dependencies. Includes openstack-dashboard::apache2-server recipe.

openstack-dashboard::apache2-server

  • Installs the Apache webserver and sets up an mod_wsgi container to run the Horizon dashboard.

openstack-dashboard::neutron-lbaas-dashboard

  • Installs the python neutron-lbaas-dashboard package. Includes openstack-dashboard::horizon recipe at the beginning.

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@att.com)
Author John Dewey (jdewey@att.com)
Author Matt Ray (matt@opscode.com)
Author Sean Gallagher (sean.gallagher@att.com)
Author Chen Zhiwei (zhiwchen@cn.ibm.com)
Author Jian Hua Geng (gengjh@cn.ibm.com)
Author Ionut Artarisi (iartarisi@suse.cz)
Author Eric Zhou (iartarisi@suse.cz)
Author Jens Rosenboom (j.rosenboom@x-ion.de)
Author Mark Vanderwiel (vanderwl@us.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 (c) 2012, Rackspace US, Inc.
Copyright Copyright (c) 2012-2013, AT&T Services, Inc.
Copyright Copyright (c) 2013, Opscode, Inc.
Copyright Copyright (c) 2013-2015, IBM, Corp.
Copyright Copyright (c) 2013-2014, SUSE Linux GmbH.
Copyright Copyright (c) 2014, x-ion GmbH.
Copyright Copyright (c) 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.