670db4e110
- Chef 14 support has stablized, so we want to start using it. - Docker support needed some tweaks for the AIO scenario to converge with Chef 14. Change-Id: I8aac7a2e5d07caa66a2926873f2fbd7c2ace9650
144 lines
4.4 KiB
YAML
144 lines
4.4 KiB
YAML
---
|
|
driver:
|
|
name: dokken
|
|
privileged: true
|
|
chef_version: 14
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
- /run/openvswitch:/run/openvswitch
|
|
|
|
transport:
|
|
name: dokken
|
|
|
|
provisioner:
|
|
name: dokken
|
|
encrypted_data_bag_secret_key_path: .chef/encrypted_data_bag_secret
|
|
|
|
verifier:
|
|
name: inspec
|
|
|
|
platforms:
|
|
- name: ubuntu-16.04
|
|
driver:
|
|
image: dokken/ubuntu-16.04
|
|
pid_one_command: /bin/systemd
|
|
- name: centos-7
|
|
platform: rhel
|
|
driver:
|
|
image: dokken/centos-7
|
|
pid_one_command: /usr/lib/systemd/systemd
|
|
|
|
suites:
|
|
- name: default
|
|
driver:
|
|
ports:
|
|
- '80'
|
|
- '8080'
|
|
- '443'
|
|
- '3460'
|
|
- '3306'
|
|
- '5672'
|
|
- '5000'
|
|
- '35357'
|
|
- '8774'
|
|
- '8776'
|
|
- '9292'
|
|
- '9696'
|
|
- '8000'
|
|
- '8003'
|
|
- '8004'
|
|
run_list:
|
|
# run_list taken from roles/allinone.json
|
|
- recipe[selinux::disabled]
|
|
- recipe[openstack-common]
|
|
- recipe[openstack-common::logging]
|
|
- recipe[openstack-common::sysctl]
|
|
- recipe[openstack-common::client]
|
|
- recipe[openstack-ops-database::server]
|
|
- recipe[openstack-ops-database::openstack-db]
|
|
- recipe[openstack-ops-messaging::rabbitmq-server]
|
|
- recipe[openstack-identity::server-apache]
|
|
- recipe[openstack-identity::registration]
|
|
- recipe[openstack-identity::openrc]
|
|
- recipe[openstack-image::api]
|
|
- recipe[openstack-image::registry]
|
|
- recipe[openstack-image::identity_registration]
|
|
- recipe[openstack-network::identity_registration]
|
|
- recipe[openstack-network::ml2_core_plugin]
|
|
- recipe[openstack-network::ml2_openvswitch]
|
|
- recipe[openstack-network]
|
|
- recipe[openstack-network::openvswitch]
|
|
- recipe[openstack-network::_bridge_config_example]
|
|
- recipe[openstack-network::plugin_config]
|
|
- recipe[openstack-network::server]
|
|
- recipe[openstack-network::l3_agent]
|
|
- recipe[openstack-network::dhcp_agent]
|
|
- recipe[openstack-network::metadata_agent]
|
|
- recipe[openstack-network::openvswitch_agent]
|
|
- recipe[openstack-compute::nova-setup]
|
|
- recipe[openstack-compute::identity_registration]
|
|
- recipe[openstack-compute::conductor]
|
|
- recipe[openstack-compute::api-os-compute]
|
|
- recipe[openstack-compute::api-metadata]
|
|
- recipe[openstack-compute::placement_api]
|
|
- recipe[openstack-compute::scheduler]
|
|
- recipe[openstack-compute::vncproxy]
|
|
- recipe[openstack-compute::compute]
|
|
- recipe[openstack-compute::identity_registration]
|
|
# NOTE: block-storage, orchestration, dashboard, etc. can be installed
|
|
# but are not tested by tempest
|
|
- recipe[openstack-block-storage::api]
|
|
- recipe[openstack-block-storage::scheduler]
|
|
- recipe[openstack-block-storage::volume_driver_lvm]
|
|
- recipe[openstack-block-storage::volume]
|
|
- recipe[openstack-block-storage::backup]
|
|
- recipe[openstack-block-storage::identity_registration]
|
|
- recipe[openstack-orchestration::engine]
|
|
- recipe[openstack-orchestration::api]
|
|
- recipe[openstack-orchestration::api-cfn]
|
|
- recipe[openstack-orchestration::identity_registration]
|
|
- recipe[openstack-image::image_upload]
|
|
- recipe[openstack-dashboard::horizon]
|
|
- recipe[openstack-dashboard::neutron-lbaas-dashboard]
|
|
- recipe[openstack-integration-test::create_network]
|
|
- recipe[openstack-integration-test::setup]
|
|
- recipe[openstack-integration-test::run_tempest]
|
|
verifier:
|
|
inspec_tests:
|
|
- test/tempest/default
|
|
# from environments/allinone.json
|
|
attributes:
|
|
# Attributes copied from environments/integration.json
|
|
apache:
|
|
listen: []
|
|
yum:
|
|
epel:
|
|
enabled: false
|
|
openstack:
|
|
is_release: true
|
|
apt:
|
|
update_apt_cache: true
|
|
dashboard:
|
|
server_hostname: localhost
|
|
telemetry:
|
|
conf:
|
|
DEFAULT:
|
|
meter_dispatchers: database
|
|
mq:
|
|
user: admin
|
|
network:
|
|
tun_network_bridge_interface: eth0
|
|
conf:
|
|
DEFAULT:
|
|
service_plugins: router
|
|
image:
|
|
image_upload: true
|
|
compute:
|
|
conf:
|
|
libvirt:
|
|
cpu_type: none
|
|
virt_type: qemu
|
|
secret:
|
|
key_path: /opt/kitchen/encrypted_data_bag_secret
|