RHOSP 13 Multiple Cinder Backend

Latest response

Hello Everyone

I want to ask all of you, maybe you have experience related my problems.

I already have a rhosp 13 cluster with cinder-volume and cinder-backup using NFS backend. it runs well without obstacles.

I want to integrate existing redhat ceph 3 with glance cinder and nova service on my cluster.
The following additional configuration configuration in the deployment script:
time openstack overcloud deploy --templates \
-r ~ / templates / my_role_data.yaml \
-e ~ / templates / node-info.yaml \
-e ~ / templates / overcloud_images_13.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible-external.yaml \
-e /home/stack/templates/ceph-config.yaml \
--ntp-server 10.80.179.5 \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-management.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/neutron-ovs-dvr.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services-docker/octavia.yaml \
-e ~ / templates / cinder-backup.yaml \
-e ~ / templates / custom-cinder-ulimit.yaml \
-e ~ / templates / network-environment.yaml \
-e ~ / templates / interface-mapping.yaml \
-e ~ / templates / fencing-new.yaml \
-e ~ / templates / domain.yaml \
-e ~ / templates / timezone.yaml \
-e ~ / templates / firstboot / password.yaml \
-e ~ / templates / storage-environment.yaml \
-e ~ / templates / inject-trust-anchor-hiera.yaml \
-e ~ / templates / gnocchi.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml \
--log-file overcloud_deployment_v10-ceph.log \
--ntp-server 10.80.179.5

cat /home/stack/templates/ceph-config.yaml

default_defaults:
CephClientKey: AQBjAAxfm / IgMRAAQCySWx7f7zzcvUpr679gLw ==
CephClusterFSID: 527cdfba-f1a2-4124-b549-6ad04ab1727f
CephExternalMonHost: 10.80.182.241,10.80.182.242

$ sudo ceph -s
cluster:
id: 527cdfba-f1a2-4124-b549-6ad04ab1727f
health: HEALTH_OK

services:
mon: 2 daemons, quorum node-ceph-0, node-ceph-1
mgr: node-ceph-0 (active), standbys: node-ceph-1
osd: 14 osds: 14 up, 14 in

data:
pools: 5 pools, 160 pgs
objects: 0 objects, 0B
usage: 14.1GiB used, 125GiB / 139GiB avail
pgs: 160 active + clean

The stack update has no problems and has been completed:

2020-07-14 07: 52: 22Z [overcloud]: UPDATE_COMPLETE Stack UPDATE completed successfully

Stack overcloud UPDATE_COMPLETE

Started Mistral Workflow tripleo.deployment.v1.get_horizon_url. Execution ID: 55ac302b-6899-46de-afe2-0e1321ea079d
Overcloud Endpoint: http://10.80.169.250-05000/
Overcloud Horizon Dashboard URL: http://10.80.169.250:80/dashboard
Overcloud rc file: / home / stack / overcloudrc
Overcloud Deployed

The problem is that in the Cinder configuration there is no addition of the rbd / tripleo_ceph variable, and in the service volume it also does not exist.

$ openstack volume service list
+ ------------------ + ------------------------ + ----- - + --------- + ------- + ---------------------------- +
| Binary | Host | Zone | Status | State | Updated
+ ------------------ + ------------------------ + ----- - + --------- + ------- + ---------------------------- +
| cinder-scheduler | overcloud-controller-2 | nova | enabled | up | 2020-07-14T13: 48: 56.000000 |
| cinder-scheduler | overcloud-controller-1 | nova | enabled | up | 2020-07-14T13: 49: 00.000000 |
| cinder-scheduler | overcloud-controller-0 | nova | enabled | up | 2020-07-14T13: 49: 00.000000 |
| cinder-volume | hostgroup @ tripleo_nfs | nova | enabled | up | 2020-07-14T13: 49: 00.000000 |
| cinder-backup | overcloud-controller-0 | nova | enabled | up | 2020-07-14T13: 48: 56.000000 |
+ ------------------ + ------------------------ + ----- - + --------- + ------- + ---------------------------- +

Can you tell me a proper and correct way to integrate cinder using ceph and nfs backend?

thank you

Responses