Enable Cinder volume backups
To properly enable Cinder volume backup, the following configuration changes are required: - For Cinder, enable 'CephBackupDriver' as the Cinder backup_driver and 'cinder' as the rbd_user for each Cinder backend - For libvirt, enable Ceph and use 'cinder-volume-rbd-keyring' for the Ceph client user secret. This will create a libvirt secret that will be used with the 'cinder' user. - For nova, enable the rbd_secret_uuid shared with libvirt and set the 'rbd_user' to cinder. - Update the chart group initialization sequence, so that 'openstack-cinder' is initialized prior to 'openstack-compute-kit'. This is done because 'cinder-volume-rbd-keyring' is created by Cinder and is required by libvirt to successfully initialize. With these configuration changes: - Cinder volumes were created - Cinder volumes were backed up - Instances were booted by volume (from Cinder) - Instances were booted by image (from Ceph ephemeral disks) Change-Id: I29c7d3ed118f4a6726f2ea887a165f256bc32fd5 Depends-On: https://review.opendev.org/#/c/664619/ Story: 2004520 Task: 28266 Signed-off-by: Robert Church <robert.church@windriver.com>
This commit is contained in:
parent
c1fc224833
commit
1eb01d6656
|
@ -1,4 +1,4 @@
|
|||
SRC_DIR="stx-openstack-helm"
|
||||
COPY_LIST_TO_TAR="$PKG_BASE/../../../helm-charts/garbd \
|
||||
$PKG_BASE/../../../helm-charts/clients"
|
||||
TIS_PATCH_VER=14
|
||||
TIS_PATCH_VER=15
|
|
@ -684,7 +684,7 @@ data:
|
|||
conf:
|
||||
cinder:
|
||||
DEFAULT:
|
||||
backup_driver: cinder.backup.drivers.swift
|
||||
backup_driver: cinder.backup.drivers.ceph.CephBackupDriver
|
||||
storage: rbd
|
||||
source:
|
||||
type: tar
|
||||
|
@ -711,12 +711,16 @@ data:
|
|||
upgrade:
|
||||
no_hooks: false
|
||||
values:
|
||||
ceph_client:
|
||||
user_secret_name: cinder-volume-rbd-keyring
|
||||
labels:
|
||||
agent:
|
||||
libvirt:
|
||||
node_selector_key: openstack-compute-node
|
||||
node_selector_value: enabled
|
||||
conf:
|
||||
ceph:
|
||||
enabled: true
|
||||
kubernetes:
|
||||
cgroup: "k8s-infra"
|
||||
images:
|
||||
|
@ -929,8 +933,7 @@ data:
|
|||
live_migration_completion_timeout: 180
|
||||
live_migration_permit_auto_converge: true
|
||||
mem_stats_period_seconds: 0
|
||||
rbd_secret_uuid: null
|
||||
rbd_user: null
|
||||
rbd_user: cinder
|
||||
# Allow up to 1 day for resize conf
|
||||
remove_unused_resized_minimum_age_seconds: 86400
|
||||
database:
|
||||
|
@ -3242,9 +3245,9 @@ data:
|
|||
- openstack-clients
|
||||
- openstack-barbican
|
||||
- openstack-glance
|
||||
- openstack-cinder
|
||||
- openstack-ceph-rgw
|
||||
- openstack-compute-kit
|
||||
- openstack-heat
|
||||
- openstack-horizon
|
||||
- openstack-cinder
|
||||
- openstack-telemetry
|
||||
|
|
Loading…
Reference in New Issue