Set ceph OSDs to use ceph-bootstrap label for genesis deployment

Change-Id: Id6610ee9b376f74be845b43c5b6d7c5a1ca0f801
This commit is contained in:
Kaspars Skels 2018-10-04 18:14:40 -05:00
parent 0170817fc2
commit 908db10033
5 changed files with 80 additions and 3 deletions

View File

@ -70,7 +70,6 @@ data:
openstack-neutron: enabled
openvswitch: enabled
ucp-barbican: enabled
ceph-bootstrap: enabled
ceph-mon: enabled
ceph-mgr: enabled
ceph-osd: enabled

View File

@ -13,7 +13,7 @@ data:
chart_group:
- ucp-ceph-ingress
- ucp-ceph-mon
- ucp-ceph-osd
- ucp-ceph-osd-update
- ucp-ceph-client-update
- ucp-ceph-provisioners
- ucp-ceph-rgw

View File

@ -203,7 +203,6 @@ data:
openstack-neutron: enabled
openvswitch: enabled
ucp-barbican: enabled
ceph-bootstrap: enabled
# ceph-mon: enabled
ceph-mgr: enabled
ceph-osd: enabled

View File

@ -0,0 +1,75 @@
---
# The purpose of this file is to define environment-specific parameters for
# ceph-osd
schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: ucp-ceph-osd-update
layeringDefinition:
abstract: false
layer: site
parentSelector:
name: ucp-ceph-osd-global
actions:
- method: replace
path: .values.conf.storage.osd
- method: merge
path: .
storagePolicy: cleartext
data:
values:
conf:
storage:
# NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list.
osd:
- data:
type: block-logical
location: /dev/sdc
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdc
- data:
type: block-logical
location: /dev/sdd
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdd
- data:
type: block-logical
location: /dev/sde
journal:
type: directory
location: /var/lib/ceph/cp/journal-sde
- data:
type: block-logical
location: /dev/sdf
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdf
- data:
type: block-logical
location: /dev/sdg
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdg
- data:
type: block-logical
location: /dev/sdh
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdh
- data:
type: block-logical
location: /dev/sdi
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdi
- data:
type: block-logical
location: /dev/sdj
journal:
type: directory
location: /var/lib/ceph/cp/journal-sdj
...

View File

@ -18,6 +18,10 @@ metadata:
storagePolicy: cleartext
data:
values:
labels:
osd:
node_selector_key: ceph-bootstrap
node_selector_value: enabled
conf:
storage:
# NEWSITE-CHANGEME: The OSD count and configuration here should not need