diff --git a/Berksfile b/Berksfile index d5ac165f..e12874f2 100644 --- a/Berksfile +++ b/Berksfile @@ -1,14 +1,11 @@ source 'https://supermarket.chef.io' -%w(common identity image network).each do |cookbook| - if Dir.exist?("../cookbook-openstack-#{cookbook}") - cookbook "openstack-#{cookbook}", path: "../cookbook-openstack-#{cookbook}" +%w(client -common -image -identity -network).each do |cookbook| + if Dir.exist?("../cookbook-openstack#{cookbook}") + cookbook "openstack#{cookbook}", path: "../cookbook-openstack#{cookbook}" else - cookbook "openstack-#{cookbook}", git: "https://opendev.org/openstack/cookbook-openstack-#{cookbook}" + cookbook "openstack#{cookbook}", git: "https://opendev.org/openstack/cookbook-openstack#{cookbook}" end end -cookbook 'openstackclient', - git: 'https://opendev.org/openstack/cookbook-openstackclient' - metadata diff --git a/README.md b/README.md deleted file mode 100644 index 660405e3..00000000 --- a/README.md +++ /dev/null @@ -1,148 +0,0 @@ -Team and repository tags -======================== - -[![Team and repository tags](https://governance.openstack.org/badges/cookbook-openstack-compute.svg)](https://governance.openstack.org/reference/tags/index.html) - - - -![Chef OpenStack Logo](https://www.openstack.org/themes/openstack/images/project-mascots/Chef%20OpenStack/OpenStack_Project_Chef_horizontal.png) - -Description -=========== - -This cookbook installs the OpenStack Compute service **Nova** as part of the -OpenStack reference deployment Chef for OpenStack. The -https://github.com/openstack/openstack-chef contains documentation for using -this cookbook in the context of a full OpenStack deployment. Nova is currently -installed from packages. - -https://docs.openstack.org/mitaka/config-reference/compute.html - -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: - -- 'openstack-common', '>= 14.0.0' -- 'openstack-identity', '>= 14.0.0' -- 'openstack-image', '>= 14.0.0' -- 'openstack-network', '>= 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 node.conf is decribed 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::client -- Install the nova client packages - -## openstack-compute::compute -- Installs nova-compute service - -## openstack-compute::compute -- 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-cert -- Installs nova-cert service - -## openstack-compute::nova-common -- Builds the basic nova.conf config file with details of the rabbitmq, mysql, - glance and keystone servers - -## openstack-compute::nova-setup -- Sets up the nova networks with `nova-manage` - -## openstack-compute::scheduler -- Installs nova scheduler service - -## openstack-compute::vncproxy -- Installs and configures the vncproxy service for console access to VMs - -## openstack-compute::serialproxy -- Installs and configures the serialproxy service for serial console access to VMs - - -License and Author -================== - -| | | -|:---------------------|:---------------------------------------------------| -| **Author** | Justin Shepherd () | -| **Author** | Jason Cannavale () | -| **Author** | Ron Pedde () | -| **Author** | Joseph Breu () | -| **Author** | William Kelly () | -| **Author** | Darren Birkett () | -| **Author** | Evan Callicoat () | -| **Author** | Matt Ray () | -| **Author** | Jay Pipes () | -| **Author** | John Dewey () | -| **Author** | Kevin Bringard () | -| **Author** | Craig Tracey () | -| **Author** | Sean Gallagher () | -| **Author** | Ionut Artarisi () | -| **Author** | JieHua Jin () | -| **Author** | David Geng () | -| **Author** | Salman Baset () | -| **Author** | Chen Zhiwei () | -| **Author** | Mark Vanderwiel () | -| **Author** | Eric Zhou () | -| **Author** | Mathew Odden () | -| **Author** | Jan Klare () | -| **Author** | Christoph Albers () | -| | | -| **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. | - -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. diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..6aaa2f35 --- /dev/null +++ b/README.rst @@ -0,0 +1,209 @@ +OpenStack Chef Cookbook - compute +================================= + +.. image:: https://governance.openstack.org/badges/cookbook-openstack-compute.svg + :target: https://governance.openstack.org/reference/tags/index.html + +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. + +.. _OpenStack chef-repo: https://opendev.org/openstack/openstack-chef + +https://docs.openstack.org/nova/latest/ + +Requirements +============ + +- Chef 14 or higher +- ChefDK 3.2.30 for testing (also includes Berkshelf for cookbook + dependency resolution) + +Platform +======== + +- ubuntu +- redhat +- centos + +Cookbooks +========= + +The following cookbooks are dependencies: + +- 'openstackclient', '>= 0.1.0' +- 'openstack-common', '>= 18.0.0' +- 'openstack-identity', '>= 18.0.0' +- 'openstack-image', '>= 18.0.0' +- 'openstack-network', '>= 18.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, 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. diff --git a/Rakefile b/Rakefile index f9104e8e..4406b542 100644 --- a/Rakefile +++ b/Rakefile @@ -33,7 +33,7 @@ end desc 'All-in-One Neutron build Infra using Common task' task :integration do # Use the common integration task - sh %(wget -nv -t 3 -O Rakefile-Common https://raw.githubusercontent.com/openstack/cookbook-openstack-common/master/Rakefile) + sh %(wget -nv -t 3 -O Rakefile-Common https://opendev.org/openstack/cookbook-openstack-common/raw/branch/master/Rakefile) load './Rakefile-Common' Rake::Task['common_integration'].invoke end diff --git a/bootstrap.sh b/bootstrap.sh deleted file mode 100755 index 41bbec71..00000000 --- a/bootstrap.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -x -## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake'. -## It relies on the common bootstrap.sh from openstack/cookbook-openstack-common for installing common dependencies. - -wget -nv -t 3 -O common-bootstrap.sh https://raw.githubusercontent.com/openstack/cookbook-openstack-common/master/bootstrap.sh -/bin/bash -x common-bootstrap.sh diff --git a/metadata.rb b/metadata.rb index 2f2aa640..0860f633 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,14 +1,13 @@ name 'openstack-compute' maintainer 'openstack-chef' maintainer_email 'openstack-discuss@lists.openstack.org' -issues_url 'https://launchpad.net/openstack-chef' if respond_to?(:issues_url) -source_url 'https://github.com/openstack/cookbook-openstack-compute' if respond_to?(:source_url) +issues_url 'https://launchpad.net/openstack-chef' +source_url 'https://opendev.org/openstack/cookbook-openstack-compute' license 'Apache-2.0' description 'The OpenStack Compute service Nova.' version '18.0.0' -chef_version '>= 12.5' if respond_to?(:chef_version) -long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) +chef_version '>= 14.0' recipe 'openstack-compute::api-metadata', 'Installs/Configures nova api metadata service' recipe 'openstack-compute::api-os-compute', 'Installs/Configures nova api service'