commit 74dc27ae312d581a95139b624ca885dfd7a6a6ab Author: Mark Goddard Date: Thu Feb 16 10:30:15 2017 +0000 Initial commit of Kayobe configuration files diff --git a/etc/kayobe/bifrost.yml b/etc/kayobe/bifrost.yml new file mode 100644 index 0000000..d88eeab --- /dev/null +++ b/etc/kayobe/bifrost.yml @@ -0,0 +1,36 @@ +--- +# Kayobe configuration for Bifrost. + +############################################################################### +# Diskimage-builder configuration. + +# DIB base OS element. +#kolla_bifrost_dib_os_element: + +# List of DIB elements. +#kolla_bifrost_dib_elements: + +# DIB init element. +#kolla_bifrost_dib_init_element: + +# DIB environment variables. +#kolla_bifrost_dib_env_vars: + +# List of DIB packages to install. +#kolla_bifrost_dib_packages: + +############################################################################### +# Ironic configuration. + +# Whether to enable ipmitool-based drivers. +#kolla_bifrost_enable_ipmitool_drivers: + +############################################################################### +# Inventory configuration. + +# Server inventory for Bifrost. +#kolla_bifrost_servers: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/controllers.yml b/etc/kayobe/controllers.yml new file mode 100644 index 0000000..defcc14 --- /dev/null +++ b/etc/kayobe/controllers.yml @@ -0,0 +1,11 @@ +--- +############################################################################### +# Controller node configuration. + +# User with which to access the controllers via SSH during bootstrap, in order +# to setup the Kayobe user account. +#controller_bootstrap_user: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/dns.yml b/etc/kayobe/dns.yml new file mode 100644 index 0000000..46c48fb --- /dev/null +++ b/etc/kayobe/dns.yml @@ -0,0 +1,23 @@ +--- +############################################################################### +# DNS. + +# List of DNS nameservers. +#resolv_nameservers: + +# DNS domain suffix. +#resolv_domain: + +# List of DNS search suffixes. +#resolv_search: + +# List of IP address and netmask pairs to sort addresses returned by +# gethostbyname. +#resolv_sortlist: + +# List of DNS options. +#resolv_options: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/globals.yml b/etc/kayobe/globals.yml new file mode 100644 index 0000000..57aea00 --- /dev/null +++ b/etc/kayobe/globals.yml @@ -0,0 +1,22 @@ +--- +# Kayobe global configuration. + +############################################################################### +# Miscellaneous configuration. + +# Path to Kayobe configuration. +#kayobe_config_path: + +# Path in which to cache downloaded images. +#image_cache_path: + +# Path on which to checkout source code repositories. +#source_checkout_path: + +# User with which to access seed and controller nodes. This user will be +# created if it does not exist. +#kayobe_ansible_user: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/inventory/group_vars/controllers/network-interfaces b/etc/kayobe/inventory/group_vars/controllers/network-interfaces new file mode 100644 index 0000000..eb774ee --- /dev/null +++ b/etc/kayobe/inventory/group_vars/controllers/network-interfaces @@ -0,0 +1,31 @@ +--- +############################################################################### +# Network interface definitions for the controller group. + +# Overcloud provisioning network IP information. +# provision_oc_net_interface: +# provision_oc_net_bridge_ports: + +# Workload provisioning network IP information. +# provision_wl_net_interface: +# provision_wl_net_bridge_ports: + +# Internal network IP information. +# internal_net_interface: +# internal_net_bridge_ports: + +# External network IP information. +# external_net_interface: +# external_net_bridge_ports: + +# Storage network IP information. +# storage_net_interface: +# storage_net_bridge_ports: + +# Storage management network IP information. +# storage_mgmt_net_interface: +# storage_mgmt_net_bridge_ports: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/inventory/group_vars/seed/network-interfaces b/etc/kayobe/inventory/group_vars/seed/network-interfaces new file mode 100644 index 0000000..628d2de --- /dev/null +++ b/etc/kayobe/inventory/group_vars/seed/network-interfaces @@ -0,0 +1,31 @@ +--- +############################################################################### +# Network interface definitions for the seed group. + +# Overcloud provisioning network IP information. +# provision_oc_net_interface: +# provision_oc_net_bridge_ports: + +# Workload provisioning network IP information. +# provision_wl_net_interface: +# provision_wl_net_bridge_ports: + +# Internal network IP information. +# internal_net_interface: +# internal_net_bridge_ports: + +# External network IP information. +# external_net_interface: +# external_net_bridge_ports: + +# Storage network IP information. +# storage_net_interface: +# storage_net_bridge_ports: + +# Storage management network IP information. +# storage_mgmt_net_interface: +# storage_mgmt_net_bridge_ports: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/inventory/groups b/etc/kayobe/inventory/groups new file mode 100644 index 0000000..15f9ea9 --- /dev/null +++ b/etc/kayobe/inventory/groups @@ -0,0 +1,13 @@ +# Kayobe groups inventory file. This file should generally not be modified. +# If declares the top-level groups and sub-groups. + +[seed] +# Empty group to provide declaration of seed group. + +[controllers] +# Empty group to provide declaration of controllers group. + +[docker:children] +# Hosts in this group will have Docker installed. +seed +controllers diff --git a/etc/kayobe/inventory/hosts.example b/etc/kayobe/inventory/hosts.example new file mode 100644 index 0000000..16b7dbf --- /dev/null +++ b/etc/kayobe/inventory/hosts.example @@ -0,0 +1,19 @@ +# Kayobe hosts inventory file. This file should be modified to define the hosts +# and their top-level group membership. + +[config-mgmt] +# This host acts as the configuration management control host. This must be +# localhost. +localhost ansible_connection=local + +[seed-hypervisor] +# Add a seed hypervisor node here if required. This host will run a seed node +# Virtual Machine. + +[seed] +# Add a seed node here if required. This host will provide the Bifrost +# undercloud. + +[controllers] +# Add controller nodes here if required. These hosts will provide the +# OpenStack overcloud. diff --git a/etc/kayobe/kolla.yml b/etc/kayobe/kolla.yml new file mode 100644 index 0000000..43bed55 --- /dev/null +++ b/etc/kayobe/kolla.yml @@ -0,0 +1,88 @@ +--- +# Kayobe Kolla configuration. + +############################################################################### +# Kolla installation. + +# Type of Kolla control installation. One of 'binary' or 'source'. +#kolla_ctl_install_type: + +# URL of Kolla source code repository if type is 'source'. +#kolla_source_url: + +# Version (branch, tag, etc.) of Kolla source code repository if type is +# 'source'. +#kolla_source_version: + +############################################################################### +# Kolla configuration. + +# Path to Kolla configuration directory. +#kolla_config_path: + +# Kolla base container image distribution. +#kolla_base_distro: + +# Kolla installation type: binary or source. +#kolla_install_type: + +# Kolla OpenStack release version. This should be a Docker image tag. +#kolla_openstack_release: + +# Whether TLS is enabled for the external API endpoints. +#kolla_enable_tls_external: + +# Path to external API certificate. +#kolla_external_fqdn_cert: + +# Whether debug logging is enabled. +#kolla_openstack_logging_debug: + +############################################################################### +# Kolla feature flag configuration. + +#kolla_enable_aodh: +#kolla_enable_barbican: +#kolla_enable_cadf_notifications: +#kolla_enable_ceilometer: +#kolla_enable_central_logging: +#kolla_enable_ceph: +#kolla_enable_ceph_rgw: +#kolla_enable_cinder: +#kolla_enable_cinder_backend_iscsi: +#kolla_enable_cinder_backend_lvm: +#kolla_enable_cloudkitty: +#kolla_enable_congress: +#kolla_enable_etcd: +#kolla_enable_gnocchi: +#kolla_enable_grafana: +#kolla_enable_haproxy: +#kolla_enable_heat: +#kolla_enable_horizon: +#kolla_enable_influxdb: +#kolla_enable_ironic: +#kolla_enable_iscsid: +#kolla_enable_kuryr: +#kolla_enable_magnum: +#kolla_enable_manila: +#kolla_enable_mistral: +#kolla_enable_mongodb: +#kolla_enable_multipathd: +#kolla_enable_murano: +#kolla_enable_neutron_vpnaas: +#kolla_enable_neutron_dvr: +#kolla_enable_neutron_lbaas: +#kolla_enable_neutron_qos: +#kolla_enable_neutron_agent_ha: +#kolla_enable_rally: +#kolla_enable_sahara: +#kolla_enable_senlin: +#kolla_enable_swift: +#kolla_enable_telegraf: +#kolla_enable_tempest: +#kolla_enable_vmtp: +#kolla_enable_watcher: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/kolla/globals.yml b/etc/kayobe/kolla/globals.yml new file mode 100644 index 0000000..794c5fe --- /dev/null +++ b/etc/kayobe/kolla/globals.yml @@ -0,0 +1,2 @@ +--- +# Add extra Kolla global configuration here. diff --git a/etc/kayobe/networks.yml b/etc/kayobe/networks.yml new file mode 100644 index 0000000..c9219b8 --- /dev/null +++ b/etc/kayobe/networks.yml @@ -0,0 +1,66 @@ +--- +# Kayobe network configuration. + +############################################################################### +# Network roles. + +# Network role to network mappings. +#provision_oc_net_name: 'provision_oc_net' +#provision_wl_net_name: 'provision_wl_net' +#internal_net_name: 'internal_net' +#external_net_name: 'external_net' +#storage_net_name: 'storage_net' +#storage_mgmt_net_name: 'storage_mgmt_net' + +############################################################################### +# Network definitions. + +# Overcloud provisioning network IP information. +# provision_oc_net_cidr: +# provision_oc_net_allocation_pool_start: +# provision_oc_net_allocation_pool_end: +# provision_oc_net_gateway: +# provision_oc_net_vlan: + +# Workload provisioning network IP information. +# provision_wl_net_cidr: +# provision_wl_net_allocation_pool_start: +# provision_wl_net_allocation_pool_end: +# provision_wl_net_gateway: +# provision_wl_net_vlan: + +# Internal network IP information. +# internal_net_vip_address: +# internal_net_fqdn: +# internal_net_cidr: +# internal_net_allocation_pool_start: +# internal_net_allocation_pool_end: +# internal_net_gateway: +# internal_net_vlan: + +# External network IP information. +# external_net_vip_address: +# external_net_fqdn: +# external_net_cidr: +# external_net_allocation_pool_start: +# external_net_allocation_pool_end: +# external_net_gateway: +# external_net_vlan: + +# Storage network IP information. +# storage_net_cidr: +# storage_net_allocation_pool_start: +# storage_net_allocation_pool_end: +# storage_net_gateway: +# storage_net_vlan: + +# Storage management network IP information. +# storage_mgmt_net_cidr: +# storage_mgmt_net_allocation_pool_start: +# storage_mgmt_net_allocation_pool_end: +# storage_mgmt_net_gateway: +# storage_mgmt_net_vlan: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/ntp.yml b/etc/kayobe/ntp.yml new file mode 100644 index 0000000..4c0f0b4 --- /dev/null +++ b/etc/kayobe/ntp.yml @@ -0,0 +1,38 @@ +--- +# Kayobe NTP configuration. + +############################################################################### +# Timezone. + +# Name of the local timezone. +#timezone: + +############################################################################### +# Network Time Protocol (NTP). + +# List of names of NTP servers. +#ntp_config_server: + +# List of NTP restrictions to add to ntp.conf. +#ntp_config_restrict: + +# List of addresses for NTP daemon to listen on. +#ntp_config_listen: + +# Other NTP configuration options. +#ntp_config_filegen: +#ntp_config_statistics: +#ntp_config_crypto: +#ntp_config_includefile: +#ntp_config_keys: +#ntp_config_trustedkey: +#ntp_config_requestkey: +#ntp_config_controlkey: +#ntp_config_broadcast: +#ntp_config_broadcastclient: +#ntp_config_multicastclient: +#ntp_config_tinker_panic_enabled: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/seed-vm.yml b/etc/kayobe/seed-vm.yml new file mode 100644 index 0000000..e5e12ff --- /dev/null +++ b/etc/kayobe/seed-vm.yml @@ -0,0 +1,38 @@ +--- +############################################################################### +# Seed node VM configuration. + +# Name of the seed VM. +#seed_vm_name: + +# Memory in MB. +#seed_vm_memory_mb: + +# Number of vCPUs. +#seed_vm_vcpus: + +# List of volumes. +#seed_vm_volumes: + +# List of network interfaces. +#seed_vm_interfaces: + +# Name of the storage pool for the seed VM volumes. +#seed_vm_pool: + +# Capacity of the seed VM root volume. +#seed_vm_root_capacity: + +# Format of the seed VM root volume. +#seed_vm_root_format: + +# Base image for the seed VM root volume. +#seed_vm_root_image: + +# User with which to access the seed VM via SSH during bootstrap, in order to +# setup the Kayobe user account. +#seed_vm_bootstrap_user: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/ssh.yml b/etc/kayobe/ssh.yml new file mode 100644 index 0000000..fe3713b --- /dev/null +++ b/etc/kayobe/ssh.yml @@ -0,0 +1,16 @@ +--- +############################################################################### +# SSH configuration. + +# Name of SSH key. +#ssh_key_name: + +# Path to SSH private key on the control host. +#ssh_private_key_path: + +# Path to SSH public key on the control host. +#ssh_public_key_path: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes diff --git a/etc/kayobe/swift.yml b/etc/kayobe/swift.yml new file mode 100644 index 0000000..3af868c --- /dev/null +++ b/etc/kayobe/swift.yml @@ -0,0 +1,20 @@ +--- +############################################################################### +# OpenStack Swift configuration. + +# Base-2 logarithm of the number of partitions. +# i.e. num_partitions=2^. +#swift_part_power: + +# Object replication count. +#swift_replication_count: + +# Minimum time in hours between moving a given partition. +#swift_min_part_hours: + +# Number of Swift Zones. +#swift_num_zones: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes