diff options
author | Tim Rozet <trozet@redhat.com> | 2018-06-18 14:00:38 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-06-18 15:55:29 -0400 |
commit | 6b304d2e2d9addcf33ad7e7ce5481d37a6b8ee4e (patch) | |
tree | da52f4bfa270a0c8c6c6363121259e03ea9c012b /lib | |
parent | 83ef5ed70381583e1a419716cd9acbf9538074c6 (diff) |
Fixes Ceph PG calculation
Baremetal deployments were failing because the ceph PG size was
exceeding the max allowed. Virtual was still working because we lower
the number of pools and pg/osd. This patch changes the values to a
number which should work for both virtual and baremetal. Also includes a
fix which adds the controllers back as OSDs and a few other cleanup
issues.
JIRA: APEX-614
JIRA: APEX-569
Change-Id: I2ad65727ecdcaa0454eb53d25e32b7f1a53cd3a4
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/playbooks/deploy_overcloud.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/deploy_overcloud.yml b/lib/ansible/playbooks/deploy_overcloud.yml index 90c237be..53dc6994 100644 --- a/lib/ansible/playbooks/deploy_overcloud.yml +++ b/lib/ansible/playbooks/deploy_overcloud.yml @@ -57,6 +57,14 @@ owner: root group: root become: yes + - name: Insert Ceph OSDs into Controller role + lineinfile: + path: /usr/share/openstack-tripleo-heat-templates/roles_data.yaml + insertbefore: '^\s*-\sOS::TripleO::Services::CephRbdMirror$' + line: ' - OS::TripleO::Services::CephOSD' + owner: root + group: root + become: yes - name: Upload glance images shell: "{{ stackrc }} && openstack overcloud image upload" become: yes |