Browse Source

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

Change-Id: Id6610ee9b376f74be845b43c5b6d7c5a1ca0f801
changes/00/608100/4
Kaspars Skels 3 years ago
parent
commit
908db10033
5 changed files with 80 additions and 3 deletions
  1. +0
    -1
      global/profiles/host/cp.yaml
  2. +1
    -1
      global/software/charts/ucp/ceph/chart-group-update.yaml
  3. +0
    -1
      site/airship-seaworthy/profiles/host/cp_r720.yaml
  4. +75
    -0
      site/airship-seaworthy/software/charts/ucp/ceph/ceph-osd-update.yaml
  5. +4
    -0
      site/airship-seaworthy/software/charts/ucp/ceph/ceph-osd.yaml

+ 0
- 1
global/profiles/host/cp.yaml 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


+ 1
- 1
global/software/charts/ucp/ceph/chart-group-update.yaml 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


+ 0
- 1
site/airship-seaworthy/profiles/host/cp_r720.yaml 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


+ 75
- 0
site/airship-seaworthy/software/charts/ucp/ceph/ceph-osd-update.yaml 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
...

+ 4
- 0
site/airship-seaworthy/software/charts/ucp/ceph/ceph-osd.yaml 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


Loading…
Cancel
Save