Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs only one amp in an AIO #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion playbooks/rpc-octavia-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
{% endif %}

# Octavia HA settings
octavia_loadbalancer_topology: ACTIVE_STANDBY
octavia_loadbalancer_topology: {{ octavia_loadbalancer_topology }}
octavia_spare_amphora_pool_size: 0
octavia_enable_anti_affinity: {{ lookup('env', 'DEPLOY_AIO') != "yes" }}
# make TRUE to gain SSH access to the amphora
Expand Down
2 changes: 2 additions & 0 deletions playbooks/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ download_artefact: True
octavia_artefact_url: http://rpc-repo.rackspace.com//images/amphora/r14.3.0/amphora-x64-haproxy.qcow2
octavia_amp_image_path: /root/amphora-x64-haproxy-r14.3.0.qcow2
octavia_amp_artefact_version: r14.3.0
octavia_loadbalancer_topology: "{{ 'SINGLE' if lookup('env', 'DEPLOY_AIO') == 'yes' else 'ACTIVE_STANDBY' }}"

octavia_ca_private_key: "{{ cert_dir }}/private/cakey.pem"
octavia_ca_private_key_passphrase: "{{ cert_password_client }}"
octavia_ca_certificate: "{{ cert_dir }}/ca_server_01.pem"
octavia_client_ca: "{{ cert_dir }}/ca_01.pem"
octavia_client_cert: "{{ cert_dir }}/client.pem"


neutron_octavia_request_poll_timeout: "{{ '1000' if lookup('env', 'DEPLOY_AIO') == 'yes' else '100' }}"
octavia_git_install_commit: cc81360c5e054663126e1df704cec2b7635cc5d3 #Head of Octavia stable/pike as of 4.6.2018
requirements_git_install_branch: 188248aab9bb834023a6cbe2f5e488e30e6046a3 #HEAD of "stable/pike" as of 23.3.2018
Expand Down