Skip to content

Commit

Permalink
ceph.conf and mount option updated for sd4h
Browse files Browse the repository at this point in the history
  • Loading branch information
poquirion authored Mar 19, 2024
1 parent efc26ac commit 8bc3623
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions site/profile/manifests/ceph.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
ensure => 'mounted',
fstype => 'ceph',
device => "${mon_host_string}:${export_path}",
options => "name=${share_name},secretfile=/etc/ceph/client.keyonly.${share_name}",
options => "name=${share_name},secretfile=/etc/ceph/client.keyonly.${share_name},mds_namespace=cephfs_4_2,x-systemd.device-timeout=30,x-systemd.mount-timeout=30,noatime,_netdev,rw",
require => Class['profile::ceph::client::config'],
}

Expand Down Expand Up @@ -119,9 +119,13 @@

$mon_host_string = join($mon_host, ',')
$ceph_conf = @("EOT")
admin socket = /var/run/ceph/$cluster-$name-$pid.asok

Check warning on line 122 in site/profile/manifests/ceph.pp

View workflow job for this annotation

GitHub Actions / build

variable not enclosed in {} (check: variables_not_enclosed)

Check warning on line 122 in site/profile/manifests/ceph.pp

View workflow job for this annotation

GitHub Actions / build

variable not enclosed in {} (check: variables_not_enclosed)

Check warning on line 122 in site/profile/manifests/ceph.pp

View workflow job for this annotation

GitHub Actions / build

variable not enclosed in {} (check: variables_not_enclosed)
client reconnect stale = true
debug client = 0/2
fuse big writes = true
mon host = ${mon_host_string}
[client]
client quota = true
mon host = ${mon_host_string}
| EOT

file { '/etc/ceph/ceph.conf':
Expand Down

0 comments on commit 8bc3623

Please sign in to comment.