Skip to content
Snippets Groups Projects
Commit 3f2a5bda authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add a cluster_network interface when we use ceph"

parents 8bf2017b b071bb22
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,7 @@ keepalived_virtual_router_id: "51" ...@@ -79,6 +79,7 @@ keepalived_virtual_router_id: "51"
kolla_external_vip_interface: "{{ network_interface }}" kolla_external_vip_interface: "{{ network_interface }}"
api_interface: "{{ network_interface }}" api_interface: "{{ network_interface }}"
storage_interface: "{{ network_interface }}" storage_interface: "{{ network_interface }}"
cluster_interface: "{{ network_interface }}"
tunnel_interface: "{{ network_interface }}" tunnel_interface: "{{ network_interface }}"
# Valid options are [ openvswitch, linuxbridge ] # Valid options are [ openvswitch, linuxbridge ]
......
{ {
"command": "/usr/bin/ceph-osd -f -d", "command": "/usr/bin/ceph-osd -f -d --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --cluster-addr {{ hostvars[inventory_hostname]['ansible_' + cluster_interface]['ipv4']['address'] }}",
"config_files": [ "config_files": [
{ {
"source": "{{ container_config_directory }}/ceph.conf", "source": "{{ container_config_directory }}/ceph.conf",
......
...@@ -65,6 +65,7 @@ network_interface: "eth0" ...@@ -65,6 +65,7 @@ network_interface: "eth0"
#kolla_external_vip_interface: "{{ network_interface }}" #kolla_external_vip_interface: "{{ network_interface }}"
#api_interface: "{{ network_interface }}" #api_interface: "{{ network_interface }}"
#storage_interface: "{{ network_interface }}" #storage_interface: "{{ network_interface }}"
#cluster_interface: "{{ network_interface }}"
#tunnel_interface: "{{ network_interface }}" #tunnel_interface: "{{ network_interface }}"
# This is the raw interface given to neutron as its external network port. Even # This is the raw interface given to neutron as its external network port. Even
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment