Skip to content

Instantly share code, notes, and snippets.

@v1k0d3n
Last active November 22, 2016 19:36
Show Gist options
  • Save v1k0d3n/f29b57f39ef1d7b928519a5b2ec4c994 to your computer and use it in GitHub Desktop.
Save v1k0d3n/f29b57f39ef1d7b928519a5b2ec4c994 to your computer and use it in GitHub Desktop.
bjozsa@galvatron:~$ cat /etc/kolla/globals.yml
---
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the 'kolla/ansible/group_vars/all.yml' file.
# Default value of all the commented parameters are shown here, To override
# the default value uncomment the parameter and change its value.
###################
# Kolla options
###################
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
#config_strategy: "COPY_ALWAYS"
# Valid options are [ centos, fedora, oraclelinux, ubuntu ]
kolla_base_distro: "ubuntu"
# Valid options are [ binary, source ]
kolla_install_type: "source"
# Valid option is Docker repository tag
openstack_release: "3.0.1"
# This should be a VIP, an unused IP on your network that will float between
# the hosts running keepalived for high-availability. When running an All-In-One
# without haproxy and keepalived, this should be the first IP on your
# 'network_interface' as set in the Networking section below.
#kolla_internal_vip_address: "10.10.10.254"
kolla_internal_vip_address: "192.168.70.25"
enable_haproxy: "yes"
# This is the DNS name that maps to the kolla_internal_vip_address VIP. By
# default it is the same as kolla_internal_vip_address.
#kolla_internal_fqdn: "{{ kolla_internal_vip_address }}"
kolla_internal_fqdn: "galvatron.jinkit.com"
# This should be a VIP, an unused IP on your network that will float between
# the hosts running keepalived for high-availability. It defaults to the
# kolla_internal_vip_address, allowing internal and external communication to
# share the same address. Specify a kolla_external_vip_address to separate
# internal and external requests between two VIPs.
#kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
#kolla_external_vip_address: "192.168.4.25"
kolla_external_vip_address: "172.29.236.25"
# The Public address used to communicate with OpenStack as set in the public_url
# for the endpoints that will be created. This DNS name should map to
# kolla_external_vip_address.
#kolla_external_fqdn: "{{ kolla_external_vip_address }}"
kolla_external_fqdn: "openstack.jinkit.com"
####################
# Docker options
####################
### Example: Private repository with authentication
#docker_registry: "192.168.70.25:4000"
#docker_namespace: "companyname"
#docker_registry_username: "sam"
#docker_registry_password: "correcthorsebatterystaple"
####################
# Networking options
####################
# This interface is what all your api services will be bound to by default.
# Additionally, all vxlan/tunnel and storage network traffic will go over this
# interface by default. This interface must contain an IPv4 address.
# It is possible for hosts to have non-matching names of interfaces - these can
# be set in an inventory file per host or per group or stored separately, see
# http://docs.ansible.com/ansible/intro_inventory.html
# Yet another way to workaround the naming problem is to create a bond for the
# interface on all hosts and give the bond name here. Similar strategy can be
# followed for other types of interfaces.
network_interface: "em1"
# These can be adjusted for even more customization. The default is the same as
# the 'network_interface'. These interfaces must contain an IPv4 address.
#kolla_external_vip_interface: "{{ network_interface }}"
#api_interface: "{{ network_interface }}"
#storage_interface: "{{ network_interface }}"
#cluster_interface: "{{ network_interface }}"
#tunnel_interface: "{{ network_interface }}"
# This is the raw interface given to neutron as its external network port. Even
# though an IP address can exist on this interface, it will be unusable in most
# configurations. It is recommended this interface not be configured with any IP
# addresses for that reason.
#neutron_external_interface: "em2"
neutron_external_interface: "br-kolla"
# Valid options are [ openvswitch, linuxbridge ]
neutron_plugin_agent: "openvswitch"
####################
# keepalived options
####################
# Arbitrary unique number from 0..255
#keepalived_virtual_router_id: "51"
####################
# TLS options
####################
# To provide encryption and authentication on the kolla_external_vip_interface,
# TLS can be enabled. When TLS is enabled, certificates must be provided to
# allow clients to perform authentication.
kolla_enable_tls_external: "yes"
#kolla_external_fqdn_cert: "{{ node_config_directory }}/certificates/haproxy.pem"
####################
# OpenStack options
####################
# Use these options to set the various log levels across all OpenStack projects
# Valid options are [ True, False ]
#openstack_logging_debug: "False"
# Valid options are [ novnc, spice ]
#nova_console: "novnc"
# OpenStack services can be enabled or disabled with these options
#enable_aodh: "no"
#enable_barbican: "no"
#enable_ceilometer: "no"
#enable_central_logging: "yes"
#enable_ceph: "no"
#enable_ceph_rgw: "no"
#enable_cinder: "no"
#enable_cinder_backend_iscsi: "no"
#enable_cinder_backend_lvm: "no"
#enable_cloudkitty: "no"
#enable_congress: "no"
#enable_etcd: "no"
#enable_gnocchi: "no"
#enable_grafana: "no"
enable_heat: "yes"
enable_horizon: "yes"
#enable_influxdb: "no"
#enable_ironic: "no"
#enable_kuryr: "no"
#enable_magnum: "yes"
#enable_manila: "no"
#enable_mistral: "no"
#enable_mongodb: "no"
#enable_murano: "no"
#enable_multipathd: "no"
#enable_neutron_dvr: "no"
#enable_neutron_lbaas: "yes"
#enable_neutron_qos: "no"
#enable_neutron_agent_ha: "no"
#enable_neutron_vpnaas: "no"
#enable_rally: "no"
#enable_sahara: "no"
#enable_senlin: "no"
#enable_swift: "no"
#enable_telegraf: "no"
#enable_tempest: "no"
#enable_watcher: "no"
###################
# Ceph options
###################
# Ceph can be setup with a caching to improve performance. To use the cache you
# must provide separate disks than those for the OSDs
#ceph_enable_cache: "no"
# Valid options are [ forward, none, writeback ]
#ceph_cache_mode: "writeback"
# A requirement for using the erasure-coded pools is you must setup a cache tier
# Valid options are [ erasure, replicated ]
#ceph_pool_type: "replicated"
#######################
# Keystone options
#######################
# Valid options are [ uuid, fernet ]
#keystone_token_provider: 'uuid'
# Interval to rotate fernet keys by (in seconds). Must be an interval of
# 60(1 min), 120(2 min), 180(3 min), 240(4 min), 300(5 min), 360(6 min),
# 600(10 min), 720(12 min), 900(15 min), 1200(20 min), 1800(30 min),
# 3600(1 hour), 7200(2 hour), 10800(3 hour), 14400(4 hour), 21600(6 hour),
# 28800(8 hour), 43200(12 hour), 86400(1 day), 604800(1 week).
#fernet_token_expiry: 86400
#######################
# Glance options
#######################
# Configure image backend.
#glance_backend_file: "yes"
#glance_backend_ceph: "no"
#######################
# Ceilometer options
#######################
# Valid options are [ mongodb, mysql, gnocchi ]
#ceilometer_database_type: "mongodb"
#######################
# Gnocchi options
#######################
# Valid options are [ file, ceph ]
#gnocchi_backend_storage: "{{ 'ceph' if enable_ceph|bool else 'file' }}"
#######################
# Cinder options
#######################
# Enable / disable Cinder backends
#cinder_backend_ceph: "{{ enable_ceph }}"
#cinder_volume_group: "cinder-volumes"
#######################
# Nova options
#######################
#nova_backend_ceph: "{{ enable_ceph }}"
#######################
# Horizon options
#######################
#horizon_backend_database: "no"
#######################################
# Manila - Shared File Systems Options
#######################################
# Valid options are [ True, False ]
#driver_handles_share_servers: "True"
##################################
# Swift - Object Storage Options
##################################
# Swift expects block devices to be available for storage. Two types of storage
# are supported: 1 - storage device with a special partition name and filesystem
# label, 2 - unpartitioned disk with a filesystem. The label of this filesystem
# is used to detect the disk which Swift will be using.
# Swift support two mathcing modes, valid options are [ prefix, strict ]
#swift_devices_match_mode: "strict"
# This parameter defines matching pattern: if "strict" mode was selected,
# for swift_devices_match_mode then swift_device_name should specify the name of
# the special swift partition for example: "KOLLA_SWIFT_DATA", if "prefix" mode was
# selected then swift_devices_name should specify a pattern which would match to
# filesystems' labels prepared for swift.
#swift_devices_name: "KOLLA_SWIFT_DATA"
################################################
# Tempest - The OpenStack Integration Test Suite
################################################
# following value must be set when enable tempest
tempest_image_id:
tempest_flavor_ref_id:
tempest_public_network_id:
tempest_floating_network_name:
# tempest_image_alt_id: "{{ tempest_image_id }}"
# tempest_flavor_ref_alt_id: "{{ tempest_flavor_ref_id }}"
bjozsa@galvatron:~$
bjozsa@galvatron:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Default Networking:
auto em1
iface em1 inet static
address 192.168.70.20
netmask 255.255.255.0
network 192.168.70.0
broadcast 192.168.70.255
gateway 192.168.70.1
dns-nameservers 192.168.1.70
dns-search jinkit.com
#
#auto em2
#iface em2 inet manual
# up ifconfig em2 up
# When you want to flip internal/external networking:
#auto em1
#iface em1 inet manual
# up ifconfig em1 up
#
#auto em2
#iface em2 inet static
# address 192.168.4.20
# netmask 255.255.252.0
# network 192.168.4.0
# broadcast 192.168.7.255
# gateway 192.168.4.1
# dns-nameservers 192.168.1.70
# dns-search jinkit.com
# Bridge for vlan network
# -----------------------
# Used by all compute and network nodes
# The IP address on this device is optional
auto br-kolla
iface br-kolla inet static
pre-up ip link add br-kolla-veth type veth peer name eth12 || true # Create veth pair
pre-up ip link set br-kolla-veth up # Set the veth UP
pre-up ip link set eth12 up # Set the veth UP
post-down ip link del br-kolla-veth || true # Delete veth pair on DOWN
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports em2 br-kolla-veth # Notice this bridge port is an Untagged host interface
offload-sg off
address 192.168.4.20
netmask 255.255.252.0
gateway 192.168.4.1
dns-nameservers 8.8.8.8 8.8.4.4
# Tagged vlan network interfaces
# ------------------------------
# Used in various bridges
auto br-kolla.101
iface br-kolla.101 inet manual
vlan-raw-device br-kolla
vlan_id 101
auto br-kolla.102
iface br-kolla.102 inet manual
vlan-raw-device br-kolla
vlan_id 102
auto br-kolla.103
iface br-kolla.103 inet manual
vlan-raw-device br-kolla
vlan_id 103
# Bridge for vxlan network
# ------------------------
# Used by all compute and network nodes
auto br-vxlan
iface br-vxlan inet manual
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports br-kolla.101 # Notice the bridge port is the vlan tagged interface
offload-sg off
address 172.29.240.20
netmask 255.255.252.0
dns-nameservers 8.8.8.8 8.8.4.4
# Bridge for management network
# -----------------------------
# Used by all nodes
auto br-mgmt
iface br-mgmt inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports br-kolla.102 # Notice the bridge port is the vlan tagged interface
offload-sg off
address 172.29.236.20
netmask 255.255.252.0
gateway 172.29.236.1
dns-nameservers 8.8.8.8 8.8.4.4
# Bridge for storage network
# --------------------------
# Used by all compute and storage nodes
auto br-storage
iface br-storage inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports br-kolla.103 # Notice the bridge port is the vlan tagged interface
offload-sg off
address 172.29.244.20
netmask 255.255.252.0
gateway 172.29.244.1
dns-nameservers 8.8.8.8 8.8.4.4
# Source other interface files that may be found
# ----------------------------------------------
source /etc/network/interfaces.d/*.cfg
bjozsa@galvatron:~$
bjozsa@galvatron:~$ ifconfig
br-kolla Link encap:Ethernet HWaddr ec:f4:bb:db:5d:a9
inet addr:192.168.4.20 Bcast:192.168.7.255 Mask:255.255.252.0
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:253459 errors:0 dropped:0 overruns:0 frame:0
TX packets:2102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:353759124 (353.7 MB) TX bytes:217432 (217.4 KB)
br-kolla-veth Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:2786 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:648 (648.0 B) TX bytes:12108352 (12.1 MB)
br-kolla.101 Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1296 (1.2 KB)
br-kolla.102 Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:250824 errors:0 dropped:0 overruns:0 frame:0
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:341702846 (341.7 MB) TX bytes:3186 (3.1 KB)
br-kolla.103 Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1296 (1.2 KB)
br-mgmt Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet addr:172.29.236.20 Bcast:172.29.239.255 Mask:255.255.252.0
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:250824 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:341702132 (341.7 MB) TX bytes:2538 (2.5 KB)
br-storage Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet addr:172.29.244.20 Bcast:172.29.247.255 Mask:255.255.252.0
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)
br-vxlan Link encap:Ethernet HWaddr fa:49:3f:c4:8f:d3
inet6 addr: fe80::f849:3fff:fec4:8fd3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)
docker0 Link encap:Ethernet HWaddr 02:42:86:97:78:06
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
em1 Link encap:Ethernet HWaddr ec:f4:bb:db:5d:a8
inet addr:192.168.70.20 Bcast:192.168.70.255 Mask:255.255.255.0
inet6 addr: fe80::eef4:bbff:fedb:5da8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12795 errors:0 dropped:0 overruns:0 frame:0
TX packets:217407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6981036 (6.9 MB) TX bytes:45883776 (45.8 MB)
Memory:91d00000-91dfffff
em2 Link encap:Ethernet HWaddr ec:f4:bb:db:5d:a9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:260160 errors:0 dropped:0 overruns:0 frame:0
TX packets:2062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:357749732 (357.7 MB) TX bytes:214016 (214.0 KB)
Memory:91c00000-91cfffff
eth12 Link encap:Ethernet HWaddr d6:15:81:63:fe:19
inet6 addr: fe80::d415:81ff:fe63:fe19/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2786 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12108352 (12.1 MB) TX bytes:648 (648.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6521056 errors:0 dropped:0 overruns:0 frame:0
TX packets:6521056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1969281009 (1.9 GB) TX bytes:1969281009 (1.9 GB)
bjozsa@galvatron:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment