Add development environment configuration, imported from kayobe
This commit is contained in:
parent
dd942ed498
commit
f129b07372
|
@ -5,6 +5,8 @@
|
||||||
# User with which to access the controllers via SSH during bootstrap, in order
|
# User with which to access the controllers via SSH during bootstrap, in order
|
||||||
# to setup the Kayobe user account.
|
# to setup the Kayobe user account.
|
||||||
#controller_bootstrap_user:
|
#controller_bootstrap_user:
|
||||||
|
# No need to provide a different user for bootstrapping.
|
||||||
|
controller_bootstrap_user: vagrant
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Network interface attachments.
|
# Network interface attachments.
|
||||||
|
@ -57,6 +59,8 @@
|
||||||
# List of controller volume groups. See mrlesmithjr.manage-lvm role for
|
# List of controller volume groups. See mrlesmithjr.manage-lvm role for
|
||||||
# format.
|
# format.
|
||||||
#controller_lvm_groups:
|
#controller_lvm_groups:
|
||||||
|
# Don't create any LVM groups - use overlay docker storage driver.
|
||||||
|
controller_lvm_groups: []
|
||||||
|
|
||||||
# Default list of controller volume groups. See mrlesmithjr.manage-lvm role for
|
# Default list of controller volume groups. See mrlesmithjr.manage-lvm role for
|
||||||
# format.
|
# format.
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
# Name of the docker storage driver. Supported values include 'devicemapper'
|
# Name of the docker storage driver. Supported values include 'devicemapper'
|
||||||
# and 'overlay'.
|
# and 'overlay'.
|
||||||
#docker_storage_driver:
|
#docker_storage_driver:
|
||||||
|
# Use the overlay docker storage driver as it doesn't require LVM.
|
||||||
|
docker_storage_driver: overlay
|
||||||
|
|
||||||
# Name of the docker storage LVM volume group.
|
# Name of the docker storage LVM volume group.
|
||||||
#docker_storage_volume_group:
|
#docker_storage_volume_group:
|
||||||
|
|
|
@ -2,35 +2,10 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Network interface definitions for the controller group.
|
# Network interface definitions for the controller group.
|
||||||
|
|
||||||
# Overcloud provisioning network IP information.
|
# Controller interface on all-in-one network.
|
||||||
# provision_oc_net_interface:
|
aio_interface: breth1
|
||||||
# provision_oc_net_bridge_ports:
|
aio_bridge_ports:
|
||||||
# provision_oc_net_bond_slaves:
|
- eth1
|
||||||
|
|
||||||
# Workload provisioning network IP information.
|
|
||||||
# provision_wl_net_interface:
|
|
||||||
# provision_wl_net_bridge_ports:
|
|
||||||
# provision_wl_net_bond_slaves:
|
|
||||||
|
|
||||||
# Internal network IP information.
|
|
||||||
# internal_net_interface:
|
|
||||||
# internal_net_bridge_ports:
|
|
||||||
# internal_net_bond_slaves:
|
|
||||||
|
|
||||||
# External network IP information.
|
|
||||||
# external_net_interface:
|
|
||||||
# external_net_bridge_ports:
|
|
||||||
# external_net_bond_slaves:
|
|
||||||
|
|
||||||
# Storage network IP information.
|
|
||||||
# storage_net_interface:
|
|
||||||
# storage_net_bridge_ports:
|
|
||||||
# storage_net_bond_slaves:
|
|
||||||
|
|
||||||
# Storage management network IP information.
|
|
||||||
# storage_mgmt_net_interface:
|
|
||||||
# storage_mgmt_net_bridge_ports:
|
|
||||||
# storage_mgmt_net_bond_slaves:
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Dummy variable to allow Ansible to accept this file.
|
# Dummy variable to allow Ansible to accept this file.
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[config-mgmt]
|
||||||
|
localhost ansible_connection=local
|
||||||
|
|
||||||
|
[controllers]
|
||||||
|
controller0
|
|
@ -1,28 +0,0 @@
|
||||||
# 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.
|
|
||||||
|
|
||||||
[mgmt-switches]
|
|
||||||
# Add management network switches here if required.
|
|
||||||
|
|
||||||
[ctl-switches]
|
|
||||||
# Add control and provisioning switches here if required.
|
|
||||||
|
|
||||||
[hs-switches]
|
|
||||||
# Add high speed switches here if required.
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
aio_ips:
|
||||||
|
controller0: 192.168.33.3
|
|
@ -4,134 +4,64 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Network role to network mappings.
|
# Network role to network mappings.
|
||||||
|
|
||||||
|
# Map all networks to the all-in-one network.
|
||||||
|
|
||||||
# Name of the network used by the seed to manage the bare metal overcloud
|
# Name of the network used by the seed to manage the bare metal overcloud
|
||||||
# hosts via their out-of-band management controllers.
|
# hosts via their out-of-band management controllers.
|
||||||
#oob_oc_net_name:
|
#oob_oc_net_name:
|
||||||
|
oob_oc_net_name: aio
|
||||||
|
|
||||||
# Name of the network used by the seed to provision the bare metal overcloud
|
# Name of the network used by the seed to provision the bare metal overcloud
|
||||||
# hosts.
|
# hosts.
|
||||||
#provision_oc_net_name:
|
#provision_oc_net_name:
|
||||||
|
provision_oc_net_name: aio
|
||||||
|
|
||||||
# Name of the network used by the overcloud hosts to manage the bare metal
|
# Name of the network used by the overcloud hosts to manage the bare metal
|
||||||
# compute hosts via their out-of-band management controllers.
|
# compute hosts via their out-of-band management controllers.
|
||||||
#oob_wl_net_name:
|
#oob_wl_net_name:
|
||||||
|
oob_wl_net_name: aio
|
||||||
|
|
||||||
# Name of the network used by the overcloud hosts to provision the bare metal
|
# Name of the network used by the overcloud hosts to provision the bare metal
|
||||||
# workload hosts.
|
# workload hosts.
|
||||||
#provision_wl_net_name:
|
#provision_wl_net_name:
|
||||||
|
provision_wl_net_name: aio
|
||||||
|
|
||||||
# Name of the network used to expose the internal OpenStack API endpoints.
|
# Name of the network used to expose the internal OpenStack API endpoints.
|
||||||
#internal_net_name:
|
#internal_net_name:
|
||||||
|
internal_net_name: aio
|
||||||
|
|
||||||
# Name of the network used to expose the external OpenStack API endpoints and
|
# Name of the network used to expose the external OpenStack API endpoints and
|
||||||
# to provide external network access via Neutron.
|
# to provide external network access via Neutron.
|
||||||
#external_net_name:
|
#external_net_name:
|
||||||
|
external_net_name: aio
|
||||||
|
|
||||||
# Name of the network used to expose the public OpenStack API endpoints.
|
# Name of the network used to expose the public OpenStack API endpoints.
|
||||||
#public_net_name:
|
#public_net_name:
|
||||||
|
public_net_name: aio
|
||||||
|
|
||||||
# Name of the network used to carry storage data traffic.
|
# Name of the network used to carry storage data traffic.
|
||||||
#storage_net_name:
|
#storage_net_name:
|
||||||
|
storage_net_name: aio
|
||||||
|
|
||||||
# Name of the network used to carry storage management traffic.
|
# Name of the network used to carry storage management traffic.
|
||||||
#storage_mgmt_net_name:
|
#storage_mgmt_net_name:
|
||||||
|
storage_mgmt_net_name: aio
|
||||||
|
|
||||||
# Name of the network used to perform hardware introspection on the bare metal
|
# Name of the network used to perform hardware introspection on the bare metal
|
||||||
# workload hosts.
|
# workload hosts.
|
||||||
#inspection_net_name:
|
#inspection_net_name:
|
||||||
|
inspection_net_name: aio
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Network definitions.
|
# Network definitions.
|
||||||
|
|
||||||
# Overcloud out-of-band management network IP information.
|
# All-in-one network.
|
||||||
# oob_oc_net_cidr:
|
aio_cidr: 192.168.33.0/24
|
||||||
# oob_oc_net_allocation_pool_start:
|
aio_allocation_pool_start: 192.168.33.3
|
||||||
# oob_oc_net_allocation_pool_end:
|
aio_allocation_pool_end: 192.168.33.127
|
||||||
# oob_oc_net_inspection_allocation_pool_start:
|
aio_inspection_allocation_pool_start: 192.168.33.128
|
||||||
# oob_oc_net_inspection_allocation_pool_end:
|
aio_inspection_allocation_pool_end: 192.168.33.254
|
||||||
# oob_oc_net_gateway:
|
aio_vip_address: 192.168.33.2
|
||||||
# oob_oc_net_vlan:
|
|
||||||
# oob_oc_net_mtu:
|
|
||||||
# oob_oc_net_routes:
|
|
||||||
|
|
||||||
# Overcloud provisioning network IP information.
|
|
||||||
# provision_oc_net_cidr:
|
|
||||||
# provision_oc_net_allocation_pool_start:
|
|
||||||
# provision_oc_net_allocation_pool_end:
|
|
||||||
# provision_oc_net_inspection_allocation_pool_start:
|
|
||||||
# provision_oc_net_inspection_allocation_pool_end:
|
|
||||||
# provision_oc_net_gateway:
|
|
||||||
# provision_oc_net_vlan:
|
|
||||||
# provision_oc_net_mtu:
|
|
||||||
# provision_oc_net_routes:
|
|
||||||
|
|
||||||
# Workload out-of-band management network IP information.
|
|
||||||
# oob_wl_net_cidr:
|
|
||||||
# oob_wl_net_allocation_pool_start:
|
|
||||||
# oob_wl_net_allocation_pool_end:
|
|
||||||
# oob_wl_net_inspection_allocation_pool_start:
|
|
||||||
# oob_wl_net_inspection_allocation_pool_end:
|
|
||||||
# oob_wl_net_neutron_allocation_pool_start:
|
|
||||||
# oob_wl_net_neutron_allocation_pool_end:
|
|
||||||
# oob_wl_net_gateway:
|
|
||||||
# oob_wl_net_vlan:
|
|
||||||
# oob_wl_net_mtu:
|
|
||||||
# oob_wl_net_routes:
|
|
||||||
|
|
||||||
# Workload provisioning network IP information.
|
|
||||||
# provision_wl_net_cidr:
|
|
||||||
# provision_wl_net_allocation_pool_start:
|
|
||||||
# provision_wl_net_allocation_pool_end:
|
|
||||||
# provision_wl_net_inspection_allocation_pool_start:
|
|
||||||
# provision_wl_net_inspection_allocation_pool_end:
|
|
||||||
# provision_wl_net_neutron_allocation_pool_start:
|
|
||||||
# provision_wl_net_neutron_allocation_pool_end:
|
|
||||||
# provision_wl_net_gateway:
|
|
||||||
# provision_wl_net_vlan:
|
|
||||||
# provision_wl_net_mtu:
|
|
||||||
# provision_wl_net_routes:
|
|
||||||
|
|
||||||
# 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:
|
|
||||||
# internal_net_mtu:
|
|
||||||
# internal_net_routes:
|
|
||||||
|
|
||||||
# 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_neutron_allocation_pool_start:
|
|
||||||
# external_net_neutron_allocation_pool_end:
|
|
||||||
# external_net_gateway:
|
|
||||||
# external_net_vlan:
|
|
||||||
# external_net_mtu:
|
|
||||||
# external_net_routes:
|
|
||||||
|
|
||||||
# Storage network IP information.
|
|
||||||
# storage_net_cidr:
|
|
||||||
# storage_net_allocation_pool_start:
|
|
||||||
# storage_net_allocation_pool_end:
|
|
||||||
# storage_net_gateway:
|
|
||||||
# storage_net_vlan:
|
|
||||||
# storage_net_mtu:
|
|
||||||
# storage_net_routes:
|
|
||||||
|
|
||||||
# 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:
|
|
||||||
# storage_mgmt_net_mtu:
|
|
||||||
# storage_mgmt_net_routes:
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Network virtual patch link configuration.
|
# Network virtual patch link configuration.
|
||||||
|
|
|
@ -31,4 +31,7 @@ export KOLLA_CONFIG_PATH=$KAYOBE_CONFIG_ROOT/etc/kolla
|
||||||
# kolla-ansible/
|
# kolla-ansible/
|
||||||
base_path=$(realpath $KAYOBE_CONFIG_ROOT/../../)
|
base_path=$(realpath $KAYOBE_CONFIG_ROOT/../../)
|
||||||
export KOLLA_SOURCE_PATH=${KOLLA_SOURCE_PATH:-${base_path}/src/kolla-ansible}
|
export KOLLA_SOURCE_PATH=${KOLLA_SOURCE_PATH:-${base_path}/src/kolla-ansible}
|
||||||
export KOLLA_VENV_PATH=${KOLLA_VENV_PATH:-${base_path}/venvs/kolla-ansible}
|
# Path to the kolla virtual environment.
|
||||||
|
# NOTE: This should not be in the Vagrant shared directory, as there are
|
||||||
|
# issues with symlinks on Windows hosts.
|
||||||
|
export KOLLA_VENV_PATH=~/kolla-venv
|
||||||
|
|
Loading…
Reference in New Issue