JIRA: COMPASS-238
- forget to change network from public install to mgmt
Change-Id: I7a4540809782a391ac04e92811e837b32a67a0b2
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
- hosts: ceph_adm
remote_user: root
accelerate: true
- roles: []
- #- ceph-deploy
+ roles:
+ - ceph-deploy
- hosts: all
remote_user: root
- create_ceph_cluster
- name: default config for ceph
- shell: cd {{ ceph_cluster_dir[0] }} && echo "osd_journal_size = 1024" >> ceph.conf && echo "osd_pool_default_size = 2" >> ceph.conf && echo "public_network = {{ public_cidr }}" >> ceph.conf && echo "cluster_network = {{ storage_cidr }} " >> ceph.conf
+ shell: cd {{ ceph_cluster_dir[0] }} && echo "osd_journal_size = 1024" >> ceph.conf && echo "osd_pool_default_size = 2" >> ceph.conf && echo "public_network = {{ mgmt_cidr }}" >> ceph.conf && echo "cluster_network = {{ storage_cidr }} " >> ceph.conf
- name: install ceph for every nodes includes jumpserver
shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy install {{ ceph_cluster_hosts.stdout_lines[0]}}
onos_nic: eth2
public_net_info:
- enable: True
+ enable: True
network: ext-net
type: flat
segment_id: 1000