rbd: Add leseb in TODO lines
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
6c65c87339
commit
4935df7528
@ -27,14 +27,14 @@ class privatecloud::storage::rbd::pools(
|
||||
if $setup_pools {
|
||||
|
||||
exec { 'create_glance_images_pool':
|
||||
# TODO: point PG num with a cluster variable + keyring
|
||||
# TODO(leseb): point PG num with a cluster variable + keyring
|
||||
command => "ceph osd pool create ${::glance_pool} 128 128",
|
||||
unless => "rados lspools | grep -sq ${::glance_pool}",
|
||||
require => Ceph::Key['admin'];
|
||||
}
|
||||
|
||||
exec { 'create_glance_images_user_and_key':
|
||||
# TODO: point PG num with a cluster variable + keyring
|
||||
# TODO(leseb): point PG num with a cluster variable + keyring
|
||||
command => "\
|
||||
ceph auth get-or-create client.${::glance_user} mon 'allow r' \
|
||||
osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'",
|
||||
@ -44,14 +44,14 @@ osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'",
|
||||
|
||||
|
||||
exec { 'create_cinder_volumes_pool':
|
||||
# TODO: point PG num with a cluster variable + keyring
|
||||
# TODO(leseb): point PG num with a cluster variable + keyring
|
||||
command => "/usr/bin/ceph osd pool create ${::cinder_pool} 128 128",
|
||||
unless => "/usr/bin/rados lspools | grep -sq ${::cinder_pool}",
|
||||
require => Ceph::Key['admin'];
|
||||
}
|
||||
|
||||
exec { 'create_cinder_volumes_user_and_key':
|
||||
# TODO: point PG num with a cluster variable + keyring
|
||||
# TODO(leseb): point PG num with a cluster variable + keyring
|
||||
command => "ceph auth get-or-create client.${::cinder_user} mon 'allow r' \
|
||||
osd 'allow class-read object_prefix rbd_children, allow rwx pool=${::glance_pool}, allow rx pool=${::cinder_pool}'",
|
||||
unless => "ceph auth list | egrep '^${::cinder_pool}$'",
|
||||
@ -59,7 +59,7 @@ osd 'allow class-read object_prefix rbd_children, allow rwx pool=${::glance_pool
|
||||
}
|
||||
|
||||
# exec { "create cinder backup pool":
|
||||
# # TODO: point PG num with a cluster variable + keyring
|
||||
# # TODO(leseb): point PG num with a cluster variable + keyring
|
||||
# command => "/usr/bin/ceph osd pool create ${::cinder_backup_pool} 128 128",
|
||||
# command => "\
|
||||
#ceph auth get-or-create client.${::cinder_backup_user} mon 'allow r' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user