Skip to content

Commit

Permalink
Advertise qed ips to agents and don't wait for ports internally
Browse files Browse the repository at this point in the history
  • Loading branch information
iknite committed Mar 5, 2019
1 parent 329a81f commit eed61d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions deploy/aws/provision/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@
- /var/qed/qed-stop.sh
- /var/qed/qed-start.sh
- /var/qed/exporter-start.sh
- name: wait for raised api port
wait_for:
port: 8800
- name: wait for raised mgmt port
wait_for:
port: 8700
- name: wait for raised metrics port
wait_for:
port: 8600
# - name: wait for raised api port
# wait_for:
# port: 8800
# - name: wait for raised mgmt port
# wait_for:
# port: 8700
# - name: wait for raised metrics port
# wait_for:
# port: 8600

tags:
- start-qed
Expand Down
4 changes: 2 additions & 2 deletions deploy/aws/provision/templates/qed-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ path: "/var/qed/"
server:
node_id: "{{ ansible_hostname }}"
addr:
http: ":8800"
mgmt: ":8700"
http: "{{ ansible_eth0.ipv4.address }}:8800"
mgmt: "{{ ansible_eth0.ipv4.address }}:8700"
raft: "{{ ansible_eth0.ipv4.address }}:8500"
gossip: "{{ ansible_eth0.ipv4.address }}:8400"
{% if groups.role_qed.index(inventory_hostname) != 0 %}
Expand Down

0 comments on commit eed61d2

Please sign in to comment.