8.11. 在 director Operator 中配置外部 Ceph Storage 用量的自定义环境文件
8.11. 在 director Operator 中配置外部 Ceph Storage 用量的自定义环境文件
要与外部 Ceph Storage 集群集成,请包含一个环境文件,其参数和值与以下示例中所示类似。
resource_registry:
OS::TripleO::Services::CephExternal: deployment/ceph-ansible/ceph-external.yaml
parameter_defaults:
# needed for now because of the repo used to create tripleo-deploy image
CephAnsibleRepo: "rhelosp-ceph-4-tools"
CephAnsiblePlaybookVerbosity: 3
NovaEnableRbdBackend: true
GlanceBackend: rbd
CinderEnableRbdBackend: true
CinderBackupBackend: ceph
CinderEnableIscsiBackend: false
# Change the following values for your external ceph cluster
NovaRbdPoolName: vms
CinderRbdPoolName: volumes
CinderBackupRbdPoolName: backups
GlanceRbdPoolName: images
CephClientUserName: openstack
CephClientKey: AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ==
CephClusterFSID: 4b5c8c0a-ff60-454b-a1b4-9747aa737d19
CephExternalMonHost: 172.16.1.7, 172.16.1.8, 172.16.1.9
# Change the ContainerImageRegistryCredentials to a registry service account
# OR remove ContainerImageRegistryCredentials and set ContainerCephDaemonImage
# to a local registry not requiring authentication.
ContainerCephDaemonImage: registry.redhat.io/rhceph/rhceph-4-rhel8:latest
ContainerImageRegistryCredentials:
registry.redhat.io:
my_username: my_password
resource_registry:
OS::TripleO::Services::CephExternal: deployment/ceph-ansible/ceph-external.yaml
parameter_defaults:
# needed for now because of the repo used to create tripleo-deploy image
CephAnsibleRepo: "rhelosp-ceph-4-tools"
CephAnsiblePlaybookVerbosity: 3
NovaEnableRbdBackend: true
GlanceBackend: rbd
CinderEnableRbdBackend: true
CinderBackupBackend: ceph
CinderEnableIscsiBackend: false
# Change the following values for your external ceph cluster
NovaRbdPoolName: vms
CinderRbdPoolName: volumes
CinderBackupRbdPoolName: backups
GlanceRbdPoolName: images
CephClientUserName: openstack
CephClientKey: AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ==
CephClusterFSID: 4b5c8c0a-ff60-454b-a1b4-9747aa737d19
CephExternalMonHost: 172.16.1.7, 172.16.1.8, 172.16.1.9
# Change the ContainerImageRegistryCredentials to a registry service account
# OR remove ContainerImageRegistryCredentials and set ContainerCephDaemonImage
# to a local registry not requiring authentication.
ContainerCephDaemonImage: registry.redhat.io/rhceph/rhceph-4-rhel8:latest
ContainerImageRegistryCredentials:
registry.redhat.io:
my_username: my_password
Copy to ClipboardCopied!Toggle word wrapToggle overflow