From 8c4dce501fc2f8eeb117935cc774ce7eb87f6188 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sun, 18 Feb 2018 22:11:59 -0600 Subject: [PATCH] Armada: Update ceph deployment to correctly specify options This PS updates the armada manifests used in the gate to correctly specify the options applied. Change-Id: Ie755e5372207328363b5999f6d36268e20e7e3e8 --- .../armada/multinode/armada-ceph.yaml | 21 +++++++++++++++++++ .../armada/multinode/armada-osh.yaml | 19 +++++++++-------- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/tools/deployment/armada/multinode/armada-ceph.yaml b/tools/deployment/armada/multinode/armada-ceph.yaml index 40cff748e5..ed8cc27565 100644 --- a/tools/deployment/armada/multinode/armada-ceph.yaml +++ b/tools/deployment/armada/multinode/armada-ceph.yaml @@ -88,8 +88,29 @@ data: bootstrap: enabled: true conf: + ceph: + global: + #NOTE (portdirect): any uuidv4 value is acceptable here, though must + # be consistent if you wish to redploy whist maintaining data. + fsid: C1150D08-707D-4FEB-85E7-692BD9206DC3 rgw_ks: enabled: true + pool: + crush: + #NOTE(portdirect): set to hammer if using kernel < 4.5 + tunables: null + target: + # NOTE(portdirect): 5 nodes, with one osd per node + osd: 5 + pg_per_osd: 100 + storage: + osd: + - data: + type: directory + location: /var/lib/openstack-helm/ceph/osd/osd-one + journal: + type: directory + location: /var/lib/openstack-helm/ceph/osd/journal-one source: type: local location: ${OSH_PATH} diff --git a/tools/deployment/armada/multinode/armada-osh.yaml b/tools/deployment/armada/multinode/armada-osh.yaml index fc06a91b2b..e747a26e7f 100644 --- a/tools/deployment/armada/multinode/armada-osh.yaml +++ b/tools/deployment/armada/multinode/armada-osh.yaml @@ -82,6 +82,10 @@ data: application: ceph component: namespace-client-key-generator values: + labels: + jobs: + node_selector_key: openstack-control-plane + node_selector_value: enabled endpoints: identity: namespace: openstack @@ -89,10 +93,6 @@ data: namespace: ceph ceph_mon: namespace: ceph - labels: - jobs: - node_selector_key: openstack-control-plane - node_selector_value: enabled network: public: ${CEPH_NETWORK} cluster: ${CEPH_NETWORK} @@ -102,10 +102,15 @@ data: rbd_provisioner: false cephfs_provisioner: false client_secrets: true - rgw_user_and_endpoints: false + rgw_keystone_user_and_endpoints: false bootstrap: enabled: false conf: + ceph: + global: + #NOTE (portdirect): any uuidv4 value is acceptable here, though must + # be consistent if you wish to redploy whist maintaining data. + fsid: C1150D08-707D-4FEB-85E7-692BD9206DC3 rgw_ks: enabled: true source: @@ -338,10 +343,6 @@ data: namespace: ceph ceph_mon: namespace: ceph - labels: - rgw: - node_selector_key: ceph-rgw - node_selector_value: enabled bootstrap: enabled: false conf: