diff options
| author | wu.chunyang <wuchunyang@yovole.com> | 2020-07-09 15:28:50 +0800 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-10-02 14:05:00 +0200 |
| commit | 4a58f4238c46c7b95395f07be74a4d729acdc09c (patch) | |
| tree | c9683830741e813a8306a707f81460fb0f20b3d7 /etc | |
| parent | 5a65bd7bf6e4e9648a713cbb6311a269db9fb4c8 (diff) | |
| download | kolla-ansible-4a58f4238c46c7b95395f07be74a4d729acdc09c.tar.gz kolla-ansible-4a58f4238c46c7b95395f07be74a4d729acdc09c.zip | |
Implement automatic deploy of octavia
this patchset has implemented:
- network (lb-mgmt-net)
- security groups and rules (used by amphora and health manager)
- amphora flavor (used by amphora)
- nova keypair (used by amphora at the time of debugging)
Add a octavia_amp_listen_port variable which used by amphora
Add amp_image_owner_id in octavia.conf
Implements: blueprint implement-automatic-deploy-of-octavia
Co-Authored-By: zhangchun <zhangchun@yovole.com>
Depends-On: https://review.opendev.org/652030
Change-Id: I67009d046925cfc02c1e0073c80085c1471975f6
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/kolla/globals.yml | 80 | ||||
| -rw-r--r-- | etc/kolla/passwords.yml | 4 |
2 files changed, 84 insertions, 0 deletions
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index f1b5336b3..d1cb1ff22 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -666,3 +666,83 @@ # Configure telegraf to use the docker daemon itself as an input for # telemetry data. #telegraf_enable_docker_input: "no" + +########################################## +# Octavia - openstack loadbalancer Options +########################################## +# Whether to run Kolla-Ansible's automatic configuration for Octavia. +# NOTE: if you upgrade from Ussuri, you must set `octavia_auto_configure` to `no` +# and keep your other Octavia config like before. +#octavia_auto_configure: yes + +# Octavia amphora flavor. +# See os_nova_flavor for details. Supported parameters: +# - flavorid (optional) +# - is_public (optional) +# - name +# - vcpus +# - ram +# - disk +# - ephemeral (optional) +# - swap (optional) +# - extra_specs (optional) +#octavia_amp_flavor: +# name: "amphora" +# is_public: no +# vcpus: 1 +# ram: 1024 +# disk: 5 + +# Octavia security groups. lb-mgmt-sec-grp is for amphorae. +#octavia_amp_security_groups: +# mgmt-sec-grp: +# name: "lb-mgmt-sec-grp" +# rules: +# - protocol: icmp +# - protocol: tcp +# src_port: 22 +# dst_port: 22 +# - protocol: tcp +# src_port: "{{ octavia_amp_listen_port }}" +# dst_port: "{{ octavia_amp_listen_port }}" + +# Octavia management network. +# See os_network and os_subnet for details. Supported parameters: +# - external (optional) +# - mtu (optional) +# - name +# - provider_network_type (optional) +# - provider_physical_network (optional) +# - provider_segmentation_id (optional) +# - shared (optional) +# - subnet +# The subnet parameter has the following supported parameters: +# - allocation_pool_start (optional) +# - allocation_pool_start (optional) +# - cidr +# - enable_dhcp (optional) +# - gateway_ip (optional) +# - name +# - no_gateway_ip (optional) +#octavia_amp_network: +# name: lb-mgmt-net +# shared: false +# subnet: +# name: lb-mgmt-subnet +# cidr: "{{ octavia_amp_network_cidr }}" +# no_gateway_ip: yes +# enable_dhcp: yes + +# Octavia management network subnet CIDR. +#octavia_amp_network_cidr: 10.0.0.0/24 + +#octavia_amp_image_tag: "amphora" + +# Load balancer topology options are [ SINGLE, ACTIVE_STANDBY ] +#octavia_loadbalancer_topology: "SINGLE" + +# The following variables are ignored as along as `octavia_auto_configure` is set to `yes`. +#octavia_amp_image_owner_id: +#octavia_amp_boot_network_list: +#octavia_amp_secgroup_list: +#octavia_amp_flavor_id: diff --git a/etc/kolla/passwords.yml b/etc/kolla/passwords.yml index c2007b07a..902d8d1d6 100644 --- a/etc/kolla/passwords.yml +++ b/etc/kolla/passwords.yml @@ -209,6 +209,10 @@ bifrost_ssh_key: private_key: public_key: +octavia_amp_ssh_key: + private_key: + public_key: + #################### # Gnocchi options #################### |
