RETIRED, Chef Cookbook - OpenStack Compute
Go to file
Lance Albertson 6c69ce58b1 Updates for Train
The major change in this release is that the placement-api code base has been
removed from nova and put into it's own project called placement [1]. Users who
are coming from Stein will need to follow the upgrade guide [2] to properly
upgrade to the new service.

All attributes related to placement-api have been moved into their own files
including configuration file attributes for placement.conf.

Added:
- Template to manage /etc/placement/placement.conf
- Include openstack-compute::_nova_cell recipe to nova-setup so that the db
  migrations happen properly

Changed:
- Update release to train
- Migrated from nova-placement-api to placement-api [1]

Fixed:
- Cookstyle & ChefSpec
- Ordering of db syncs which was causing issues for Train
- Set default['openstack']['compute']['syslog']['use'] to false by default
- Various comments

Removed:
- Removed references to nova-consoleauth which has been removed upstream [3]
- Removed references to xvpvnc which was removed upstream
- Unused .rubocop.yml and .rubocop_todo.yml

[1] https://docs.openstack.org/releasenotes/placement/train.html
[2] https://docs.openstack.org/placement/latest/admin/upgrade-to-stein.html
[3] https://docs.openstack.org/releasenotes/nova/train.html#prelude

Change-Id: I996bcd2f63a080e10fadf0c7adf9a0ddcb0b5c7a
Depends-On: https://review.opendev.org/731859
Depends-On: https://review.opendev.org/731860
Depends-On: https://review.opendev.org/731861
2020-06-09 10:09:15 -07:00
.delivery Stein fixes 2020-03-19 12:36:40 -07:00
attributes Updates for Train 2020-06-09 10:09:15 -07:00
files/default compute refactor for Pike and Chef 13 2017-12-10 20:02:43 -08:00
recipes Updates for Train 2020-06-09 10:09:15 -07:00
spec Updates for Train 2020-06-09 10:09:15 -07:00
templates/default Set threads=1 for api wsgi 2020-04-09 12:23:41 -07:00
.gitignore Initial kilo updates 2015-02-27 14:40:17 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:31:24 +00:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:49:24 -07:00
Berksfile Updates for Train 2020-06-09 10:09:15 -07:00
CONTRIBUTING.md Replace http with https for doc links in cookbook-openstack-compute 2017-09-07 00:27:41 -07:00
LICENSE compute refactor for Pike and Chef 13 2017-12-10 20:02:43 -08:00
README.rst Updates for Train 2020-06-09 10:09:15 -07:00
Rakefile Updates for rocky 2019-12-06 11:14:20 -08:00
TESTING.md Sync stackforge/cookbook* to openstack/cookbook* for nova cookbook 2015-06-15 15:20:25 +08:00
metadata.rb Updates for Train 2020-06-09 10:09:15 -07:00

README.rst

OpenStack Chef Cookbook - compute

image

Description

This cookbook installs the OpenStack Compute service Nova 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. Nova is currently installed from packages.

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

Requirements

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

Platform

  • ubuntu
  • redhat
  • centos

Cookbooks

The following cookbooks are dependencies:

  • 'apache2', '~> 8.1'
  • 'openstackclient'
  • 'openstack-common', '>= 20.0.0'
  • 'openstack-identity', '>= 20.0.0'
  • 'openstack-image', '>= 20.0.0'
  • 'openstack-network', '>= 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"

The usage of attributes to generate the node.conf is described in the openstack-common cookbook.

Recipes

openstack-compute::api-metadata

  • Installs the nova metadata package

openstack-compute::api-os-compute

  • Installs OS API and configures the service and endpoints in keystone

openstack-compute::compute

  • Installs nova-compute service

openstack-compute::conductor

  • Installs nova-conductor service

openstack-compute::identity_registration

  • Registers the nova endpoints with keystone

openstack-compute::libvirt

  • Installs libvirt, used by nova compute for management of the virtual machine environment

openstack-compute::nova-common

  • Builds the basic nova.conf config file with details of the rabbitmq, mysql, glance and keystone servers

openstack-compute::_nova_cell

  • Helper recipe for configuring nova cells

openstack-compute::nova-setup

  • Sets up the nova networks with nova-manage

openstack-compute::placement_api

  • Installs/Configures nova placement api

openstack-compute::scheduler

  • Installs nova scheduler service

openstack-compute::serialproxy

  • Installs and configures the serialproxy service for serial console access to VMs

openstack-compute::vncproxy

  • Installs and configures the vncproxy service for console access to VMs

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 Kevin Bringard (kbringard@att.com)
Author Craig Tracey (craigtracey@gmail.com)
Author Sean Gallagher (sean.gallagher@att.com)
Author Ionut Artarisi (iartarisi@suse.cz)
Author JieHua Jin (jinjhua@cn.ibm.com)
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 Mathew Odden (mrodden@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-2013, Rackspace US, Inc.
Copyright Copyright (c) 2012-2013, Opscode, Inc.
Copyright Copyright (c) 2012-2013, AT&T Services, Inc.
Copyright Copyright (c) 2013, Craig Tracey
Copyright Copyright (c) 2013-2014, SUSE Linux GmbH
Copyright Copyright (c) 2013-2014, IBM, Corp.
Copyright Copyright (c) 2019-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.