
This provides some updates so that this cookbook can be run for individual cookbooks depending on whether or not various services are enabled or not. This is useful if you're wanting to test just keystone, and don't need glance or nova just to do that. Some other changes: - Update catalog_type for volume to 'volumev3' which matches what we provide (We may want to change this back to 'volume' at some point). - Create orchestration recipe to assist with testing heat. - Create dns recipe to assist with testing designate. - Remove unused cookbook dependencies for compute, block-storage and identity. These should get pulled in automatically with how we setup the test environment in openstack-chef. - Blacklist tempest.api.compute.servers.test_create_server.ServersTestBootFromVolume test from running due to an issue with our cinder environment. Change-Id: I0eb2247f163132ef343bbcf6f4cc80326b9704d9
OpenStack Chef Cookbook - integration-test
Description
This cookbook installs the OpenStack Integration Test Suite Tempest as part of an OpenStack reference deployment Chef for OpenStack. The OpenStack chef-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. Tempest is currently installed from git and pip.
https://docs.openstack.org/tempest/latest/
Requirements
- Chef 14 or higher
- ChefDK 3.2.30 for testing (also includes Berkshelf for cookbook dependency resolution)
Cookbooks
The following cookbooks are dependencies:
- 'bind', '~> 2.3.1'
- 'openstackclient'
- 'openstack-common', '>= 18.0.0'
- 'openstack-image', '>= 18.0.0'
- 'resolver'
Recipes
create_network
- Create a test network and subnet for use in kitchen tests
dns
- Setup environment for testing designate
orchestration
- Setup environment for testing heat
run_tempest
- Run tempest for use in kitchen tests
setup
- Install and configure Tempest
Attributes
Please refer to the attributes/default.rb
for attribute
details.
Testing
Please refer to the TESTING.md for instructions for testing the cookbook.
License and Author
Author | Matt Thompson (matt.thompson@rackspace.co.uk) |
Author | Lance Albertson (lance.osuosl.org) |
Copyright | Copyright (c) 2014, Rackspace US, Inc. |
Copyright | Copyright (c) 2017-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.