Skip to content

Instantly share code, notes, and snippets.

@sjenning
Last active February 11, 2020 20:02
Show Gist options
  • Save sjenning/d436905ba777e4b72b0e369465afe1a7 to your computer and use it in GitHub Desktop.
Save sjenning/d436905ba777e4b72b0e369465afe1a7 to your computer and use it in GitHub Desktop.
kolla configuration
# cat horizon/custom_local_settings
LAUNCH_INSTANCE_DEFAULTS = {
"create_volume": False,
}
SESSION_TIMEOUT = 86400
# cat designate/designate-sink.conf
[handler:nova_fixed]
zone_id = <zone-id>
formatv4 = %(hostname)s.%(zone)s
formatv6 = %(hostname)s.%(zone)s
[handler:neutron_floatingip]
zone_id = <zone-id>
formatv4 =
formatv6 =
# grep -v ^# /etc/kolla/globals.yml | grep -v ^$
---
kolla_base_distro: "centos"
kolla_install_type: "binary"
openstack_release: "train"
openstack_service_workers: 1
openstack_service_rpc_workers: 1
kolla_internal_vip_address: "10.42.10.26"
kolla_external_fqdn: "openstack.local.variantweb.net"
network_interface: "ens16f0"
neutron_external_interface: "ens16f1"
neutron_dnsmasq_dns_servers: 10.42.10.5
enable_haproxy: "no"
enable_cinder: "yes"
enable_cinder_backup: "no"
enable_cinder_backend_lvm: "yes"
enable_designate: "yes"
enable_heat: "no"
enable_swift: "yes"
enable_swift_s3api: "yes"
designate_backend: ""
designate_backend_external: "bind9"
designate_backend_external_bind9_nameservers: "10.42.10.5"
designate_ns_record: "lab.variantweb.net"
// 10.42.10.5 is the local interface on the external BIND server
// 10.42.10.26 is the IP of Openstack AIO
// Copy /etc/bind/rndc.key to /etc/kolla/config/designate/rndc.key
include "/etc/bind/rndc.key";
options {
...
allow-notify { 10.42.10.26; };
allow-new-zones yes;
...
};
controls {
inet 10.42.10.5 port 953 allow { 10.42.10.26; } keys { "rndc-key"; };
};
# cat neutron.conf
[DEFAULT]
service_plugins = router,trunk
# cat nova.conf
[DEFAULT]
use_neturon = True
dhcp_domain =
[libvirt]
cpu_mode = host-passthrough
disk_cachemodes = "file=unsafe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment